[Pkg-ocaml-maint-commits] r2264 - in trunk/packages/numerix/trunk/debian: . patches

Mike Furr mfurr at costa.debian.org
Wed Dec 7 22:20:30 UTC 2005


Author: mfurr
Date: 2005-12-07 22:20:29 +0000 (Wed, 07 Dec 2005)
New Revision: 2264

Modified:
   trunk/packages/numerix/trunk/debian/changelog
   trunk/packages/numerix/trunk/debian/patches/10_Makefile.dpatch
   trunk/packages/numerix/trunk/debian/rules
Log:
added work-around to compile on hppa


Modified: trunk/packages/numerix/trunk/debian/changelog
===================================================================
--- trunk/packages/numerix/trunk/debian/changelog	2005-12-07 10:21:57 UTC (rev 2263)
+++ trunk/packages/numerix/trunk/debian/changelog	2005-12-07 22:20:29 UTC (rev 2264)
@@ -7,6 +7,7 @@
     rebuild with ocaml 3.09.0.
   * Install libnumerix-{c,ocaml}.a in libnumerix-ocaml-dev (Closes: #338233).
   * Add myself to Uploaders.
+  * Mike Furr: added patch to use -ffunctio-sections on hppa (Closes: #332902)
 
  -- Julien Cristau <julien.cristau at ens-lyon.org>  Wed,  7 Dec 2005 11:20:48 +0100
 

Modified: trunk/packages/numerix/trunk/debian/patches/10_Makefile.dpatch
===================================================================
--- trunk/packages/numerix/trunk/debian/patches/10_Makefile.dpatch	2005-12-07 10:21:57 UTC (rev 2263)
+++ trunk/packages/numerix/trunk/debian/patches/10_Makefile.dpatch	2005-12-07 22:20:29 UTC (rev 2264)
@@ -5,15 +5,15 @@
 ## DP: No description.
 
 @DPATCH@
-diff -urNad --exclude=CVS --exclude=.svn ./config/Makefile /tmp/dpep-work.PnoRkN/numerix-0.21/config/Makefile
---- ./config/Makefile	2005-09-05 15:00:45.408315237 -0400
-+++ /tmp/dpep-work.PnoRkN/numerix-0.21/config/Makefile	2005-09-05 15:02:05.258860836 -0400
+diff -urNad numerix-0.21~/config/Makefile numerix-0.21/config/Makefile
+--- numerix-0.21~/config/Makefile	2005-12-07 16:02:38.970725375 -0500
++++ numerix-0.21/config/Makefile	2005-12-07 16:04:08.358746590 -0500
 @@ -68,7 +68,7 @@
  # some include files or some libraries
  
  # C compiler
 -GCC = @CC@ -O2 -Wall
-+GCC = @CC@ -fPIC -O2 -Wall
++GCC = @CC@ -fPIC -Wall $(CFLAGS)
  
  # librarian
  AR = @ar@ -rc

Modified: trunk/packages/numerix/trunk/debian/rules
===================================================================
--- trunk/packages/numerix/trunk/debian/rules	2005-12-07 10:21:57 UTC (rev 2263)
+++ trunk/packages/numerix/trunk/debian/rules	2005-12-07 22:20:29 UTC (rev 2264)
@@ -26,6 +26,12 @@
 	CFLAGS += -O2
 endif
 
+ifeq ($(DEB_BUILD_ARCH),hppa)
+        CFLAGS += -ffunction-sections
+endif
+
+export CFLAGS
+
 include /usr/share/dpatch/dpatch.make
 
 ocamlabi:




More information about the Pkg-ocaml-maint-commits mailing list