summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-26 20:38:51 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-26 20:38:51 +0000
commit3f5c5c519b672dcad63cf76552e6742a8e265028 (patch)
treef5313b495516ca63d546d9ae13de569ac7c407e2 /lang
parentc241713f20e10b438fc6b761e0603b48e9d92641 (diff)
downloadpkgsrc-3f5c5c519b672dcad63cf76552e6742a8e265028.tar.gz
Add DragonFly support based on the patches for libffi and boehm-gc.
Diffstat (limited to 'lang')
-rw-r--r--lang/pnet/distinfo9
-rw-r--r--lang/pnet/patches/patch-aa19
-rw-r--r--lang/pnet/patches/patch-ab13
-rw-r--r--lang/pnet/patches/patch-ac13
-rw-r--r--lang/pnet/patches/patch-ad13
-rw-r--r--lang/pnet/patches/patch-ae22
-rw-r--r--lang/pnet/patches/patch-af12
7 files changed, 94 insertions, 7 deletions
diff --git a/lang/pnet/distinfo b/lang/pnet/distinfo
index 664e514bb09..2ef7182114c 100644
--- a/lang/pnet/distinfo
+++ b/lang/pnet/distinfo
@@ -1,6 +1,11 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 09:03:10 agc Exp $
+$NetBSD: distinfo,v 1.6 2006/02/26 20:38:51 joerg Exp $
SHA1 (pnet-0.6.6.tar.gz) = cc0b59074f9a905b31cf5778cfee3476adb2b098
RMD160 (pnet-0.6.6.tar.gz) = e66d4c878cbd008b13926a96884afe8836f05b55
Size (pnet-0.6.6.tar.gz) = 3471669 bytes
-SHA1 (patch-aa) = ca5e4c0121ef7ed5fe02c6c0728f23af9bff8ef4
+SHA1 (patch-aa) = d458a548d7b1d3c868d988d4f5e359fe57099d4f
+SHA1 (patch-ab) = ead1b5307c8429bdad3ec37a310dc4bed562181e
+SHA1 (patch-ac) = 2a3c06ed1a98bdd2f5abf6130ce1dd5b0f4deffb
+SHA1 (patch-ad) = bd18444a728e285b722ca6143a892a0cbbf0d71c
+SHA1 (patch-ae) = f4d1ab5388e49bb570011bf7559211ff5a05e42e
+SHA1 (patch-af) = c04532778ebd627571b68c4d0ff52fc9be2c21af
diff --git a/lang/pnet/patches/patch-aa b/lang/pnet/patches/patch-aa
index 27d474f51b8..650a2a5a000 100644
--- a/lang/pnet/patches/patch-aa
+++ b/lang/pnet/patches/patch-aa
@@ -1,13 +1,22 @@
-$NetBSD: patch-aa,v 1.1 2004/05/14 08:22:45 xtraeme Exp $
+$NetBSD: patch-aa,v 1.2 2006/02/26 20:38:52 joerg Exp $
---- configure.orig 2004-05-14 10:18:01.000000000 +0200
-+++ configure 2004-05-14 10:18:16.000000000 +0200
-@@ -2054,7 +2054,7 @@
+--- configure.orig 2004-05-29 04:57:49.000000000 +0000
++++ configure
+@@ -2055,7 +2055,7 @@ if test "$THREADS" = "no"; then
*-*-mingw*|*-*-cygwin*)
THREADS=win32
;;
- *-freebsd*)
-+ *-freebsd*|*-netbsd*)
++ *-freebsd*|*-netbsd*|*-dragonfly*)
THREADS=posix
;;
esac
+@@ -2130,7 +2130,7 @@ EOF
+
+ THREADLIBS="-lpthread -lrt"
+ ;;
+- *-*-freebsd*)
++ *-*-freebsd*|*-*-dragonfly*)
+ echo "configure: warning: "FreeBSD does not yet fully support threads with Boehm GC."" 1>&2
+ cat >> confdefs.h <<\EOF
+ #define GC_FREEBSD_THREADS 1
diff --git a/lang/pnet/patches/patch-ab b/lang/pnet/patches/patch-ab
new file mode 100644
index 00000000000..7ba52cd88da
--- /dev/null
+++ b/lang/pnet/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/02/26 20:38:52 joerg Exp $
+
+--- libgc/configure.orig 2006-02-26 19:30:00.000000000 +0000
++++ libgc/configure
+@@ -3588,7 +3588,7 @@ _ACEOF
+
+ THREADLIBS="-lpthread -lrt"
+ ;;
+- *-*-freebsd*)
++ *-*-freebsd* | *-*-dragonfly*)
+ { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
+ echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
+ cat >>confdefs.h <<\_ACEOF
diff --git a/lang/pnet/patches/patch-ac b/lang/pnet/patches/patch-ac
new file mode 100644
index 00000000000..2a4fee708c9
--- /dev/null
+++ b/lang/pnet/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/02/26 20:38:52 joerg Exp $
+
+--- libgc/include/gc.h.orig 2005-07-23 23:22:39.000000000 +0000
++++ libgc/include/gc.h
+@@ -497,7 +497,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_of
+ /* This may also be desirable if it is possible but expensive to */
+ /* retrieve the call chain. */
+ #if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) \
+- || defined(__FreeBSD__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
++ || defined(__FreeBSD__) || defined(__DragonFly__)) && !defined(GC_CAN_SAVE_CALL_STACKS)
+ # define GC_ADD_CALLER
+ # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
+ /* gcc knows how to retrieve return address, but we don't know */
diff --git a/lang/pnet/patches/patch-ad b/lang/pnet/patches/patch-ad
new file mode 100644
index 00000000000..84d03d4cbf5
--- /dev/null
+++ b/lang/pnet/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/02/26 20:38:52 joerg Exp $
+
+--- libgc/include/gc_config_macros.h.orig 2005-07-23 23:22:58.000000000 +0000
++++ libgc/include/gc_config_macros.h
+@@ -87,7 +87,7 @@
+ # define GC_DARWIN_THREADS
+ # define GC_PTHREADS
+ # endif
+-# if !defined(GC_PTHREADS) && defined(__FreeBSD__)
++# if !defined(GC_PTHREADS) && (defined(__FreeBSD__) || defined(__DragonFly__))
+ # define GC_FREEBSD_THREADS
+ # define GC_PTHREADS
+ # endif
diff --git a/lang/pnet/patches/patch-ae b/lang/pnet/patches/patch-ae
new file mode 100644
index 00000000000..cc4c7c4cda8
--- /dev/null
+++ b/lang/pnet/patches/patch-ae
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1 2006/02/26 20:38:52 joerg Exp $
+
+--- libgc/include/private/gcconfig.h.orig 2005-05-20 20:48:29.000000000 +0000
++++ libgc/include/private/gcconfig.h
+@@ -55,7 +55,7 @@
+ # endif
+
+ /* And one for FreeBSD: */
+-# if defined(__FreeBSD__)
++# if defined(__FreeBSD__) || defined(__DragonFly__)
+ # define FREEBSD
+ # endif
+
+@@ -1929,7 +1929,7 @@
+ # define SUNOS5SIGS
+ # endif
+
+-# if defined(FREEBSD) && (__FreeBSD__ >= 4)
++# if defined(FREEBSD) && (defined(__DragonFly__) || __FreeBSD__ >= 4)
+ # define SUNOS5SIGS
+ # endif
+
diff --git a/lang/pnet/patches/patch-af b/lang/pnet/patches/patch-af
new file mode 100644
index 00000000000..b6464789dc4
--- /dev/null
+++ b/lang/pnet/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1 2006/02/26 20:38:52 joerg Exp $
+
+--- libffi/configure.orig 2006-02-26 20:16:12.000000000 +0000
++++ libffi/configure
+@@ -2443,6 +2443,7 @@ i*86-*-linux*) TARGET=X86; TARGETDIR=x86
+ i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;;
+ i*86-*-beos*) TARGET=X86; TARGETDIR=x86;;
+ i*86-*-freebsd*) TARGET=X86; TARGETDIR=x86;;
++i*86-*-dragonfly*) TARGET=X86; TARGETDIR=x86;;
+ i*86-*-netbsdelf*) TARGET=X86; TARGETDIR=x86;;
+ i*86-*-win32*) TARGET=X86_WIN32; TARGETDIR=x86;;
+ i*86-*-cygwin*) TARGET=X86_WIN32; TARGETDIR=x86;;