diff options
author | wiz <wiz@pkgsrc.org> | 2012-07-01 14:09:45 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-07-01 14:09:45 +0000 |
commit | 6fe33a4e0b909322d4467baed6e6edcc72df0d4d (patch) | |
tree | 53b02e04c5eb0e17969de38664d667e3c3e8a6d1 /devel | |
parent | f0a28d7e3fdb186461772d440761b9762968132f (diff) | |
download | pkgsrc-6fe33a4e0b909322d4467baed6e6edcc72df0d4d.tar.gz |
Update to 7.2c:
The results of GC_MALLOC_ATOMIC, GC_get_maps, and GC_scratch_alloc
are now properly checked, avoiding segmentation faults. Several
private symbols have been made externally visible to aid third
party software which unfortunately relies on them. Minor NetBSD
issues have been resolved.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/boehm-gc/Makefile | 6 | ||||
-rw-r--r-- | devel/boehm-gc/distinfo | 9 | ||||
-rw-r--r-- | devel/boehm-gc/patches/patch-ac | 37 |
3 files changed, 7 insertions, 45 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile index 2b252589992..5cfa45aa577 100644 --- a/devel/boehm-gc/Makefile +++ b/devel/boehm-gc/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.69 2012/05/29 14:35:41 wiz Exp $ +# $NetBSD: Makefile,v 1.70 2012/07/01 14:09:45 wiz Exp $ -DISTNAME= gc-7.2b +DISTNAME= gc-7.2c PKGNAME= ${DISTNAME:S/gc/boehm-gc/} CATEGORIES= devel MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ @@ -12,7 +12,7 @@ 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$//} +WRKSRC= ${WRKDIR}/${DISTNAME:S/c$//} USE_TOOLS+= gmake USE_LANGUAGES= c c++ diff --git a/devel/boehm-gc/distinfo b/devel/boehm-gc/distinfo index 2f8e085ce8c..ae316ac3995 100644 --- a/devel/boehm-gc/distinfo +++ b/devel/boehm-gc/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.43 2012/05/29 14:35:41 wiz Exp $ +$NetBSD: distinfo,v 1.44 2012/07/01 14:09:45 wiz Exp $ -SHA1 (gc-7.2b.tar.gz) = 042b551d9e313557c8919375c669ae484237cf3e -RMD160 (gc-7.2b.tar.gz) = 8a4081e043bac2f6b00afd7fce24a5858d76d229 -Size (gc-7.2b.tar.gz) = 1261375 bytes +SHA1 (gc-7.2c.tar.gz) = 18c5b1aa9289a12fead3ceeda8fdc81f4ed08964 +RMD160 (gc-7.2c.tar.gz) = e7e421987f8cac240781bfd65b9f3d4417bf6711 +Size (gc-7.2c.tar.gz) = 1262215 bytes SHA1 (patch-ab) = c8b579752169c4400a11cb38d9f28fd5df3d9eb5 -SHA1 (patch-ac) = 36cfb12c8309f60232b9ba9a5430b6e24957339d diff --git a/devel/boehm-gc/patches/patch-ac b/devel/boehm-gc/patches/patch-ac deleted file mode 100644 index cb810377148..00000000000 --- a/devel/boehm-gc/patches/patch-ac +++ /dev/null @@ -1,37 +0,0 @@ -$NetBSD: patch-ac,v 1.15 2012/05/29 03:01:15 enami Exp $ - ---- dyn_load.c.orig 2007-12-19 02:37:12.000000000 +0300 -+++ dyn_load.c 2009-11-11 01:54:26.000000000 +0300 -@@ -78,6 +78,8 @@ - #endif - - #if defined(NETBSD) -+# include <sys/param.h> -+# include <dlfcn.h> - # include <machine/elf_machdep.h> - # define ELFSIZE ARCH_ELFSIZE - #endif -@@ -499,6 +501,15 @@ - return(0); - } - if( cachedResult == 0 ) { -+#if defined(NETBSD) && defined(RTLD_DI_LINKMAP) -+ struct link_map *lm = NULL; -+ int rv = dlinfo(RTLD_SELF, RTLD_DI_LINKMAP, &lm); -+ if (rv != 0) -+ return (0); -+ if (lm == NULL) -+ return (0); -+ cachedResult = lm; -+#else /* !(defined(NETBSD) && defined(RTLD_DI_LINKMAP)) */ - int tag; - for( dp = _DYNAMIC; (tag = dp->d_tag) != 0; dp++ ) { - if( tag == DT_DEBUG ) { -@@ -508,6 +519,7 @@ - break; - } - } -+#endif /* !(defined(NETBSD) && defined(RTLD_DI_LINKMAP)) */ - } - return cachedResult; - } |