summaryrefslogtreecommitdiff
path: root/devel/boehm-gc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-05-29 14:35:41 +0000
committerwiz <wiz@pkgsrc.org>2012-05-29 14:35:41 +0000
commitf3a4adcdc17a8b3719f7ad8e8062dbc8e0832d71 (patch)
tree1735f4528b25f5992676fa5f14b30906e1ae679e /devel/boehm-gc
parent2547f26dff1fa3339fac48ec8125881c8a1a862f (diff)
downloadpkgsrc-f3a4adcdc17a8b3719f7ad8e8062dbc8e0832d71.tar.gz
Update to 7.2b:
7.2b: An incorrect assertion in multi-threaded mode was fixed. 7.2: This release adds many enhancements and fixes.
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r--devel/boehm-gc/Makefile7
-rw-r--r--devel/boehm-gc/PLIST4
-rw-r--r--devel/boehm-gc/distinfo13
-rw-r--r--devel/boehm-gc/patches/patch-aa13
-rw-r--r--devel/boehm-gc/patches/patch-ab50
-rw-r--r--devel/boehm-gc/patches/patch-ae20
-rw-r--r--devel/boehm-gc/patches/patch-af12
7 files changed, 47 insertions, 72 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile
index d4a68ab7539..2b252589992 100644
--- a/devel/boehm-gc/Makefile
+++ b/devel/boehm-gc/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.68 2011/02/28 14:52:44 wiz Exp $
+# $NetBSD: Makefile,v 1.69 2012/05/29 14:35:41 wiz Exp $
-DISTNAME= gc-7.1
+DISTNAME= gc-7.2b
PKGNAME= ${DISTNAME:S/gc/boehm-gc/}
-PKGREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
@@ -13,6 +12,8 @@ COMMENT= Garbage collection and memory leak detection for C and C++
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
+WRKSRC= ${WRKDIR}/${DISTNAME:S/b$//}
+
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
diff --git a/devel/boehm-gc/PLIST b/devel/boehm-gc/PLIST
index 8bf289cab98..be781fe1200 100644
--- a/devel/boehm-gc/PLIST
+++ b/devel/boehm-gc/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.12 2009/06/14 17:48:35 joerg Exp $
+@comment $NetBSD: PLIST,v 1.13 2012/05/29 14:35:41 wiz Exp $
include/gc.h
+include/gc/cord.h
include/gc/gc.h
include/gc/gc_allocator.h
include/gc/gc_amiga_redirects.h
@@ -31,6 +32,7 @@ share/doc/gc/README.amiga
share/doc/gc/README.arm.cross
share/doc/gc/README.autoconf
share/doc/gc/README.changes
+share/doc/gc/README.cmake
share/doc/gc/README.contributors
share/doc/gc/README.cords
share/doc/gc/README.darwin
diff --git a/devel/boehm-gc/distinfo b/devel/boehm-gc/distinfo
index 90f8c7752e3..2f8e085ce8c 100644
--- a/devel/boehm-gc/distinfo
+++ b/devel/boehm-gc/distinfo
@@ -1,10 +1,7 @@
-$NetBSD: distinfo,v 1.42 2012/05/29 03:01:15 enami Exp $
+$NetBSD: distinfo,v 1.43 2012/05/29 14:35:41 wiz Exp $
-SHA1 (gc-7.1.tar.gz) = e84cba5d18f4ea5ed4e5fd3f1dc6a46bc190ff6f
-RMD160 (gc-7.1.tar.gz) = 9338c1128686395739e3acd9052a651d1dffffb2
-Size (gc-7.1.tar.gz) = 1077714 bytes
-SHA1 (patch-aa) = 87a5bd5e83b0201d80a1e4e4ce6745c11b2e7cfe
-SHA1 (patch-ab) = 9b5133c7aa84e6824616e29613716a2fedd1d334
+SHA1 (gc-7.2b.tar.gz) = 042b551d9e313557c8919375c669ae484237cf3e
+RMD160 (gc-7.2b.tar.gz) = 8a4081e043bac2f6b00afd7fce24a5858d76d229
+Size (gc-7.2b.tar.gz) = 1261375 bytes
+SHA1 (patch-ab) = c8b579752169c4400a11cb38d9f28fd5df3d9eb5
SHA1 (patch-ac) = 36cfb12c8309f60232b9ba9a5430b6e24957339d
-SHA1 (patch-ae) = fde8f12c8c8dd3142c191f5f1c1854cd339babe9
-SHA1 (patch-af) = b7720cd0c120ae16d6b36a6eeced4d1d6881c058
diff --git a/devel/boehm-gc/patches/patch-aa b/devel/boehm-gc/patches/patch-aa
deleted file mode 100644
index a0952bf362c..00000000000
--- a/devel/boehm-gc/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.19 2007/07/07 15:21:07 wiz Exp $
-
---- configure.ac.orig 2007-06-30 15:40:15.000000000 +0000
-+++ configure.ac
-@@ -399,7 +399,7 @@ case "$host" in
- machdep="mach_dep.lo sparc_mach_dep.lo"
- AC_DEFINE(SUNOS53_SHARED_LIB)
- ;;
-- sparc*-sun-solaris2.*)
-+ sparc*-sun-solaris2*)
- machdep="mach_dep.lo sparc_mach_dep.lo"
- ;;
- ia64-*-*)
diff --git a/devel/boehm-gc/patches/patch-ab b/devel/boehm-gc/patches/patch-ab
index 97b09c00d3a..f31a7623f24 100644
--- a/devel/boehm-gc/patches/patch-ab
+++ b/devel/boehm-gc/patches/patch-ab
@@ -1,23 +1,43 @@
-$NetBSD: patch-ab,v 1.19 2008/05/21 13:47:25 wiz Exp $
+$NetBSD: patch-ab,v 1.20 2012/05/29 14:35:42 wiz Exp $
---- configure.orig 2007-06-30 17:40:25.000000000 +0200
-+++ configure 2008-03-03 11:27:56.000000000 +0100
-@@ -6143,6 +6143,9 @@
- sparc-*-netbsd*)
- machdep="mach_dep.lo sparc_netbsd_mach_dep.lo"
+--- configure.orig 2012-05-11 17:09:00.000000000 +0000
++++ configure
+@@ -5245,7 +5245,7 @@ $as_echo "#define DARWIN_DONT_PARSE_STAC
+
+ fi
+
+-if test "$GCC" == yes; then
++if test "$GCC" = yes; then
+ # Disable aliasing optimization unless forced to.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports -fno-strict-aliasing" >&5
+ $as_echo_n "checking whether gcc supports -fno-strict-aliasing... " >&6; }
+@@ -5453,8 +5453,8 @@ esac
+ $as_echo "$enable_shared" >&6; }
+
+ # Compile with GC_DLL defined unless building static libraries.
+-if test "${enable_shared}" == yes; then
+- if test "${enable_static}" == no; then
++if test "${enable_shared}" = yes; then
++ if test "${enable_static}" = no; then
+ $as_echo "#define GC_DLL 1" >>confdefs.h
+
+ # FIXME: Also pass -fvisibility=hidden option if GCC v4+ and not Win32.
+@@ -5508,6 +5508,9 @@ $as_echo "#define SOLARIS25_PROC_VDB_BUG
+ sparc*-*-openbsd*)
+ machdep="mach_dep.lo sparc_mach_dep.lo"
;;
+ sparc64-*-netbsd*)
+ machdep="mach_dep.lo sparc_mach_dep.lo"
+ ;;
sparc-sun-solaris2.3)
machdep="mach_dep.lo sparc_mach_dep.lo"
- cat >>confdefs.h <<\_ACEOF
-@@ -6150,7 +6153,7 @@
- _ACEOF
- ;;
-- sparc*-sun-solaris2.*)
-+ sparc*-sun-solaris2*)
- machdep="mach_dep.lo sparc_mach_dep.lo"
- ;;
- ia64-*-*)
+@@ -16438,7 +16441,7 @@ $as_echo "#define SMALL_CONFIG 1" >>conf
+
+ fi
+
+-if test "$enable_gc_debug" == "no"; then
++if test "$enable_gc_debug" = "no"; then
+
+ $as_echo "#define NO_DEBUGGING 1" >>confdefs.h
+
diff --git a/devel/boehm-gc/patches/patch-ae b/devel/boehm-gc/patches/patch-ae
deleted file mode 100644
index f6a60d6c1c6..00000000000
--- a/devel/boehm-gc/patches/patch-ae
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ae,v 1.9 2010/01/20 10:01:19 wiz Exp $
-
---- mach_dep.c.orig 2007-08-13 21:49:11.000000000 +0000
-+++ mach_dep.c
-@@ -78,6 +78,7 @@ asm static void PushMacRegisters()
- #if defined(USE_ASM_PUSH_REGS)
- # define HAVE_PUSH_REGS
- #else /* No asm implementation */
-+#if !defined(SPARC)
- void GC_push_regs()
- {
- # if defined(M68K) && defined(AMIGA)
-@@ -150,6 +151,7 @@ void GC_push_regs()
- # endif /* __MWERKS__ */
- # endif /* MACOS */
- }
-+#endif /* !SPARC */
- #endif /* !USE_ASM_PUSH_REGS */
-
- #if defined(HAVE_PUSH_REGS) && defined(THREADS)
diff --git a/devel/boehm-gc/patches/patch-af b/devel/boehm-gc/patches/patch-af
deleted file mode 100644
index 07de6a222e5..00000000000
--- a/devel/boehm-gc/patches/patch-af
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-af,v 1.14 2010/06/04 11:21:34 wiz Exp $
-
---- sparc_mach_dep.S.orig 2007-04-27 18:01:22.000000000 -0400
-+++ sparc_mach_dep.S 2010-06-02 12:53:00.000000000 -0400
-@@ -8,6 +8,7 @@
- .globl GC_save_regs_in_stack
- .globl GC_push_regs
- GC_save_regs_in_stack:
-+GC_push_regs:
- #if defined(__arch64__) || defined(__sparcv9)
- save %sp,-128,%sp
- flushw