aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-08 19:32:00 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-08 19:32:00 +0000
commit2edc3cc7679f2b270e48b00a293e7d05df12491a (patch)
tree92deb62c34260d91704a65e3c9ca7da99a7f02c7
parent6ac0595b66ceffa5b2c4ea3ae8c6dd68042c3bf3 (diff)
downloadports-2edc3cc7679f2b270e48b00a293e7d05df12491a.tar.gz
ports-2edc3cc7679f2b270e48b00a293e7d05df12491a.zip
Notes
-rw-r--r--databases/db2/Makefile1
-rw-r--r--databases/db2/files/patch-ab11
-rw-r--r--databases/db2/files/patch-ac11
3 files changed, 22 insertions, 1 deletions
diff --git a/databases/db2/Makefile b/databases/db2/Makefile
index 0b615431c6cd..88dc6f065309 100644
--- a/databases/db2/Makefile
+++ b/databases/db2/Makefile
@@ -24,7 +24,6 @@ GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
CONFIGURE_ARGS= --enable-compat185 \
--enable-dump185 --enable-cxx
-CFLAGS+= -fpermissive
post-install:
@-${RM} -fr ${PREFIX}/share/examples/db2
diff --git a/databases/db2/files/patch-ab b/databases/db2/files/patch-ab
new file mode 100644
index 000000000000..16160886f375
--- /dev/null
+++ b/databases/db2/files/patch-ab
@@ -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 --git a/databases/db2/files/patch-ac b/databases/db2/files/patch-ac
new file mode 100644
index 000000000000..83873426b6ed
--- /dev/null
+++ b/databases/db2/files/patch-ac
@@ -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;
+