[med-svn] r12028 - in trunk/packages/mrbayes/trunk/debian: . patches

Andreas Tille tille at alioth.debian.org
Fri Aug 10 13:40:00 UTC 2012


Author: tille
Date: 2012-08-10 13:40:00 +0000 (Fri, 10 Aug 2012)
New Revision: 12028

Added:
   trunk/packages/mrbayes/trunk/debian/patches/
   trunk/packages/mrbayes/trunk/debian/patches/as-needed.patch
   trunk/packages/mrbayes/trunk/debian/patches/series
Modified:
   trunk/packages/mrbayes/trunk/debian/changelog
Log:
Incorporate as-needed patch


Modified: trunk/packages/mrbayes/trunk/debian/changelog
===================================================================
--- trunk/packages/mrbayes/trunk/debian/changelog	2012-08-10 12:31:37 UTC (rev 12027)
+++ trunk/packages/mrbayes/trunk/debian/changelog	2012-08-10 13:40:00 UTC (rev 12028)
@@ -2,11 +2,14 @@
 
   [ Andreas Tille ]
   * debian/upstream: Add publication data
+  * debian/patches/as-needed.patch: Enable building using --as-needed
+    thanks for the patch to Ilya Barygin <randomaction at ubuntu.com>
+    Closes: #678175
 
   [ Charles Plessy ]
   * debian/control: corrected a typo (Closes: #671666).
 
- -- Andreas Tille <tille at debian.org>  Fri, 04 May 2012 16:24:53 +0200
+ -- Andreas Tille <tille at debian.org>  Fri, 10 Aug 2012 15:37:50 +0200
 
 mrbayes (3.2.1+dfsg-1) unstable; urgency=low
 

Added: trunk/packages/mrbayes/trunk/debian/patches/as-needed.patch
===================================================================
--- trunk/packages/mrbayes/trunk/debian/patches/as-needed.patch	                        (rev 0)
+++ trunk/packages/mrbayes/trunk/debian/patches/as-needed.patch	2012-08-10 13:40:00 UTC (rev 12028)
@@ -0,0 +1,17 @@
+Description: fix FTBFS with --as-needed linker option
+ This way, libraries will be added to ld call after object files.
+Author: Ilya Barygin <randomaction at ubuntu.com>
+Bug-Debian: http://bugs.debian.org/678175
+Last-Changed: Tue, 19 Jun 2012 19:03:09 UTC
+
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -2,7 +2,7 @@ srcdir    = @srcdir@
+ RM        = rm
+ CC        = @CC@
+ CFLAGS    = @CFLAGS@ -DUSECONFIG_H
+-LDFLAGS   = @LDFLAGS@ -lm
++LDLIBS    = @LDFLAGS@ -lm
+ INSTALL   = @INSTALL@
+ 
+ SRC       =  bayes.c command.c mbmath.c mcmc.c model.c plot.c sump.c sumt.c tree.c utils.c mbbeagle.c best.c

Added: trunk/packages/mrbayes/trunk/debian/patches/series
===================================================================
--- trunk/packages/mrbayes/trunk/debian/patches/series	                        (rev 0)
+++ trunk/packages/mrbayes/trunk/debian/patches/series	2012-08-10 13:40:00 UTC (rev 12028)
@@ -0,0 +1 @@
+as-needed.patch




More information about the debian-med-commit mailing list