Index: head/devel/boehm-gc/Makefile =================================================================== --- head/devel/boehm-gc/Makefile (revision 148098) +++ head/devel/boehm-gc/Makefile (revision 148099) @@ -1,70 +1,70 @@ # New ports collection makefile for: boehm-gc # Date created: 15 November 1996 # Whom: Mike McGaughey # # $FreeBSD$ # PORTNAME= boehm-gc PORTVERSION= 6.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ DISTNAME= gc${PORTVERSION:S/.a/alpha/} MAINTAINER= nobutaka@FreeBSD.org COMMENT= Garbage collection and memory leak detection for C and C++ USE_INC_LIBTOOL_VER= 13 USE_GNOME= lthack USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} INSTALLS_SHLIB= yes CONFIGURE_ARGS= --prefix=${PREFIX} --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 .include .if defined(WITH_THREADING) CONFIGURE_ARGS+= --enable-threads=posix --enable-thread-local-alloc .if ${OSVERSION} < 502102 CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ LIBS="${LIBS} -lc_r" .else CONFIGURE_ENV= CFLAGSS="${CFLAGS} ${PTHREAD_CFLAGS}" \ LIBS="${LIBS} -lpthread" .endif .if defined(WITH_PARALLEL_MARK) CONFIGURE_ARGS+= --enable-parallel-mark .endif PKGNAMESUFFIX= +threaded .else CONFIGURE_ARGS+= --disable-threads PKGNAMESUFFIX= # empty .endif .if defined(WITH_REDIRECT) CONFIGURE_ARGS+= --enable-redirect-malloc PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+redirect .endif .if defined(WITH_FULLDEBUG) CONFIGURE_ARGS+= --enable-full-debug PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+fulldebug .endif MAN3= gc.3 .if ${ARCH} == "ia64" BROKEN= "Does not compile on ia64" .endif post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man post-install: ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3 .include Property changes on: head/devel/boehm-gc/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.46 \ No newline at end of property +1.47 \ No newline at end of property Index: head/devel/boehm-gc/files/patch-include_gc_cpp.h =================================================================== --- head/devel/boehm-gc/files/patch-include_gc_cpp.h (revision 148098) +++ head/devel/boehm-gc/files/patch-include_gc_cpp.h (revision 148099) @@ -1,20 +1,29 @@ ---- include/gc_cpp.h.orig Thu Oct 14 12:19:56 2004 -+++ include/gc_cpp.h Thu Oct 14 12:20:15 2004 -@@ -276,7 +276,7 @@ +--- include/gc_cpp.h.orig Fri Oct 22 07:47:45 2004 ++++ include/gc_cpp.h Sun Nov 13 22:19:07 2005 +@@ -180,7 +180,7 @@ + inline void* operator new[]( size_t size, void *p ); + inline void operator delete[]( void* obj ); + # ifdef GC_PLACEMENT_DELETE +- inline void gc::operator delete[]( void*, void* ); ++ inline void operator delete[]( void*, void* ); + # endif + #endif /* GC_OPERATOR_NEW_ARRAY */ + }; +@@ -281,7 +281,7 @@ else return GC_MALLOC_UNCOLLECTABLE( size );} -inline void* gc::operator new( size_t size, void *p ) { +inline void* gc::operator new( size_t, void *p ) { return p;} inline void gc::operator delete( void* obj ) { -@@ -294,7 +294,7 @@ +@@ -299,7 +299,7 @@ inline void* gc::operator new[]( size_t size, GCPlacement gcp ) { return gc::operator new( size, gcp );} -inline void* gc::operator new[]( size_t size, void *p ) { +inline void* gc::operator new[]( size_t, void *p ) { return p;} inline void gc::operator delete[]( void* obj ) { Property changes on: head/devel/boehm-gc/files/patch-include_gc_cpp.h ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property