summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-11-07 17:58:00 +0000
committerjoerg <joerg@pkgsrc.org>2005-11-07 17:58:00 +0000
commit867d769554de5ecce438879d1f5036045463fb48 (patch)
treea107813c263f79a4040b0af09180a728ceb2077e /x11
parent3d06d9c32918618f7fd9320718300ecfd9202906 (diff)
downloadpkgsrc-867d769554de5ecce438879d1f5036045463fb48.tar.gz
Teach wxGTK24 about DragonFly.
Diffstat (limited to 'x11')
-rw-r--r--x11/wxGTK24/distinfo5
-rw-r--r--x11/wxGTK24/patches/patch-aa43
2 files changed, 43 insertions, 5 deletions
diff --git a/x11/wxGTK24/distinfo b/x11/wxGTK24/distinfo
index e27f2024c77..6a09f89784f 100644
--- a/x11/wxGTK24/distinfo
+++ b/x11/wxGTK24/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2005/10/11 02:40:21 ben Exp $
+$NetBSD: distinfo,v 1.4 2005/11/07 17:58:00 joerg Exp $
SHA1 (wxGTK-2.4.2.tar.bz2) = 3f1ebacaaf8eb5510c14ee10bafbc5f225be842c
RMD160 (wxGTK-2.4.2.tar.bz2) = 8076d1ba31c9b23becb241cbad5a83763fee776e
Size (wxGTK-2.4.2.tar.bz2) = 5381935 bytes
-SHA1 (patch-aa) = 17d9d9f48cfbfd43be20719eceeb466ef73fe02e
+SHA1 (patch-aa) = b59c62219e29e01b154feda85916c654570b680c
SHA1 (patch-ab) = bab52051778a93439cfd3144f052bdbcc7024e30
SHA1 (patch-ac) = 06a047a28260d30516b87d85a4dd4d5a6c18cfc4
SHA1 (patch-ad) = 809a12f89b018373910b31442dfd315276cafbdf
@@ -11,3 +11,4 @@ SHA1 (patch-ae) = 81c2e33fbdd4a715da5a14ef3ae0a377d0d9aec2
SHA1 (patch-af) = 81cddc6dcdf986317f7d62f027515cae6ef2c855
SHA1 (patch-ag) = ccdaca4030c08aefa922367019e0c9249b810456
SHA1 (patch-ah) = 24cc32f7eda53f4704422363902f72239eda2253
+SHA1 (patch-ai) = 98ca97a1d3d6e58f744d3be9ccd4dfcca904be07
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