[Debian-med-packaging] Bug#701756: Patch for njplot to link directly with libm
Charles Plessy
plessy at debian.org
Sat Mar 2 05:46:21 UTC 2013
Dear Manolo,
we received a report from Ubuntu, that NJplot needs the following adjustement
to be compiled with the --no-copy-dt-needed flag, that is used to avoid
indirect linkage. (See https://bugs.launchpad.net/ubuntu/+source/njplot/+bug/1133488
for more information).
Can you consider it for your next update of NJplot ?
Have a nice week-end,
-- Charles
diff -Nru njplot-2.4/debian/patches/fix-underlinking.patch njplot-2.4/debian/patches/fix-underlinking.patch
--- njplot-2.4/debian/patches/fix-underlinking.patch 1970-01-01 02:00:00.000000000 +0200
+++ njplot-2.4/debian/patches/fix-underlinking.patch 2013-02-26 16:30:05.000000000 +0200
@@ -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
More information about the Debian-med-packaging
mailing list