From owner-freebsd-ports Sat Oct 26 7:16:22 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F28637B401; Sat, 26 Oct 2002 07:16:20 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCDA543E4A; Sat, 26 Oct 2002 07:16:19 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g9QEGVRD044321; Sat, 26 Oct 2002 10:16:31 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g9QEGV8m044320; Sat, 26 Oct 2002 10:16:31 -0400 (EDT) Date: Sat, 26 Oct 2002 10:16:31 -0400 From: Craig Rodrigues To: Maxim Sobolev 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> References: <200210261320.g9QDK2F1045849@freefall.freebsd.org> <20021026133120.GB33040@vega.vega.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021026133120.GB33040@vega.vega.com>; from sobomax@FreeBSD.ORG on Sat, Oct 26, 2002 at 04:31:20PM +0300 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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