Sun Jun 12 14:36:29 2016 UTC ()
Updated boehm-gc to 7.4.4.

== [7.4.4] 2016-05-25 ==

* Allow GC_FAST_MALLOC_GRANS() multiple use in a function.
* Also enable the TSX workaround for i386 (Linux).
* Avoid unstructured procfs on Solaris.
* Change cord/de main() declaration style from K-R to ANSI C.
* Change no-argument functions declaration style to ANSI C (cord).
* Do not include sigcontext.h and asm/sigcontext.h.
* Eliminate 'divide by zero' compiler warning in cordtest.
* Eliminate warning about 64-bit pointer-to-int cast (Win64/pthreads-w32).
* Eliminate warnings detected by Cppcheck in cord de[_win].
* Fix 'comparison of non-null parameter is always false' warning (Clang).
* Fix 'CORD_iter5 unused result' code defect in cordxtra.
* Fix 'GC_generic_malloc_inner_ignore_off_page not used' compiler warning.
* Fix 'implicit declaration of vsnprintf' GCC warning (if strict ANSI mode).
* Fix 'signed-to-bigger-unsigned value assignment' in GC_init_size_map.
* Fix 'signed-to-bigger-unsigned value assignment' warning for hb_map.
* Fix 'signed-to-bigger-unsigned value assignment' warning in GC_setpagesize.
* Fix 'statement unreachable' compiler warning in GC_mark_from.
* Fix 'statement unreachable' compiler warning in memalign.
* Fix 'unused label' compiler warning in cord/de.
* Fix 'value truncated' compiler warning in CORD_cat (MS VC).
* Fix 'variable unused' warning in GC_save_callers.
* Fix 'visibility attribute not supported' GCC warning (IBM AIX).
* Fix CMake warning about CMP0054 by unquoting instances of HOST.
* Fix Cygwin64 build.
* Fix GC_REALLOC to call GC_FREE if new size is zero and pointer is non-NULL.
* Fix Makefile.direct for Cygwin.
* Fix __alloc_size__ availability detection (Clang).
* Fix abort message in GC_move_long_link.
* Fix and code refactoring of lock elision workaround (Linux/x64).
* Fix assertion on mark_lock_holder for non-unique NUMERIC_THREAD_ID.
* Fix data race in GC_init_explicit_typing.
* Fix gc.mak regarding msvc_dbg and test (MSVC).
* Fix missing error handling of pthread_attr_init/getstacksize.
* Fix missing error handling of pthreads_mutex_init and cond_wait.
* Fix missing numeric casts in cord.
* Fix potential left shift overflows in finalize.c (64-bit targets).
* Fix pthreads-win32 name in comments and documentation.
* Fix setup_mark_lock missing prototype.
* Fix unchecked fcntl() result.
* Fix unchecked pointer dereference in check_ints (gctest).
* Fix unchecked pthread_join() result in threadkey_test.
* Fix unchecked sigdelset() result in pthread_support.
* Fix undefined PTRFREE/NORMAL in gc_inline.h.
* Prefix PREFETCH_FOR_WRITE with GC_ as used in gc_inline.h public header.
* Relax mark_mutex attribute needed to disable elision (Linux/x64).
* Remove (deprecate) TODO file.
* Remove code duplication in GC_realloc.
* Remove duplicate new-line in OUT_OF_MEMORY message (cord).
* Remove references to missing linux_threads.c from documentation.
* Revert "Move asm machine-dependent files to 'src' folder" (partly).
* Support Android API level 21.
* Update compiler options in gc.mak (Win32).
* Use mmap instead of sbrk (Hurd).
* Workaround 'comparison is always false' GCC warning in GC_FAST_MALLOC_GRANS.
* Workaround 'identical expr on both sides of bitwise op' warning.
* Workaround Linux NTPL lock elision bug.
* Workaround false warning about unreachable code path.
* Workaround invalid '_end' symbol on Android clang 3.5+.
Also, includes 7.2g changes.


(wiz)
diff -r1.81 -r1.82 pkgsrc/devel/boehm-gc/Makefile
diff -r1.15 -r1.16 pkgsrc/devel/boehm-gc/PLIST
diff -r1.53 -r1.54 pkgsrc/devel/boehm-gc/distinfo
diff -r1.1 -r0 pkgsrc/devel/boehm-gc/patches/patch-dyn__load.c

