Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 1999 04:18:56 -0700
From:      aaron@mutex.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12762: upgrade for devel/boehm-gc from 4.12 to 4.14
Message-ID:  <199907221118.EAA13313@sigma.veritas.com>

next in thread | raw e-mail | index | archive | help

>Number:         12762
>Category:       ports
>Synopsis:       upgrade for devel/boehm-gc from 4.12 to 4.14
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 22 04:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Smith
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
Mutant X
>Environment:

	

>Description:

my mail to the MAINTAINER bounced so i am submitting this pr.

patches/patch-ad should be removed, it's no longer necessary.

here is a unified diff of the changes i made to upgrade the port:

Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/devel/boehm-gc/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	1999/06/12 21:14:30	1.5
+++ Makefile	1999/07/20 09:00:01
@@ -6,8 +6,8 @@
 # $Id: Makefile,v 1.5 1999/06/12 21:14:30 fenner Exp $
 #
 
-DISTNAME=	gc4.12
-PKGNAME=	boehm-gc-4.12
+DISTNAME=	gc4.14
+PKGNAME=	boehm-gc-4.14
 CATEGORIES=	devel
 MASTER_SITES=	http://reality.sgi.com/boehm_mti/gc_source/
 
Index: files/md5
===================================================================
RCS file: /usr/cvs/ports/devel/boehm-gc/files/md5,v
retrieving revision 1.2
diff -u -r1.2 md5
--- md5	1998/04/20 11:53:26	1.2
+++ md5	1999/07/20 09:00:27
@@ -1 +1 @@
-MD5 (gc4.12.tar.gz) = 4bd802b9f586cac4a841b4730a6f3449
+MD5 (gc4.14.tar.gz) = 2b852a33443116dbaa163494fd423027
Index: patches/patch-aa
===================================================================
RCS file: /usr/cvs/ports/devel/boehm-gc/patches/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- patch-aa	1998/04/20 11:53:27	1.2
+++ patch-aa	1999/07/20 09:17:42
@@ -1,10 +1,11 @@
---- Makefile.orig	Wed Aug 20 17:17:10 1997
-+++ Makefile	Mon Apr  6 03:21:15 1998
-@@ -15,7 +15,33 @@
- #  Under Irix 6, you will have to specify the ABI for as if you specify
- #  it for the C compiler.
+--- Makefile.orig	Tue Jul 20 02:13:46 1999
++++ Makefile	Tue Jul 20 02:17:01 1999
+@@ -16,8 +16,35 @@
+ #  Under Irix 6, you will have to specify the ABI (-o32, -n32, or -64)
+ #  if you use something other than the default ABI on your machine.
  
--CFLAGS= -O -DNO_SIGNALS -DALL_INTERIOR_POINTERS -DATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION -DSILENT
+-CFLAGS= -O -DATOMIC_UNCOLLECTABLE -DNO_SIGNALS -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS -DSILENT
+ 
 +# We want this to be a drop-in linkable library, hence the -DREDIRECT.
 +# The new c++-t and c++-nt (test and notest) are because we don't want
 +# to fill anyone's log with leak messages! - MMCG
@@ -32,19 +33,20 @@
 +	${INSTALL_DATA} libleak.a libgc.a ${PREFIX}/lib
 +	${INSTALL_DATA} gc.h gc_cpp.h ${PREFIX}/include
 +	${INSTALL_MAN} gc.man ${PREFIX}/man/man3/gc.3
++ 
+ # For dynamic library builds, it may be necessary to add flags to generate
+ # PIC code, e.g. -fPIC on Linux.
  
- # Setjmp_test may yield overly optimistic results when compiled
- # without optimization.
-@@ -162,8 +188,6 @@
+@@ -183,8 +210,6 @@
  # not time-critical anyway.
  # Set SPECIALCFLAGS to -q nodirect_code on Encore.
  
 -all: gc.a gctest
 -
- pcr: PCR-Makefile gc_private.h gc_hdrs.h gc.h config.h mach_dep.o $(SRCS)
+ pcr: PCR-Makefile gc_private.h gc_hdrs.h gc.h gcconfig.h mach_dep.o $(SRCS)
  	make -f PCR-Makefile depend
  	make -f PCR-Makefile
-@@ -210,13 +234,18 @@
+@@ -222,13 +247,18 @@
  	./if_mach HP_PA "" $(CXX) $(CXXFLAGS) -o test_cpp $(srcdir)/test_cpp.cc gc_cpp.o gc.a -ldld
  	./if_not_there test_cpp $(CXX) $(CXXFLAGS) -o test_cpp $(srcdir)/test_cpp.cc gc_cpp.o gc.a `./threadlibs`
  
@@ -55,11 +57,11 @@
 +	@echo "Use ./test_cpp 1 to test the leak library"
 +
  c++: gc_cpp.o $(srcdir)/gc_cpp.h test_cpp
- 	rm -f on_sparc_sunos5
- 	./if_mach SPARC SUNOS5 touch on_sparc_sunos5
+ 	rm -f on_sparc_sunos5_4
+ 	./if_mach SPARC SUNOS5 touch on_sparc_sunos5_4
  	./if_mach SPARC SUNOS5 $(AR) rus gc.a gc_cpp.o
- 	./if_not_there on_sparc_sunos5 $(AR) ru gc.a gc_cpp.o
- 	./if_not_there on_sparc_sunos5 $(RANLIB) gc.a || cat /dev/null
+ 	./if_not_there on_sparc_sunos5_4 $(AR) ru gc.a gc_cpp.o
+ 	./if_not_there on_sparc_sunos5_4 $(RANLIB) gc.a || cat /dev/null
 -	./test_cpp 1
  	echo > c++
  
Index: patches/patch-ac
===================================================================
RCS file: /usr/cvs/ports/devel/boehm-gc/patches/patch-ac,v
retrieving revision 1.2
diff -u -r1.2 patch-ac
--- patch-ac	1998/04/20 11:53:28	1.2
+++ patch-ac	1999/07/20 09:31:55
@@ -1,18 +1,13 @@
---- gc_priv.h.orig	Wed Aug 20 16:22:54 1997
-+++ gc_priv.h	Mon Apr  6 03:25:55 1998
-@@ -49,6 +49,10 @@
- #   include "gc_hdrs.h"
+--- gc_priv.h.orig	Mon Mar 22 11:44:53 1999
++++ gc_priv.h	Tue Jul 20 02:31:51 1999
+@@ -50,8 +50,13 @@
  # endif
  
+ typedef int GC_bool;
 +# ifdef __cplusplus
 +#	define TRUE true
 +#	define FALSE false
 +# else
- # if !defined(bool) && !defined(__cplusplus)
-     typedef int bool;
-     /* This is problematic with C++ implementations that do not define bool. */
-@@ -67,6 +71,7 @@
- # endif
  # define TRUE 1
  # define FALSE 0
 +# endif

>How-To-Repeat:

	

>Fix:
	

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907221118.EAA13313>