[Midnightbsd-cvs] mports [16483] trunk/devel/boehm-gc: bump

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Aug 19 07:43:24 EDT 2014


Revision: 16483
          http://svnweb.midnightbsd.org/mports/?rev=16483
Author:   laffer1
Date:     2014-08-19 07:43:23 -0400 (Tue, 19 Aug 2014)
Log Message:
-----------
bump

Modified Paths:
--------------
    trunk/devel/boehm-gc/Makefile
    trunk/devel/boehm-gc/distinfo
    trunk/devel/boehm-gc/pkg-descr
    trunk/devel/boehm-gc/pkg-plist

Added Paths:
-----------
    trunk/devel/boehm-gc/files/patch-doc_gc.man

Removed Paths:
-------------
    trunk/devel/boehm-gc/files/patch-ab
    trunk/devel/boehm-gc/files/patch-dbg_mlc.c
    trunk/devel/boehm-gc/files/patch-doc:Makefile.in
    trunk/devel/boehm-gc/files/patch-dyn_load.c
    trunk/devel/boehm-gc/files/patch-include-gc.h
    trunk/devel/boehm-gc/files/patch-include-private-gcconfig.h
    trunk/devel/boehm-gc/files/patch-os_dep.c

Modified: trunk/devel/boehm-gc/Makefile
===================================================================
--- trunk/devel/boehm-gc/Makefile	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/Makefile	2014-08-19 11:43:23 UTC (rev 16483)
@@ -1,58 +1,113 @@
 # $MidnightBSD$
 
-PORTNAME=	boehm-gc
-PORTVERSION=	6.8
-PORTREVISION=	1
+PORTNAME=	gc
+PORTVERSION=	7.4.2
 CATEGORIES=	devel
-MASTER_SITES=	http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
-DISTNAME=	gc${PORTVERSION:S/.a/alpha/}
+MASTER_SITES=	http://www.hboehm.info/gc/gc_source/
+PKGNAMEPREFIX=	boehm-
+.ifdef GC_VARIANT
+PKGNAMESUFFIX=	-${GC_VARIANT}
+.endif
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Garbage collection and memory leak detection for C and C++
-LICENSE=	other
 
-USE_AUTOTOOLS=	libtool
+LICENSE=	BDWGC
+LICENSE_NAME=	Boehm-Demers-Weiser Garbage Collector License
+LICENSE_TEXT=	License can be found at http://www.hboehm.info/gc/license.txt
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops
+
 GNU_CONFIGURE=	yes
+USES=		libtool pathfix pkgconfig
+USE_AUTOTOOLS=	aclocal autoconf libtoolize
 USE_LDCONFIG=	yes
-CONFIGURE_ARGS=	--enable-cplusplus
-OPTIONS=	REDIRECT "Define malloc(3)-family replacements" off \
-		FULLDEBUG "full-debug support (see documentation)" off \
-		THREADING "POSIX thread support" off \
-		PARALLEL_MARK "Parallel-thread marking (faster for SMP)" off
+INSTALL_TARGET=	install-strip
+CONFIGURE_ARGS=	--enable-cplusplus --disable-static
+MAKE_JOBS_UNSAFE=	yes
 
