Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 15:03:46 -0400 (EDT)
From:      Craig Rodrigues <rodrigc@attbi.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42785: databases/db2 does not compile with new compiler
Message-ID:  <200209141903.g8EJ3knT019100@dibbler.ne.client2.attbi.com>

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

>Number:         42785
>Category:       ports
>Synopsis:       databases/db2 does not compile with new compiler
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 14 12:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Craig Rodrigues
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD dibbler.ne.client2.attbi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Sun Sep 8 09:39:46 EDT 2002 rodrigc@dibbler.ne.client2.attbi.com:/usr/obj/usr/src/sys/MYKERNEL1 i386


	
>Description:
   databases/db2 port does not compile with GCC 3.2
>How-To-Repeat:
	
>Fix:


diff -urN /home/rodrigc/ports/databases/db2/files/patch-ab ./files/patch-ab
--- /home/rodrigc/ports/databases/db2/files/patch-ab	Wed Dec 31 19:00:00 1969
+++ ./files/patch-ab	Sat Sep 14 14:51:47 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 /home/rodrigc/ports/databases/db2/files/patch-ac ./files/patch-ac
--- /home/rodrigc/ports/databases/db2/files/patch-ac	Wed Dec 31 19:00:00 1969
+++ ./files/patch-ac	Sat Sep 14 14:51:47 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;
+ 

>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?200209141903.g8EJ3knT019100>