Author: ucko
Date: 2013-05-29 22:18:05 +0000 (Wed, 29 May 2013)
New Revision: 13755

Added:
   trunk/packages/njplot/trunk/debian/patches/
   trunk/packages/njplot/trunk/debian/patches/fix-underlinking.patch
   trunk/packages/njplot/trunk/debian/patches/series
Modified:
   trunk/packages/njplot/trunk/debian/changelog
Log:
Add Charles Plessy's fix-underlinking.patch for #701756.

debian/patches/fix-underlinking.patch (new): Explicitly link njplot and
unrooted against -lm for compatibility with strict linkers (as on Ubuntu)
that default to --no-copy-dt-needed.  (Closes: #701756.  LP: #1133488.)


Modified: trunk/packages/njplot/trunk/debian/changelog
===================================================================
--- trunk/packages/njplot/trunk/debian/changelog        2013-05-29 21:12:19 UTC 
(rev 13754)
+++ trunk/packages/njplot/trunk/debian/changelog        2013-05-29 22:18:05 UTC 
(rev 13755)
@@ -1,8 +1,14 @@
 njplot (2.4-2) UNRELEASED; urgency=low
 
+  [ Charles Plessy ]
+  * debian/patches/fix-underlinking.patch (new): Explicitly link njplot and
+    unrooted against -lm for compatibility with strict linkers (as on Ubuntu)
+    that default to --no-copy-dt-needed.  (Closes: #701756.  LP: #1133488.)
+
+  [ Andreas Tille ]
   * debian/upstream: Added citation information
 
- -- Andreas Tille <[email protected]>  Sun, 06 May 2012 18:18:15 +0200
+ -- Aaron M. Ucko <[email protected]>  Wed, 29 May 2013 18:18:01 -0400
 
 njplot (2.4-1) unstable; urgency=low
 

Added: trunk/packages/njplot/trunk/debian/patches/fix-underlinking.patch
===================================================================
--- trunk/packages/njplot/trunk/debian/patches/fix-underlinking.patch           
                (rev 0)
+++ trunk/packages/njplot/trunk/debian/patches/fix-underlinking.patch   
2013-05-29 22:18:05 UTC (rev 13755)
@@ -0,0 +1,16 @@
+--- a/makefile
++++ b/makefile
+@@ -23,11 +23,11 @@
+ 
+ njplot : $(OBJECTS)
+       $(CC) -o njplot $(OBJECTS) \
+-        -lvibrant -lncbi -lXm -lXt
++        -lvibrant -lncbi -lXm -lXt -lm
+         
+ unrooted : $(OBJUNROOTED)
+       $(CC) -o unrooted $(OBJUNROOTED) \
+-        -lvibrant -lncbi -lXm -lXt
++        -lvibrant -lncbi -lXm -lXt -lm
+ 
+ newicktops: njplot-vib.c
+       $(CC) -DNO_GUI  -DNO_PDF -o $@ njplot-vib.c -lm

Added: trunk/packages/njplot/trunk/debian/patches/series
===================================================================
--- trunk/packages/njplot/trunk/debian/patches/series                           
(rev 0)
+++ trunk/packages/njplot/trunk/debian/patches/series   2013-05-29 22:18:05 UTC 
(rev 13755)
@@ -0,0 +1 @@
+fix-underlinking.patch


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to