aboutsummaryrefslogtreecommitdiffstats
path: root/main/gpicview/libm-underlinking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gpicview/libm-underlinking.patch')
-rw-r--r--main/gpicview/libm-underlinking.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/gpicview/libm-underlinking.patch b/main/gpicview/libm-underlinking.patch
new file mode 100644
index 0000000000..a73e0705e8
--- /dev/null
+++ b/main/gpicview/libm-underlinking.patch
@@ -0,0 +1,25 @@
+From 38cc56d08d243c886526d16bad3ee0b6571d6914 Mon Sep 17 00:00:00 2001
+From: Andrea Florio <andrea@opensuse.org>
+Date: Sun, 18 Sep 2011 08:49:36 +0200
+Subject: [PATCH] fixed link with latest ld
+
+---
+ src/Makefile.am | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 4a750c5..0e2f058 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -27,7 +27,7 @@ gpicview_SOURCES = \
+
+ # the library search path.
+ # use -nodefaultlibs to prevent linking libstdc++
+-gpicview_LDADD = $(X11_LIBS) $(GTK_LIBS)
++gpicview_LDADD = $(X11_LIBS) $(GTK_LIBS) -lm
+
+ noinst_HEADERS = \
+ glib-mem.h \
+--
+1.7.4.1
+