summaryrefslogtreecommitdiff
path: root/math/pari/patches/patch-config_get_fltk
diff options
context:
space:
mode:
Diffstat (limited to 'math/pari/patches/patch-config_get_fltk')
-rw-r--r--math/pari/patches/patch-config_get_fltk12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/pari/patches/patch-config_get_fltk b/math/pari/patches/patch-config_get_fltk
new file mode 100644
index 00000000000..e21f14ea077
--- /dev/null
+++ b/math/pari/patches/patch-config_get_fltk
@@ -0,0 +1,12 @@
+$NetBSD: patch-config_get_fltk,v 1.1 2011/12/10 23:53:34 marino Exp $
+
+--- config/get_fltk.orig 2008-03-31 11:43:59.000000000 +0000
++++ config/get_fltk
+@@ -30,6 +30,6 @@ if test -n "$with_fltk"; then
+ case "$osname" in
+ cygwin) FLTK_LIBS="-lgdi32 -lole32 -luuid -lwsock32 -lsupc++" ;;
+ darwin) FLTK_LIBS="-framework Carbon -lsupc++" ;;
+- *) FLTK_LIBS="$X11_LIBS" ;;
++ *) FLTK_LIBS="$X11_LIBS -lstdc++" ;;
+ esac
+ fi