Package: libechonest
Version: 1.1.9-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch precise
libechonest relies on the default CFLAGS exported by dpkg-buildpackage
to build with debugging symbols. However, as of dpkg 1.16.1,
dpkg-buildpackage no longer exports these, and packages should fetch
them for themselves. dh_auto_build already does that in debhelper
compat level 9, but only if the flags aren't already exported in
debian/rules.
* Use DEB_CXXFLAGS_MAINT_APPEND to avoid losing default compiler flags
when built with dpkg >= 1.16.1.
diff -Nru libechonest-1.1.9/debian/control libechonest-1.1.9/debian/control
--- libechonest-1.1.9/debian/control 2011-09-25 13:48:13.000000000 -0400
+++ libechonest-1.1.9/debian/control 2011-11-01 18:52:33.000000000 -0400
@@ -1,7 +1,7 @@
Source: libechonest
Priority: extra
Maintainer: Lisandro Damián Nicanor Pérez Meyer <[email protected]>
-Build-Depends: debhelper (>= 8.1.3), cmake, libqt4-dev, libqjson-dev,
+Build-Depends: dpkg (>= 1.16.1~), debhelper (>= 8.1.3), cmake, libqt4-dev,
libqjson-dev,
pkg-config, pkg-kde-tools (>= 0.6~)
Standards-Version: 3.9.2
Section: libs
diff -Nru libechonest-1.1.9/debian/rules libechonest-1.1.9/debian/rules
--- libechonest-1.1.9/debian/rules 2011-10-03 19:52:51.000000000 -0400
+++ libechonest-1.1.9/debian/rules 2011-11-01 17:55:36.000000000 -0400
@@ -4,7 +4,7 @@
#export DH_VERBOSE=1
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-export CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
+export DEB_CXXFLAGS_MAINT_APPEND := -fvisibility=hidden
-fvisibility-inlines-hidden
%:
dh $@ --dbg-package=libechonest-dbg --parallel
--with=pkgkde-symbolshelper
Thanks,
--
Colin Watson [[email protected]]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]