summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2015-07-24 17:34:30 +0200
committerMichael Vogt <mvo@ubuntu.com>2015-07-24 17:34:30 +0200
commit3b216cf6b6e082b7de4dfece65601a96d269d529 (patch)
treeda4f87625817bc1d1ec589291d331528e55ccbd6 /debian
parent439b024abe8fd6b8227a8b2869aab65a1186cfda (diff)
updated for the gcc5 transition
Diffstat (limited to 'debian')
-rw-r--r--debian/control6
-rw-r--r--debian/libapt-inst1.7.install.in (renamed from debian/libapt-inst1.5.install.in)0
-rw-r--r--debian/libapt-inst1.7.symbols (renamed from debian/libapt-inst1.5.symbols)2
-rw-r--r--debian/libapt-pkg4.16.install.in (renamed from debian/libapt-pkg4.12.install.in)0
-rw-r--r--debian/libapt-pkg4.16.symbols (renamed from debian/libapt-pkg4.12.symbols)2
-rwxr-xr-xdebian/rules6
6 files changed, 10 insertions, 6 deletions
diff --git a/debian/control b/debian/control
index 0437aa737..eaefc1d31 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: dpkg-dev (>= 1.15.8), debhelper (>= 8.1.3~), libdb-dev,
gettext (>= 0.12), libcurl4-gnutls-dev (>= 7.19.4~),
zlib1g-dev, libbz2-dev, liblzma-dev,
xsltproc, docbook-xsl, docbook-xml, po4a (>= 0.34-2),
- autotools-dev, autoconf, automake, libgtest-dev
+ autotools-dev, autoconf, automake, libgtest-dev,
Build-Depends-Indep: doxygen, w3m, graphviz
Build-Conflicts: autoconf2.13, automake1.4
Vcs-Git: git://anonscm.debian.org/apt/apt.git
@@ -38,7 +38,7 @@ Description: commandline package manager
* apt-config as an interface to the configuration settings
* apt-key as an interface to manage authentication keys
-Package: libapt-pkg4.12
+Package: libapt-pkg4.16
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
@@ -61,7 +61,7 @@ Description: package management runtime library
http, rsh as well as an interface to add more transports like
https (apt-transport-https) and debtorrent (apt-transport-debtorrent).
-Package: libapt-inst1.5
+Package: libapt-inst1.7
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
diff --git a/debian/libapt-inst1.5.install.in b/debian/libapt-inst1.7.install.in
index 8bcce2c28..8bcce2c28 100644
--- a/debian/libapt-inst1.5.install.in
+++ b/debian/libapt-inst1.7.install.in
diff --git a/debian/libapt-inst1.5.symbols b/debian/libapt-inst1.7.symbols
index 8ce707287..d52b36ee1 100644
--- a/debian/libapt-inst1.5.symbols
+++ b/debian/libapt-inst1.7.symbols
@@ -1,4 +1,4 @@
-libapt-inst.so.1.5 libapt-inst1.5 #MINVER#
+libapt-inst.so.1.7 libapt-inst1.7 #MINVER#
* Build-Depends-Package: libapt-pkg-dev
(c++)"ExtractTar::Done(bool)@Base" 0.8.0
(c++)"ExtractTar::Go(pkgDirStream&)@Base" 0.8.0
diff --git a/debian/libapt-pkg4.12.install.in b/debian/libapt-pkg4.16.install.in
index 56bed39d3..56bed39d3 100644
--- a/debian/libapt-pkg4.12.install.in
+++ b/debian/libapt-pkg4.16.install.in
diff --git a/debian/libapt-pkg4.12.symbols b/debian/libapt-pkg4.16.symbols
index d481e51ed..f11871c28 100644
--- a/debian/libapt-pkg4.12.symbols
+++ b/debian/libapt-pkg4.16.symbols
@@ -1,4 +1,4 @@
-libapt-pkg.so.4.12 libapt-pkg4.12 #MINVER#
+libapt-pkg.so.4.16 libapt-pkg4.16 #MINVER#
* Build-Depends-Package: libapt-pkg-dev
TFRewritePackageOrder@Base 0.8.0
TFRewriteSourceOrder@Base 0.8.0
diff --git a/debian/rules b/debian/rules
index f031cfddb..8805ab870 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,11 @@ ifneq (,$(shell which dpkg-buildflags))
# make does not export to $(shell) so we need to workaround
# (http://savannah.gnu.org/bugs/?10593)
dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags
- export CXXFLAGS = $(shell $(dpkg_buildflags) --get CXXFLAGS)
+
+ # workaround gcc-5 compile error
+ # (see https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1473674)
+ export CXXFLAGS = $(subst -O3,-O2,$(shell $(dpkg_buildflags) --get CXXFLAGS))
+
export LDFLAGS = $(shell $(dpkg_buildflags) --get LDFLAGS)
export CPPFLAGS = $(shell $(dpkg_buildflags) --get CPPFLAGS)
else