File: fix-underlinking.patch

package info (click to toggle)
njplot 2.4-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 404 kB
  • ctags: 659
  • sloc: ansic: 6,164; makefile: 75; sh: 19
file content (22 lines) | stat: -rw-r--r-- 640 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Author: Charles Plessy <plessy@debian.org>
Last-Update: Wed, 29 May 2013 18:41:31 -0400
Bug-Debian: https://bugs.debian.org/701756
Description: Explicitly link njplot and unrooted against -lm for compatibility
 with strict linkers

--- 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