slackbuilds_ponce/network/gtorrentviewer/patches/fix_linking_libm.diff
Robby Workman ab44d415df network/gtorrentviewer: Make sure libm is linked
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-09-10 16:37:33 -05:00

12 lines
417 B
Diff

diff -Nur GTorrentViewer-0.2b.orig/src/Makefile.in GTorrentViewer-0.2b/src/Makefile.in
--- GTorrentViewer-0.2b.orig/src/Makefile.in 2004-10-25 23:42:16.000000000 -0500
+++ GTorrentViewer-0.2b/src/Makefile.in 2012-09-09 23:31:34.092115981 -0500
@@ -115,7 +115,7 @@
CFLAGS = @CFLAGS@ @CURL_CFLAGS@ @GTK_CFLAGS@
-LDADD = @GTK_LIBS@ @CURL_LIBS@
+LDADD = @GTK_LIBS@ @CURL_LIBS@ -lm
bin_PROGRAMS = gtorrentviewer