summaryrefslogtreecommitdiff
path: root/network/gtorrentviewer/patches/fix_linking_libm.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/gtorrentviewer/patches/fix_linking_libm.diff')
-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
+