Bug#768037: unblock: magics++/2.22.7.dfsg.1-4
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package magics++
This package fixes an RC bug #766832 on mipsel by adding -fPIC.
unblock magics++/2.22.7.dfsg.1-4
-- System Information:
Debian Release: 7.6
APT prefers stable
APT policy: (500, 'stable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to ga_IE.UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Nru magics++-2.22.7.dfsg.1/debian/changelog magics++-2.22.7.dfsg.1/debian/changelog
--- magics++-2.22.7.dfsg.1/debian/changelog 2014-10-17 20:42:05.000000000 +0100
+++ magics++-2.22.7.dfsg.1/debian/changelog 2014-10-31 06:08:16.000000000 +0000
@@ -1,3 +1,9 @@
+magics++ (2.22.7.dfsg.1-4) unstable; urgency=medium
+
+ * Build -fPIC for mipsel. Closes: #766832
+
+ -- Alastair McKinstry <mckinstry@debian.org> Thu, 30 Oct 2014 19:17:49 +0000
+
magics++ (2.22.7.dfsg.1-3) unstable; urgency=medium
* Ship all header files in /usr/include/magics.
diff -Nru magics++-2.22.7.dfsg.1/debian/rules magics++-2.22.7.dfsg.1/debian/rules
--- magics++-2.22.7.dfsg.1/debian/rules 2014-10-17 20:42:05.000000000 +0100
+++ magics++-2.22.7.dfsg.1/debian/rules 2014-10-30 19:20:32.000000000 +0000
@@ -4,7 +4,7 @@
# To enable all, uncomment following line
# DEB_BUILD_MAINT_OPTIONS:= hardening=+all,-pie
-CXXFLAGS:= $(shell dpkg-buildflags --get CXXFLAGS)
+CXXFLAGS:= -fPIC $(shell dpkg-buildflags --get CXXFLAGS)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# Uncomment this to turn on verbose mode.
@@ -109,7 +109,7 @@
override_dh_auto_install:
# call configure to rebuild swig/Makefile with correct python version.
-# LDFLAGS="$(LDFLAGS) -L$(shell pwd)/src/.libs -Wl,--as-needed" ;
+# LDFLAGS="-fPIC $(LDFLAGS) -L$(shell pwd)/src/.libs -Wl,--as-needed" ;
$(MAKE) -C debian/build/python/Magics clean install PYTHON_INCLUDE_DIR=/usr/include/python2.7 \
DESTDIR=$(CURDIR)/debian/python-magics++ \ MAGPLUS_HOME=$(CURDIR)
dh_auto_install
Reply to: