pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/pnet Add DragonFly support based on the patches f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0db3281d59be
branches:  trunk
changeset: 508853:0db3281d59be
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Feb 26 20:38:51 2006 +0000

description:
Add DragonFly support based on the patches for libffi and boehm-gc.

diffstat:

 lang/pnet/distinfo         |   9 +++++++--
 lang/pnet/patches/patch-aa |  19 ++++++++++++++-----
 lang/pnet/patches/patch-ab |  13 +++++++++++++
 lang/pnet/patches/patch-ac |  13 +++++++++++++
 lang/pnet/patches/patch-ad |  13 +++++++++++++
 lang/pnet/patches/patch-ae |  22 ++++++++++++++++++++++
 lang/pnet/patches/patch-af |  12 ++++++++++++
 7 files changed, 94 insertions(+), 7 deletions(-)

diffs (141 lines):

diff -r 87bd5efc153e -r 0db3281d59be lang/pnet/distinfo
--- a/lang/pnet/distinfo        Sun Feb 26 20:37:48 2006 +0000
+++ b/lang/pnet/distinfo        Sun Feb 26 20:38:51 2006 +0000
@@ -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 -r 87bd5efc153e -r 0db3281d59be lang/pnet/patches/patch-aa
--- a/lang/pnet/patches/patch-aa        Sun Feb 26 20:37:48 2006 +0000
+++ b/lang/pnet/patches/patch-aa        Sun Feb 26 20:38:51 2006 +0000
@@ -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 -r 87bd5efc153e -r 0db3281d59be lang/pnet/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pnet/patches/patch-ab        Sun Feb 26 20:38:51 2006 +0000
@@ -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 -r 87bd5efc153e -r 0db3281d59be lang/pnet/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pnet/patches/patch-ac        Sun Feb 26 20:38:51 2006 +0000
@@ -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 -r 87bd5efc153e -r 0db3281d59be lang/pnet/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pnet/patches/patch-ad        Sun Feb 26 20:38:51 2006 +0000
@@ -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 -r 87bd5efc153e -r 0db3281d59be lang/pnet/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pnet/patches/patch-ae        Sun Feb 26 20:38:51 2006 +0000
@@ -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 -r 87bd5efc153e -r 0db3281d59be lang/pnet/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pnet/patches/patch-af        Sun Feb 26 20:38:51 2006 +0000
@@ -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;;



Home | Main Index | Thread Index | Old Index