Package: ne / 3.0.1-2

01_Fix_ftbfs_add_lm.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Add -lm to fix ftbfs with binutils-gold
Author: Angel Abad <angelabad@ubuntu.com>
Bug-Ubuntu: https://launchpad.net/bugs/771117

--- a/src/makefile
+++ b/src/makefile
@@ -96,7 +96,7 @@
 	$(if $(NE_ANSI),    -DTERMCAP -DANSI,)
 
 
-LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses)
+LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses -lm)
 
 ne:	$(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),)
 	$(CC) $(OPTS) $(LDFLAGS) $(if $(NE_TEST), -coverage -lefence,) $^ -lm $(LIBS) -o $(PROGRAM)