r44116 - in /packages/ipe/trunk/debian: changelog patches/fPIC.patch patches/series

smr at users.alioth.debian.org smr at users.alioth.debian.org
Sat Dec 10 22:38:41 UTC 2011


Author: smr
Date: Sat Dec 10 22:38:40 2011
New Revision: 44116

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44116
Log:
Build using -fPIC (not -fpic); fixes build failure for s390x.

Added:
    packages/ipe/trunk/debian/patches/fPIC.patch
Modified:
    packages/ipe/trunk/debian/changelog
    packages/ipe/trunk/debian/patches/series

Modified: packages/ipe/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ipe/trunk/debian/changelog?rev=44116&op=diff
==============================================================================
--- packages/ipe/trunk/debian/changelog (original)
+++ packages/ipe/trunk/debian/changelog Sat Dec 10 22:38:40 2011
@@ -1,3 +1,10 @@
+ipe (7.1.0-2) unstable; urgency=low
+
+  * debian/patches/fPIC.patch: New.  Build using -fPIC instead of -fpic.
+    Closes: #641082.
+
+ -- Steve M. Robbins <smr at debian.org>  Sat, 10 Dec 2011 16:32:24 -0600
+
 ipe (7.1.0-1) unstable; urgency=low
 
   * New upstream version.

Added: packages/ipe/trunk/debian/patches/fPIC.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ipe/trunk/debian/patches/fPIC.patch?rev=44116&op=file
==============================================================================
--- packages/ipe/trunk/debian/patches/fPIC.patch (added)
+++ packages/ipe/trunk/debian/patches/fPIC.patch Sat Dec 10 22:38:40 2011
@@ -1,0 +1,21 @@
+Description: Use -fPIC instead of -fpic.
+ ipe fails to build on s390x and sparc64, as on these architectures 
+ -fpic and -fPIC behaves differently. -fpic has a limit on the size 
+ of the GOT, while -fPIC doesn't. It's therefore better to use the
+ latter.
+Author: Aurelien Jarno <aurel32 at debian.org>
+Bug: 641082
+Forwarded: no
+
+
+--- ipe-7.1.0.orig/src/config.mak
++++ ipe-7.1.0/src/config.mak
+@@ -101,7 +101,7 @@ CXX = g++
+ # position independent code  
+ # (it doesn't hurt much on 32bit Linux, although you could comment it
+ # out for slightly faster code)
+-DLL_CFLAGS = -fpic
++DLL_CFLAGS = -fPIC
+ #
+ # --------------------------------------------------------------------
+ #

Modified: packages/ipe/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/ipe/trunk/debian/patches/series?rev=44116&op=diff
==============================================================================
--- packages/ipe/trunk/debian/patches/series (original)
+++ packages/ipe/trunk/debian/patches/series Sat Dec 10 22:38:40 2011
@@ -1,1 +1,2 @@
 build-nostrip.patch
+fPIC.patch




More information about the debian-science-commits mailing list