Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 10:16:31 -0400
From:      Craig Rodrigues <rodrigc@attbi.com>
To:        Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc:        freebsd-ports@FreeBSD.ORG, arved@FreeBSD.ORG
Subject:   Re: ports/42785: databases/db2 does not compile with new compiler
Message-ID:  <20021026101631.A44292@attbi.com>
In-Reply-To: <20021026133120.GB33040@vega.vega.com>; from sobomax@FreeBSD.ORG on Sat, Oct 26, 2002 at 04:31:20PM %2B0300
References:  <200210261320.g9QDK2F1045849@freefall.freebsd.org> <20021026133120.GB33040@vega.vega.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 26, 2002 at 04:31:20PM +0300, Maxim Sobolev wrote:
> 
> Sorry, I saw your message, but unfortunately currently is too
> busy to address it, especially considering that the port is
> already unbroken. I'd suggest to you to submit your patch to
> vendor of the db2 instead, so that it will be integrated into
> the next release.

I appreciate that you are busy getting things ready for the release,
but I am a bit disappointed that my patch, which is quite small,
is not getting looked at.

Can someone who has a few minutes look at my patch evaluate it,
and if it meets the requirements commit it?

I am re-submitting what I posted in PR 42785, with a minor addition
to revert the addition of -fpermissive in the Makefile.

Thanks.


diff -urN db2.orig/Makefile db2/Makefile
--- db2.orig/Makefile	Sat Oct 26 09:55:59 2002
+++ db2/Makefile	Sat Oct 26 10:08:27 2002
@@ -22,7 +22,6 @@
 CONFIGURE_SCRIPT=	../dist/configure
 CONFIGURE_ARGS=		--enable-compat185 \
 			--enable-dump185 --enable-cxx
-CFLAGS+=	-fpermissive
 
 post-install:
 	@-${RM} -fr ${PREFIX}/share/examples/db2
diff -urN db2.orig/files/patch-ab db2/files/patch-ab
--- db2.orig/files/patch-ab	Wed Dec 31 19:00:00 1969
+++ db2/files/patch-ab	Sat Oct 26 10:09:17 2002
@@ -0,0 +1,11 @@
+--- ../include/db_cxx.h.orig	Tue Aug 31 13:45:43 1999
++++ ../include/db_cxx.h	Sat Sep 14 14:50:27 2002
+@@ -717,7 +717,7 @@
+     // call set_error_stream() to force all errors to a C++ stream.
+     // It is unwise to mix these approaches.
+     //
+-    void set_error_stream(class ostream*);
++    void set_error_stream(ostream*);
+ 
+     // used internally
+     static int runtime_error(const char *caller, int err,
diff -urN db2.orig/files/patch-ac db2/files/patch-ac
--- db2.orig/files/patch-ac	Wed Dec 31 19:00:00 1969
+++ db2/files/patch-ac	Sat Oct 26 10:09:17 2002
@@ -0,0 +1,11 @@
+--- ../cxx/cxx_app.cpp.orig	Wed Dec 16 14:53:47 1998
++++ ../cxx/cxx_app.cpp	Sat Sep 14 14:50:30 2002
+@@ -125,7 +125,7 @@
+ // db_env triggered the call.  A user that has multiple DB_ENVs
+ // will simply not be able to have different streams for each one.
+ //
+-void DbEnv::set_error_stream(class ostream *stream)
++void DbEnv::set_error_stream(ostream *stream)
+ {
+     error_stream_ = stream;
+ 




-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com

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?20021026101631.A44292>