aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/fltk/files/patch-fltk-config.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/fltk/files/patch-fltk-config.in b/x11-toolkits/fltk/files/patch-fltk-config.in
new file mode 100644
index 000000000000..5be8cdc224ba
--- /dev/null
+++ b/x11-toolkits/fltk/files/patch-fltk-config.in
@@ -0,0 +1,20 @@
+--- fltk-config.in.orig Mon Sep 6 15:20:52 2004
++++ fltk-config.in Sat Jun 25 11:45:04 2005
+@@ -180,7 +180,7 @@
+ fi
+
+ # Calculate needed libraries
+-LDSTATIC="$libdir/libfltk.a $LDLIBS"
++LDSTATIC="-lm $libdir/libfltk.a $LDLIBS"
+ LDLIBS="-lfltk$SHAREDSUFFIX $LDLIBS"
+ LIBS="$libdir/libfltk.a"
+
+@@ -247,7 +247,7 @@
+ fi
+
+ if test "$echo_ldflags" = "yes"; then
+- my_libs=
++ my_libs="-lm"
+ libdirs=$libs
+
+ for i in $LDLIBS ; do