summaryrefslogtreecommitdiff
path: root/x11/wxGTK24/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2005-11-07 17:58:00 +0000
committerjoerg <joerg>2005-11-07 17:58:00 +0000
commit045142ae2a3498269e68b31d9ced15e12ff6d6a4 (patch)
treea107813c263f79a4040b0af09180a728ceb2077e /x11/wxGTK24/patches
parent1cdb516d4ec9c1387a240d633b92cad1de1a399b (diff)
downloadpkgsrc-045142ae2a3498269e68b31d9ced15e12ff6d6a4.tar.gz
Teach wxGTK24 about DragonFly.
Diffstat (limited to 'x11/wxGTK24/patches')
-rw-r--r--x11/wxGTK24/patches/patch-aa43
1 files changed, 40 insertions, 3 deletions
diff --git a/x11/wxGTK24/patches/patch-aa b/x11/wxGTK24/patches/patch-aa
index 38b48392645..f300cca453c 100644
--- a/x11/wxGTK24/patches/patch-aa
+++ b/x11/wxGTK24/patches/patch-aa
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.2 2005/10/11 02:40:21 ben Exp $
+$NetBSD: patch-aa,v 1.3 2005/11/07 17:58:00 joerg Exp $
---- configure.orig 2003-09-21 11:31:30.000000000 +0000
+--- configure.orig 2003-09-21 13:31:30.000000000 +0200
+++ configure
+@@ -1247,7 +1247,7 @@ EOF
+
+ DEFAULT_DEFAULT_wxUSE_MOTIF=1
+ ;;
+- *-*-freebsd*)
++ *-*-freebsd*|*-*-dragonfly*)
+ USE_BSD=1
+ USE_FREEBSD=1
+ cat >> confdefs.h <<\EOF
@@ -11498,9 +11498,10 @@ SEARCH_INCLUDE="\
/usr/local/x11r5/include \
/usr/lpp/Xamples/include \
@@ -128,7 +137,35 @@ $NetBSD: patch-aa,v 1.2 2005/10/11 02:40:21 ben Exp $
if test "$wxUSE_OPENGL" = "yes"; then
WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
-@@ -22777,6 +22873,7 @@ s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER
+@@ -16331,7 +16427,7 @@ fi
+ *-*-sunos4* | \
+ *-*-osf* | \
+ *-*-dgux5* | \
+- *-*-sysv5* )
++ *-*-sysv5* | *-*-dragonfly*)
+ ;;
+
+ *)
+@@ -18668,6 +18764,9 @@ if test "$TOOLKIT" != "MSW" -a "$TOOLKIT
+ THREAD_OPTS="-mt $THREAD_OPTS"
+ fi
+ ;;
++ *-*-dragonfly*)
++ THREAD_OPTS="-pthread $THREAD_OPTS"
++ ;;
+ *-*-freebsd*)
+ THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
+ ;;
+@@ -18751,7 +18850,7 @@ echo "configure:18748: checking if more
+ LDFLAGS="-L/usr/lib/threads $LDFLAGS"
+ flag="-D_THREAD_SAFE"
+ ;;
+- *-freebsd*)
++ *-freebsd* | *-*-dragonfly*)
+ flag="-D_THREAD_SAFE"
+ ;;
+ *-hp-hpux* )
+@@ -22777,6 +22876,7 @@ s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER
s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g