pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/boehm-gc Add support for DragonFly. It adds if d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2f36f045b6b
branches:  trunk
changeset: 499054:a2f36f045b6b
user:      reed <reed%pkgsrc.org@localhost>
date:      Thu Sep 08 15:22:53 2005 +0000

description:
Add support for DragonFly. It adds if defined(__DragonFly__). It
is from Joerg Sonnenberger. Okayed by maintainer, recht.

diffstat:

 devel/boehm-gc/distinfo         |   5 ++++-
 devel/boehm-gc/patches/patch-aa |  13 +++++++++++++
 devel/boehm-gc/patches/patch-ab |  13 +++++++++++++
 devel/boehm-gc/patches/patch-ad |  32 ++++++++++++++++++++++++++++++++
 4 files changed, 62 insertions(+), 1 deletions(-)

diffs (86 lines):

diff -r 55c5b5e33d9e -r a2f36f045b6b devel/boehm-gc/distinfo
--- a/devel/boehm-gc/distinfo   Thu Sep 08 13:47:57 2005 +0000
+++ b/devel/boehm-gc/distinfo   Thu Sep 08 15:22:53 2005 +0000
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.26 2005/07/02 12:55:40 wiz Exp $
+$NetBSD: distinfo,v 1.27 2005/09/08 15:22:53 reed Exp $
 
 SHA1 (gc6.5.tar.gz) = 1227e4d5d156bdc56ade82043e1d03d2cf35bef5
 RMD160 (gc6.5.tar.gz) = 0a60f9d92c70aacefbebec4adb48d26fa111a760
 Size (gc6.5.tar.gz) = 752464 bytes
+SHA1 (patch-aa) = 8c32973ba5956e873d6b6e3969674082caa0fa74
+SHA1 (patch-ab) = c6b2a2b98ce12c64af9408bc9b1f1a86bb9ac647
 SHA1 (patch-ac) = 64c0f042a1ed7488158d49c77bab0330537d9e96
+SHA1 (patch-ad) = 6b16d8b4b6d9f431a316bb9ad9c37da829b026b7
 SHA1 (patch-ae) = e8da710ece0400136c71ee7888c0ce7f719ac660
 SHA1 (patch-af) = 855ee55b5df18a4bdc6c31eb8b0363448e8fcfc6
diff -r 55c5b5e33d9e -r a2f36f045b6b devel/boehm-gc/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boehm-gc/patches/patch-aa   Thu Sep 08 15:22:53 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.16 2005/09/08 15:22:53 reed Exp $
+
+--- include/gc.h.orig  2005-07-23 23:22:39.000000000 +0000
++++ 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 55c5b5e33d9e -r a2f36f045b6b devel/boehm-gc/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boehm-gc/patches/patch-ab   Thu Sep 08 15:22:53 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.14 2005/09/08 15:22:53 reed Exp $
+
+--- include/gc_config_macros.h.orig    2005-07-23 23:22:58.000000000 +0000
++++ 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 55c5b5e33d9e -r a2f36f045b6b devel/boehm-gc/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boehm-gc/patches/patch-ad   Thu Sep 08 15:22:53 2005 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-ad,v 1.21 2005/09/08 15:22:53 reed Exp $
+
+--- include/private/gcconfig.h.orig    2005-05-20 20:48:29.000000000 +0000
++++ include/private/gcconfig.h
+@@ -55,7 +55,7 @@
+ # endif
+ 
+ /* And one for FreeBSD: */
+-# if defined(__FreeBSD__) && !defined(FREEBSD)
++# if (defined(__FreeBSD__) || defined(__DragonFly__)) && !defined(FREEBSD)
+ #    define FREEBSD
+ # endif
+ 
+@@ -174,7 +174,8 @@
+ #   define mach_type_known
+ # endif
+ # if defined(sparc) && defined(unix) && !defined(sun) && !defined(linux) \
+-     && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__)
++     && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) \
++     && !defined(__DragonFly__)
+ #   define SPARC
+ #   define DRSNX
+ #   define mach_type_known
+@@ -1998,7 +1999,7 @@
+ #   define SUNOS5SIGS
+ # endif
+ 
+-# if defined(FREEBSD) && (__FreeBSD__ >= 4)
++# if defined(FREEBSD) && (defined(__DragonFly__) || __FreeBSD__ >= 4)
+ #   define SUNOS5SIGS
+ # endif
+ 



Home | Main Index | Thread Index | Old Index