Package: pdb2pqr
Version: 1.7-2
Severity: important
Tags: patch

According to

https://buildd.debian.org/status/package.php?p=pdb2pqr&suite=sid

The package fails on armhf and mips* platforms. Adding -fPIC to
CXXFLAGS as well seems to fix it at least for armhf. Patch attached.

Konstantinos
diff -ruN pdb2pqr-1.7/debian/rules pdb2pqr-1.7.fpic/debian/rules
--- pdb2pqr-1.7/debian/rules	2011-08-30 22:17:47.000000000 +0000
+++ pdb2pqr-1.7.fpic/debian/rules	2012-01-02 14:16:25.042297970 +0000
@@ -10,7 +10,7 @@
 
 # Compile with -fPIC on all platforms (fix for #636204)
 override_dh_auto_configure:
-	dh_auto_configure -- CFLAGS="$(dpkg-buildflags --get CFLAGS) -fPIC" FFLAGS="$(dpkg-buildflags --get FFLAGS) -fPIC"
+	dh_auto_configure -- CFLAGS="$(dpkg-buildflags --get CFLAGS) -fPIC" FFLAGS="$(dpkg-buildflags --get FFLAGS) -fPIC" CXXFLAGS="$(dpkg-buildflags --get CXXFLAGS) -fPIC"
 
 # Disable tests, as they need an internet connection to download files
 override_dh_auto_test:

Reply via email to