cvs diff -r1.81 -r1.82 pkgsrc/devel/boehm-gc/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/boehm-gc/Makefile 2015/02/16 08:07:20 1.81
+++ pkgsrc/devel/boehm-gc/Makefile 2016/06/12 14:36:29 1.82
@@ -1,45 +1,40 @@ @@ -1,45 +1,40 @@
1# $NetBSD: Makefile,v 1.81 2015/02/16 08:07:20 tnn Exp $ 1# $NetBSD: Makefile,v 1.82 2016/06/12 14:36:29 wiz Exp $
2 2
3DISTNAME= gc-7.4.2 3DISTNAME= gc-7.4.4
4PKGNAME= ${DISTNAME:S/gc/boehm-gc/} 4PKGNAME= ${DISTNAME:S/gc/boehm-gc/}
5PKGREVISION= 1 
6CATEGORIES= devel 5CATEGORIES= devel
7MASTER_SITES= http://www.hboehm.info/gc/gc_source/ 6MASTER_SITES= http://www.hboehm.info/gc/gc_source/
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.hboehm.info/gc/ 9HOMEPAGE= http://www.hboehm.info/gc/
11COMMENT= Garbage collection and memory leak detection for C and C++ 10COMMENT= Garbage collection and memory leak detection for C and C++
12 11
13USE_TOOLS+= gmake pkg-config 12USE_TOOLS+= gmake pkg-config
14USE_LANGUAGES= c c++ 13USE_LANGUAGES= c c++
15USE_LIBTOOL= YES 14USE_LIBTOOL= YES
16GNU_CONFIGURE= YES 15GNU_CONFIGURE= YES
17CONFIGURE_ARGS+= --enable-cplusplus 16CONFIGURE_ARGS+= --enable-cplusplus
18CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc 17CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
19PKGCONFIG_OVERRIDE= bdw-gc.pc.in 18PKGCONFIG_OVERRIDE= bdw-gc.pc.in
20INSTALLATION_DIRS= ${PKGMANDIR}/man3 19INSTALLATION_DIRS= ${PKGMANDIR}/man3
21 20
22TEST_TARGET= check 21TEST_TARGET= check
23 22
24.include "../../mk/bsd.prefs.mk" 23.include "../../mk/bsd.prefs.mk"
25 24
26.if ${OPSYS} == "Darwin" && empty(OS_VERSION:M[1-9].*) 25.if ${OPSYS} == "Darwin" && empty(OS_VERSION:M[1-9].*)
27CFLAGS+= -D_XOPEN_SOURCE 26CFLAGS+= -D_XOPEN_SOURCE
28.endif 27.endif
29 28
30.include "options.mk" 29.include "options.mk"
31 30
32# https://github.com/ivmai/bdwgc/issues/65 
33post-extract: 
34 mv ${WRKSRC}/src/* ${WRKSRC} 
35 
36post-install: 31post-install:
37 ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/gc.3 32 ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/gc.3
38 33
39do-test: 34do-test:
40 cd ${WRKSRC} && \ 35 cd ${WRKSRC} && \
41 ${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \ 36 ${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \
42 ${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10 37 ${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10
43 38
44.include "../../devel/libatomic_ops/buildlink3.mk" 39.include "../../devel/libatomic_ops/buildlink3.mk"
45.include "../../mk/bsd.pkg.mk" 40.include "../../mk/bsd.pkg.mk"

cvs diff -r1.15 -r1.16 pkgsrc/devel/boehm-gc/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/boehm-gc/PLIST 2014/06/15 14:19:07 1.15
+++ pkgsrc/devel/boehm-gc/PLIST 2016/06/12 14:36:29 1.16
@@ -1,16 +1,18 @@ @@ -1,16 +1,18 @@
1@comment $NetBSD: PLIST,v 1.15 2014/06/15 14:19:07 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.16 2016/06/12 14:36:29 wiz Exp $
2include/gc.h 2include/gc.h
3include/gc/cord.h 3include/gc/cord.h
 4include/gc/cord_pos.h
 5include/gc/ec.h
4include/gc/gc.h 6include/gc/gc.h
5include/gc/gc_allocator.h 7include/gc/gc_allocator.h
6include/gc/gc_backptr.h 8include/gc/gc_backptr.h
7include/gc/gc_config_macros.h 9include/gc/gc_config_macros.h
8include/gc/gc_cpp.h 10include/gc/gc_cpp.h
9include/gc/gc_disclaim.h 11include/gc/gc_disclaim.h
10include/gc/gc_gcj.h 12include/gc/gc_gcj.h
11include/gc/gc_inline.h 13include/gc/gc_inline.h
12include/gc/gc_mark.h 14include/gc/gc_mark.h
13include/gc/gc_pthread_redirects.h 15include/gc/gc_pthread_redirects.h
14include/gc/gc_tiny_fl.h 16include/gc/gc_tiny_fl.h
15include/gc/gc_typed.h 17include/gc/gc_typed.h
16include/gc/gc_version.h 18include/gc/gc_version.h

cvs diff -r1.53 -r1.54 pkgsrc/devel/boehm-gc/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/boehm-gc/distinfo 2015/11/03 03:27:16 1.53
+++ pkgsrc/devel/boehm-gc/distinfo 2016/06/12 14:36:29 1.54
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.53 2015/11/03 03:27:16 agc Exp $ 1$NetBSD: distinfo,v 1.54 2016/06/12 14:36:29 wiz Exp $
2 2
3SHA1 (gc-7.4.2.tar.gz) = cd4a54620c38a2c361b3ee99dd134dbffb57c313 3SHA1 (gc-7.4.4.tar.gz) = 52adf4e7779c0a890ec70d0a41671eefdcc4181a
4RMD160 (gc-7.4.2.tar.gz) = 106bda88d4e47c32f5ba4137c82fa173313d09a9 4RMD160 (gc-7.4.4.tar.gz) = 9b54376124a5cac86ff56dbbc2ecdbfef2cf25cd
5SHA512 (gc-7.4.2.tar.gz) = 2e21516addf268780641ee55c0cb3ecc2d96fa963faffee5beadcade9c6bf1ee49ee1a75b076b5d49ddde7c839fb94f4c3623ca8412d14c2a5bf6ca30d424a72 5SHA512 (gc-7.4.4.tar.gz) = e54fbbbd74c21c87764ab0d4af17029b3fa2b9c1de1e926459affff0a46951b5cf6d6886fa1be437c0b4b42c20e5a6a1641d433f70efa4b465f7fad5ab41af12
6Size (gc-7.4.2.tar.gz) = 1082597 bytes 6Size (gc-7.4.4.tar.gz) = 1103245 bytes
7SHA1 (patch-dyn__load.c) = cd224eb9e31deba2f5a29f3202d8ef130e8fdaae 

File Deleted: pkgsrc/devel/boehm-gc/patches/Attic/patch-dyn__load.c