-.include <bsd.port.pre.mk>
+WRKSRC=		${WRKDIR}/${DISTNAME:C/[a-z]$//}
 
-.if defined(WITH_THREADING)
-CONFIGURE_ARGS+=	--enable-threads=posix --enable-thread-local-alloc
-CONFIGURE_ENV=	CFLAGSS="${CFLAGS} ${PTHREAD_CFLAGS}" \
-		LIBS="${LIBS} ${PTHREAD_LIBS:C/-pthread/-lpthread/}"
-.if defined(WITH_PARALLEL_MARK)
-CONFIGURE_ARGS+=	--enable-parallel-mark
-.endif
-PKGNAMESUFFIX=		+threaded
+OPTIONS_DEFINE=	DEBUG
+
+.ifdef GC_VARIANT
+INSTLIBS=	cord gc gccpp
+PLIST=		${NONEXISTENT}
+PLIST_FILES=	${INSTLIBS:S,^,lib/lib,g:S,$,-${GC_VARIANT}.so.${SOVER},g} \
+		${INSTLIBS:S,^,lib/lib,g:S,$,-${GC_VARIANT}.so,g} \
+		libdata/pkgconfig/bdw-gc-${GC_VARIANT}.pc
+RUN_DEPENDS+=	${LOCALBASE}/include/gc/gc.h:${PORTSDIR}/devel/boehm-gc
+SOVER=		1
+. if ${GC_VARIANT} == "redirect"
+CONFIGURE_ARGS+=--disable-threads --enable-redirect-malloc
+. endif
+. if ${GC_VARIANT} == "threaded"
+CONFIGURE_ARGS+=--enable-threads=posix --disable-redirect-malloc
+OPTIONS_DEFINE+=PARALLEL_MARK
+PARALLEL_MARK_DESC=	Parallel-thread marking (faster for SMP)
+. endif
 .else
-CONFIGURE_ARGS+=	--disable-threads
-PKGNAMESUFFIX=		# empty
+CONFIGURE_ARGS+=--disable-threads --disable-redirect-malloc
+OPTIONS_DEFINE+=DOCS
+PORTDOCS=	*
 .endif
-.if defined(WITH_REDIRECT)
-CONFIGURE_ARGS+=	--enable-redirect-malloc
-PKGNAMESUFFIX:=		${PKGNAMESUFFIX}+redirect
+
+.include <bsd.port.pre.mk>
+
+NOT_FOR_ARCHS=	ia64
+
+.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+=--enable-gc-debug
+PKGNAMESUFFIX:=	${PKGNAMESUFFIX}+fulldebug
 .endif
-.if defined(WITH_FULLDEBUG)
-CONFIGURE_ARGS+=	--enable-full-debug
-PKGNAMESUFFIX:=		${PKGNAMESUFFIX}+fulldebug
+
+.if defined(GC_VARIANT) && ${GC_VARIANT} == "threaded"
+. if ${PORT_OPTIONS:MPARALLEL_MARK}
+CONFIGURE_ARGS+=--enable-parallel-mark
+. endif
 .endif
 
-MAN3=		gc.3
+.ifdef GC_VARIANT
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's,libgc\.la,libgc-${GC_VARIANT}.la,g ; \
+		s,libgccpp\.la,libgccpp-${GC_VARIANT}.la,g ; \
+		s,libcord\.la,libcord-${GC_VARIANT}.la,g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e \
+		's,-lgc,-lgc-${GC_VARIANT},' ${WRKSRC}/bdw-gc.pc.in
 
-.if ${ARCH} == "ia64"
-BROKEN=		"Does not compile on ia64"
-.endif
+do-install:
+.for LIB in ${INSTLIBS}
+	${INSTALL_DATA} ${WRKSRC}/.libs/lib${LIB}-${GC_VARIANT}.so.${SOVER} \
+		${STAGEDIR}${PREFIX}/lib/lib${LIB}-${GC_VARIANT}.so.${SOVER}
+	${LN} -sf lib${LIB}-${GC_VARIANT}.so.${SOVER} \
+		${STAGEDIR}${PREFIX}/lib/lib${LIB}-${GC_VARIANT}.so
+.endfor
+	${INSTALL_DATA} ${WRKSRC}/bdw-gc.pc \
+		${STAGEDIR}${PREFIX}/libdata/pkgconfig/bdw-gc-${GC_VARIANT}.pc
+.else # ! GC_VARIANT
 
 post-patch:
 	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man
+	@${REINPLACE_CMD} \
+		-e "s|(datadir)/@PACKAGE@|(datadir)/doc/@PACKAGE@|" \
+		${WRKSRC}/Makefile.in
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
+	${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${STAGEDIR}${MAN3PREFIX}/man/man3/gc.3
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 
+.endif
+
+# Get rid of .la and static library files
+#
+post-configure:
+	@${REINPLACE_CMD} -E -e \
+	'/Install the pseudo-library/,/staticlibs=/s,^,#,' ${WRKSRC}/libtool
+
+regression-test: build
+	cd ${WRKSRC} && ${MAKE} check
+
 .include <bsd.port.post.mk>

Modified: trunk/devel/boehm-gc/distinfo
===================================================================
--- trunk/devel/boehm-gc/distinfo	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/distinfo	2014-08-19 11:43:23 UTC (rev 16483)
@@ -1,3 +1,2 @@
-SHA256 (gc6.8.tar.gz) = 448f8e4c6ee8c80eac059cf1c9379d20c388bcb900fc0796cd2a44d1dcbbae69
-RMD160 (gc6.8.tar.gz) = 6e894e7a51683a9342fd738baa6f1a2861e27400
-SIZE (gc6.8.tar.gz) = 756879
+SHA256 (gc-7.4.2.tar.gz) = 63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2
+SIZE (gc-7.4.2.tar.gz) = 1082597

Deleted: trunk/devel/boehm-gc/files/patch-ab
===================================================================
--- trunk/devel/boehm-gc/files/patch-ab	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/files/patch-ab	2014-08-19 11:43:23 UTC (rev 16483)
@@ -1,60 +0,0 @@
---- doc/gc.man.orig	Mon Oct  8 10:23:01 2001
-+++ doc/gc.man	Mon Oct  8 10:28:31 2001
-@@ -9,7 +9,7 @@
- ... malloc(...) ...
- .br
- .sp
--cc ... gc.a
-+cc ... -lgc
- .LP
- .SH DESCRIPTION
- .I GC_malloc
-@@ -67,6 +67,48 @@
- This may temporarily write protect pages in the heap.  See the README file for more information on how this interacts with system calls that write to the heap.
- .LP
- Other facilities not discussed here include limited facilities to support incremental collection on machines without appropriate VM support, provisions for providing more explicit object layout information to the garbage collector, more direct support for ``weak'' pointers, support for ``abortable'' garbage collections during idle time, etc.
-+.LP
-+.SH "PORT INFORMATION"
-+.LP
-+In this (FreeBSD package) installation,
-+.I gc.h
-+and
-+.I gc_cpp.h
-+will probably be found in
-+.I %%PREFIX%%/include,
-+and the library in
-+.I %%PREFIX%%/lib.
-+.LP
-+This library has been compiled as drop-in replacements
-+for malloc and free (which is to say, all malloc
-+calls will allocate garbage-collectable data).
-+There is no need to include "gc.h" in your C files unless you want
-+access to the debugging (and other) functions defined there,
-+or unless you want to explicitly use
-+.I GC_malloc_uncollectable
-+for some allocations.
-+Just link against them whenever you want either garbage
-+collection or leak detection.
-+.LP
-+The C++ header file, "gc_cpp.h",
-+.I is
-+necessary for C++ programs, to obtain the appropriate
-+definitions of the
-+.I new
-+and
-+.I delete
-+operators.
-+The comments in both of these header files presently
-+provide far better documentation
-+for the package than this man page;
-+look there for more information.
-+.LP
-+This library is compiled without (explicit) support
-+for the experimental
-+.I gc
-+extension of
-+.I g++.
-+This may or may not make a difference.
- .LP
- .SH "SEE ALSO"
- The README and gc.h files in the distribution.  More detailed definitions of the functions exported by the collector are given there.  (The above list is not complete.)

Deleted: trunk/devel/boehm-gc/files/patch-dbg_mlc.c
===================================================================
--- trunk/devel/boehm-gc/files/patch-dbg_mlc.c	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/files/patch-dbg_mlc.c	2014-08-19 11:43:23 UTC (rev 16483)
@@ -1,82 +0,0 @@
---- dbg_mlc.c.orig	Tue May 13 16:59:49 2003
-+++ dbg_mlc.c	Wed May 12 20:13:19 2004
-@@ -414,6 +414,23 @@
-     GC_register_displacement((word)sizeof(oh) + offset);
- }
- 
-+#if defined(__FreeBSD__)
-+#include <dlfcn.h>
-+static void GC_caller_func_offset(ad, symp, offp)
-+const GC_word ad;
-+const char **symp;
-+int *offp;
-+{
-+    Dl_info caller;
-+    if (dladdr((const void *)ad, &caller) && caller.dli_sname != NULL) {
-+      *symp = caller.dli_sname;
-+      *offp = (const char *)ad - (const char *)caller.dli_saddr;
-+    }
-+}
-+#else
-+#define GC_caller_func(ad, symp, offp)
-+#endif
-+
- # ifdef __STDC__
-     GC_PTR GC_debug_malloc(size_t lb, GC_EXTRA_PARAMS)
- # else
-@@ -428,6 +445,13 @@
- {
-     GC_PTR result = GC_malloc(lb + DEBUG_BYTES);
-     
-+#ifdef GC_ADD_CALLER
-+    if (s == NULL) {
-+      GC_caller_func_offset(ra, &s, &i);
-+      if (s == NULL)
-+        s = "unknown";
-+    }
-+#endif
-     if (result == 0) {
-         GC_err_printf1("GC_debug_malloc(%ld) returning NIL (",
-         	       (unsigned long) lb);
-@@ -789,6 +813,13 @@
-     register size_t old_sz;
-     register hdr * hhdr;
-     
-+#ifdef GC_ADD_CALLER
-+    if (s == NULL) {
-+      GC_caller_func_offset(ra, &s, &i);
-+      if (s == NULL)
-+        s = "unknown";
-+    }
-+#endif
-     if (p == 0) return(GC_debug_malloc(lb, OPT_RA s, i));
-     if (base == 0) {
-         GC_err_printf1(
-@@ -1094,7 +1125,11 @@
- }
- 
- #ifdef GC_ADD_CALLER
--# define RA GC_RETURN_ADDR,
-+# ifdef GC_RETURN_ADDR_PARENT
-+#  define RA GC_RETURN_ADDR_PARENT,
-+# else
-+#  define RA GC_RETURN_ADDR,
-+# endif
- #else
- # define RA
- #endif
-@@ -1102,12 +1137,12 @@
- GC_PTR GC_debug_malloc_replacement(lb)
- size_t lb;
- {
--    return GC_debug_malloc(lb, RA "unknown", 0);
-+    return GC_debug_malloc(lb, RA NULL, 0);
- }
- 
- GC_PTR GC_debug_realloc_replacement(p, lb)
- GC_PTR p;
- size_t lb;
- {
--    return GC_debug_realloc(p, lb, RA "unknown", 0);
-+    return GC_debug_realloc(p, lb, RA NULL, 0);
- }

Deleted: trunk/devel/boehm-gc/files/patch-doc:Makefile.in
===================================================================
--- trunk/devel/boehm-gc/files/patch-doc:Makefile.in	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/files/patch-doc:Makefile.in	2014-08-19 11:43:23 UTC (rev 16483)
@@ -1,11 +0,0 @@
---- doc/Makefile.in.orig	Mon May 16 20:28:05 2005
-+++ doc/Makefile.in	Fri Jun 17 21:24:36 2005
-@@ -30,7 +30,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
--pkgdatadir = $(datadir)/@PACKAGE@
-+pkgdatadir = $(datadir)/doc/@PACKAGE@
- pkglibdir = $(libdir)/@PACKAGE@
- pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ..

Added: trunk/devel/boehm-gc/files/patch-doc_gc.man
===================================================================
--- trunk/devel/boehm-gc/files/patch-doc_gc.man	                        (rev 0)
+++ trunk/devel/boehm-gc/files/patch-doc_gc.man	2014-08-19 11:43:23 UTC (rev 16483)
@@ -0,0 +1,60 @@
+--- doc/gc.man.orig	2012-07-25 14:54:48.000000000 +0300
++++ doc/gc.man	2012-07-25 14:57:40.000000000 +0300
+@@ -11,7 +11,7 @@
+ void * GC_realloc(void *ptr, size_t size);
+ .br
+ .sp
+-cc ... gc.a
++cc ... -lgc
+ .LP
+ .SH DESCRIPTION
+ .I GC_malloc
+@@ -88,6 +88,48 @@
+ .LP
+ Other facilities not discussed here include limited facilities to support incremental collection on machines without appropriate VM support, provisions for providing more explicit object layout information to the garbage collector, more direct support for ``weak'' pointers, support for ``abortable'' garbage collections during idle time, etc.
+ .LP
++.SH "PORT INFORMATION"
++.LP
++In this (FreeBSD package) installation,
++.I gc.h
++and
++.I gc_cpp.h
++will probably be found in
++.I %%PREFIX%%/include,
++and the library in
++.I %%PREFIX%%/lib.
++.LP
++This library has been compiled as drop-in replacements
++for malloc and free (which is to say, all malloc
++calls will allocate garbage-collectable data).
++There is no need to include "gc.h" in your C files unless you want
++access to the debugging (and other) functions defined there,
++or unless you want to explicitly use
++.I GC_malloc_uncollectable
++for some allocations.
++Just link against them whenever you want either garbage
++collection or leak detection.
++.LP
++The C++ header file, "gc_cpp.h",
++.I is
++necessary for C++ programs, to obtain the appropriate
++definitions of the
++.I new
++and
++.I delete
++operators.
++The comments in both of these header files presently
++provide far better documentation
++for the package than this man page;
++look there for more information.
++.LP
++This library is compiled without (explicit) support
++for the experimental
++.I gc
++extension of
++.I g++.
++This may or may not make a difference.
++.LP
+ .SH "SEE ALSO"
+ The README and gc.h files in the distribution.  More detailed definitions of the functions exported by the collector are given there.  (The above list is not complete.)
+ .LP

Deleted: trunk/devel/boehm-gc/files/patch-dyn_load.c
===================================================================
--- trunk/devel/boehm-gc/files/patch-dyn_load.c	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/files/patch-dyn_load.c	2014-08-19 11:43:23 UTC (rev 16483)
@@ -1,15 +0,0 @@
---- dyn_load.c.orig	Thu May  6 08:03:06 2004
-+++ dyn_load.c	Sun Oct 31 01:53:01 2004
-@@ -97,6 +97,12 @@
- #      else
- #        define ElfW(type) Elf64_##type
- #      endif
-+#    elif defined(__FreeBSD__)
-+#      if __ELF_WORD_SIZE == 32
-+#        define ElfW(type) Elf32_##type
-+#      else
-+#        define ElfW(type) Elf64_##type
-+#      endif
- #    else
- #      if !defined(ELF_CLASS) || ELF_CLASS == ELFCLASS32
- #        define ElfW(type) Elf32_##type

Deleted: trunk/devel/boehm-gc/files/patch-include-gc.h
===================================================================
--- trunk/devel/boehm-gc/files/patch-include-gc.h	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/files/patch-include-gc.h	2014-08-19 11:43:23 UTC (rev 16483)
@@ -1,10 +0,0 @@
---- include/gc.h.orig	Wed Jun  4 17:07:33 2003
-+++ include/gc.h	Wed May 12 20:03:22 2004
-@@ -487,6 +487,7 @@
-     /* gcc knows how to retrieve return address, but we don't know */
-     /* how to generate call stacks.				   */
- #   define GC_RETURN_ADDR (GC_word)__builtin_return_address(0)
-+#   define GC_RETURN_ADDR_PARENT (GC_word)__builtin_return_address(1)
- # else
-     /* Just pass 0 for gcc compatibility. */
- #   define GC_RETURN_ADDR 0

Deleted: trunk/devel/boehm-gc/files/patch-include-private-gcconfig.h
===================================================================
--- trunk/devel/boehm-gc/files/patch-include-private-gcconfig.h	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/files/patch-include-private-gcconfig.h	2014-08-19 11:43:23 UTC (rev 16483)
@@ -1,88 +0,0 @@
---- include/private/gcconfig.h.rorig	Sat Oct 15 16:40:25 2005
-+++ include/private/gcconfig.h	Sat Oct 15 16:42:43 2005
-@@ -62,7 +62,7 @@
- /* Determine the machine type: */
- # if defined(__arm__) || defined(__thumb__)
- #    define ARM32
--#    if !defined(LINUX) && !defined(NETBSD)
-+#    if !defined(LINUX) && !defined(NETBSD) && !defined(FREEBSD)
- #      define NOSYS
- #      define mach_type_known
- #    endif
-@@ -334,10 +334,22 @@
- #    define X86_64
- #    define mach_type_known
- # endif
-+# if defined(__FreeBSD__) && defined(__amd64__)
-+#    define X86_64
-+#    define mach_type_known
-+# endif
- # if defined(FREEBSD) && defined(__sparc__)
- #    define SPARC
- #    define mach_type_known
--#endif
-+# endif
-+# if defined(FREEBSD) && defined(__powerpc__)
-+#    define POWERPC
-+#    define mach_type_known
-+# endif
-+# if defined(FREEBSD) && defined(__arm__)
-+#    define ARM32
-+#    define mach_type_known
-+# endif
- # if defined(bsdi) && (defined(i386) || defined(__i386__))
- #    define I386
- #    define BSDI
-@@ -845,6 +857,16 @@
- #     define DATASTART GC_data_start
- #     define DYNAMIC_LOADING
- #   endif
-+#   ifdef FREEBSD
-+#   define ALIGNMENT 4
-+#       define OS_TYPE "FREEBSD"
-+#       ifdef __ELF__
-+#           define DYNAMIC_LOADING
-+#       endif
-+#	define HEURISTIC2
-+	extern char etext[];
-+#	define SEARCH_FOR_DATA_START
-+#   endif
- #   ifdef NOSYS
- #     define ALIGNMENT 4
- #     define OS_TYPE "NOSYS"
-@@ -1807,6 +1829,17 @@
- #	endif
- #       define USE_GENERIC_PUSH_REGS
- #   endif
-+#   ifdef FREEBSD
-+#   define ALIGNMENT 4
-+#       define OS_TYPE "FREEBSD"
-+#       ifdef __ELF__
-+#           define DYNAMIC_LOADING
-+#       endif
-+#       define HEURISTIC2
-+	extern char etext[];
-+#       define SEARCH_FOR_DATA_START
-+#   endif
-+		   
- #   ifdef LINUX
- #       define OS_TYPE "LINUX"
- #       define LINUX_STACKBOTTOM
-@@ -1957,6 +1990,17 @@
- #	ifdef __ELF__
- #	    define DYNAMIC_LOADING
- #	endif
-+#	define HEURISTIC2
-+	extern char etext[];
-+#	define SEARCH_FOR_DATA_START
-+#   endif
-+#   ifdef FREEBSD
-+#       define OS_TYPE "FREEBSD"
-+#       define SIG_SUSPEND SIGUSR1
-+#       define SIG_THR_RESTART SIGUSR2
-+#       ifdef __ELF__
-+#           define DYNAMIC_LOADING
-+#       endif
- #	define HEURISTIC2
- 	extern char etext[];
- #	define SEARCH_FOR_DATA_START

Deleted: trunk/devel/boehm-gc/files/patch-os_dep.c
===================================================================
--- trunk/devel/boehm-gc/files/patch-os_dep.c	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/files/patch-os_dep.c	2014-08-19 11:43:23 UTC (rev 16483)
@@ -1,29 +0,0 @@
---- os_dep.c.orig	Thu May 19 20:48:49 2005
-+++ os_dep.c	Fri Jun 17 21:28:07 2005
-@@ -699,7 +699,7 @@
-     || defined(HURD) || defined(NETBSD)
- 	static struct sigaction old_segv_act;
- #	if defined(IRIX5) || defined(HPUX) \
--	|| defined(HURD) || defined(NETBSD)
-+	|| defined(HURD) || defined(NETBSD) || defined(FREEBSD)
- 	    static struct sigaction old_bus_act;
- #	endif
- #   else
-@@ -714,7 +714,7 @@
- #   endif
-     {
- #	if defined(SUNOS5SIGS) || defined(IRIX5)  \
--        || defined(OSF1) || defined(HURD) || defined(NETBSD)
-+        || defined(OSF1) || defined(HURD) || defined(NETBSD) || defined(FREEBSD)
- 	  struct sigaction	act;
- 
- 	  act.sa_handler	= h;
-@@ -736,7 +736,7 @@
- #	  else
- 	        (void) sigaction(SIGSEGV, &act, &old_segv_act);
- #		if defined(IRIX5) \
--		   || defined(HPUX) || defined(HURD) || defined(NETBSD)
-+		   || defined(HPUX) || defined(HURD) || defined(NETBSD) || defined(FREEBSD)
- 		    /* Under Irix 5.x or HP/UX, we may get SIGBUS.	*/
- 		    /* Pthreads doesn't exist under Irix 5.x, so we	*/
- 		    /* don't have to worry in the threads case.		*/

Modified: trunk/devel/boehm-gc/pkg-descr
===================================================================
--- trunk/devel/boehm-gc/pkg-descr	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/pkg-descr	2014-08-19 11:43:23 UTC (rev 16483)
@@ -7,15 +7,11 @@
 inform you of memory leaks (if they find memory they can free, it means
 you have lost all of your pointers to it, but you didn't free it).
 
-This package has two libraries and some include files:
-libgc.a - a garbage collection library, replaces malloc/free/new/delete/etc
-    with versions that do automatic garbage collection
-libleak.a - a leak detection library, which is just libgc.a compiled with
-    different switches.
-
 C programs may be linked against either of these, and should run (with
 GC or leak detection) without change.  C++ programs must include a header
 to use garbage collection, though leak detection should work without
 such source code modifications.  See the man page and header files.
 
-WWW: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
+ps: garbage collection is addictive.
+
+WWW: http://www.hboehm.info/gc/

Modified: trunk/devel/boehm-gc/pkg-plist
===================================================================
--- trunk/devel/boehm-gc/pkg-plist	2014-08-19 11:37:51 UTC (rev 16482)
+++ trunk/devel/boehm-gc/pkg-plist	2014-08-19 11:43:23 UTC (rev 16483)
@@ -1,67 +1,31 @@
+include/gc.h
+include/gc/cord.h
 include/gc/gc.h
-include/gc/gc_alloc.h
 include/gc/gc_allocator.h
-include/gc/gc_amiga_redirects.h
 include/gc/gc_backptr.h
 include/gc/gc_config_macros.h
 include/gc/gc_cpp.h
+include/gc/gc_disclaim.h
 include/gc/gc_gcj.h
-include/gc/gc_inl.h
 include/gc/gc_inline.h
-include/gc/gc_local_alloc.h
 include/gc/gc_mark.h
 include/gc/gc_pthread_redirects.h
+include/gc/gc_tiny_fl.h
 include/gc/gc_typed.h
+include/gc/gc_version.h
+include/gc/javaxfc.h
 include/gc/leak_detector.h
-include/gc/new_gc_alloc.h
 include/gc/weakpointer.h
-include/gc.h
-include/gc_allocator.h
-include/gc_config_macros.h
 include/gc_cpp.h
-include/gc_local_alloc.h
-include/gc_pthread_redirects.h
-include/gc_typed.h
-include/leak_detector.h
-lib/libgc.a
-lib/libgc.la
+lib/libcord.so
+lib/libcord.so.1
+lib/libcord.so.1.0.3
 lib/libgc.so
 lib/libgc.so.1
-lib/libgccpp.a
-lib/libgccpp.la
+lib/libgc.so.1.0.3
 lib/libgccpp.so
 lib/libgccpp.so.1
-share/doc/gc/README
-share/doc/gc/README.DGUX386
-share/doc/gc/README.Mac
-share/doc/gc/README.MacOSX
-share/doc/gc/README.OS2
-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.contributors
-share/doc/gc/README.cords
-share/doc/gc/README.darwin
-share/doc/gc/README.dj
-share/doc/gc/README.environment
-share/doc/gc/README.ews4800
-share/doc/gc/README.hp
-share/doc/gc/README.linux
-share/doc/gc/README.macros
-share/doc/gc/README.rs6000
-share/doc/gc/README.sgi
-share/doc/gc/README.solaris2
-share/doc/gc/README.uts
-share/doc/gc/README.win32
-share/doc/gc/barrett_diagram
-share/doc/gc/debugging.html
-share/doc/gc/gc.man
-share/doc/gc/gcdescr.html
-share/doc/gc/gcinterface.html
-share/doc/gc/leak.html
-share/doc/gc/scale.html
-share/doc/gc/simple_example.html
-share/doc/gc/tree.html
- at dirrm share/doc/gc
+lib/libgccpp.so.1.0.3
+libdata/pkgconfig/bdw-gc.pc
+man/man3/gc.3.gz
 @dirrm include/gc



More information about the Midnightbsd-cvs mailing list