1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Add configuration to force using mmap

- Regenerate patches with makepatch
- Update MAINTAINER to my @FreeBSD.org address
- Bump PORTREVISION

PR:	208995
Submitted by:	andrew
Approved by:	junovitch (mentor)
This commit is contained in:
Carlos J. Puga Medina 2016-04-29 15:22:19 +00:00
parent 4efbbe5d03
commit 146c716b8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414277
3 changed files with 18 additions and 7 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= gc
PORTVERSION= 7.4.2
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= http://www.hboehm.info/gc/gc_source/
PKGNAMEPREFIX= boehm-
@ -11,7 +11,7 @@ PKGNAMEPREFIX= boehm-
PKGNAMESUFFIX= -${GC_VARIANT}
.endif
MAINTAINER= cpm@fbsd.es
MAINTAINER= cpm@FreeBSD.org
COMMENT= Garbage collection and memory leak detection for C and C++
LICENSE= BDWGC
@ -91,7 +91,6 @@ post-install:
${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} \

View File

@ -0,0 +1,12 @@
--- configure.orig 2014-06-03 20:08:54 UTC
+++ configure
@@ -15639,6 +15639,9 @@ else
fi
case "${host}" in
+ *-freebsd*)
+ gc_use_mmap=yes
+ ;;
*-linux*)
# FIXME: This seems to be no longer needed as configured in gcconfig.h
#gc_use_mmap=yes

View File

@ -1,6 +1,6 @@
--- 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 @@
--- doc/gc.man.orig 2014-05-22 20:47:28 UTC
+++ doc/gc.man
@@ -11,7 +11,7 @@ void GC_free(void *ptr);
void * GC_realloc(void *ptr, size_t size);
.br
.sp
@ -9,7 +9,7 @@
.LP
.SH DESCRIPTION
.I GC_malloc
@@ -88,6 +88,48 @@
@@ -88,6 +88,48 @@ This may temporarily write protect pages
.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