summaryrefslogtreecommitdiff
path: root/network/gtorrentviewer/patches
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-09 23:34:24 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-10 16:37:33 -0500
commitab44d415df158b9d097a9bbd60a6c908807b20a6 (patch)
tree505f485456dc2bbb50e0d4836fdceaa9cb04361e /network/gtorrentviewer/patches
parentac04695ab48741dd063ce0da0d56106f94e8ed2c (diff)
downloadslackbuilds-ab44d415df158b9d097a9bbd60a6c908807b20a6.tar.gz
network/gtorrentviewer: Make sure libm is linked
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/gtorrentviewer/patches')
-rw-r--r--network/gtorrentviewer/patches/fix_linking_libm.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/network/gtorrentviewer/patches/fix_linking_libm.diff b/network/gtorrentviewer/patches/fix_linking_libm.diff
new file mode 100644
index 0000000000..4be5b63bb3
--- /dev/null
+++ b/network/gtorrentviewer/patches/fix_linking_libm.diff
@@ -0,0 +1,12 @@
+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
+