summaryrefslogtreecommitdiff
path: root/databases/bdb-xml
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-01-29 21:48:41 +0000
committermarkd <markd@pkgsrc.org>2011-01-29 21:48:41 +0000
commit1bfec18693b33eb80509549cb413755bae55751a (patch)
tree34da0f3ad8129fa6fa6b84a27f9b0914435893e9 /databases/bdb-xml
parent4a26768d33065c490245d28fa1069d5ee915de51 (diff)
downloadpkgsrc-1bfec18693b33eb80509549cb413755bae55751a.tar.gz
Fix build with gcc4.3
Diffstat (limited to 'databases/bdb-xml')
-rw-r--r--databases/bdb-xml/distinfo8
-rw-r--r--databases/bdb-xml/patches/patch-af16
-rw-r--r--databases/bdb-xml/patches/patch-ag14
-rw-r--r--databases/bdb-xml/patches/patch-ah14
-rw-r--r--databases/bdb-xml/patches/patch-ai14
-rw-r--r--databases/bdb-xml/patches/patch-aj14
-rw-r--r--databases/bdb-xml/patches/patch-ak15
7 files changed, 94 insertions, 1 deletions
diff --git a/databases/bdb-xml/distinfo b/databases/bdb-xml/distinfo
index c0930d4b451..294a72d98d6 100644
--- a/databases/bdb-xml/distinfo
+++ b/databases/bdb-xml/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2009/07/17 18:26:30 hasso Exp $
+$NetBSD: distinfo,v 1.9 2011/01/29 21:48:41 markd Exp $
SHA1 (dbxml-1.2.1.tar.gz) = cc6ce354b3fb2e00d5b424c0b15ecee4ec340842
RMD160 (dbxml-1.2.1.tar.gz) = 162f3e14e509aefd764bb97af80d5bbf06151df7
@@ -8,3 +8,9 @@ SHA1 (patch-ab) = 4e124704238d4d3c6fc753d28ce3cb0bd5e3731f
SHA1 (patch-ac) = b19ca080112614634660a8d77303bbdc0a4b7adc
SHA1 (patch-ad) = dfbfa3fe27f8da99b35964223a754f8223a5b7e9
SHA1 (patch-ae) = 75a640c3d00541891ff46096096d434d37c28669
+SHA1 (patch-af) = 57894e4e5735d13e660e363e03584b47aa3db542
+SHA1 (patch-ag) = 9353901e470ae6ba793218ae1f782cadb05c02d9
+SHA1 (patch-ah) = 12472b2fc40b348c7e98c9d0f094ee731486fa82
+SHA1 (patch-ai) = 51c28a08a59f2b7348e7f9a37fb91c6a321198f7
+SHA1 (patch-aj) = 1e28fe0c1df2e86362438883aded7ac5691d3226
+SHA1 (patch-ak) = 27c90d33fcaedb91615bce884eed353ee8419963
diff --git a/databases/bdb-xml/patches/patch-af b/databases/bdb-xml/patches/patch-af
new file mode 100644
index 00000000000..bd81d9a389a
--- /dev/null
+++ b/databases/bdb-xml/patches/patch-af
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.1 2011/01/29 21:48:41 markd Exp $
+
+fix build with gcc4.3
+
+--- ../lib/antlr/lib/cpp/antlr/CharScanner.hpp.orig 2003-04-11 02:04:00.000000000 +0000
++++ ../lib/antlr/lib/cpp/antlr/CharScanner.hpp
+@@ -17,6 +17,9 @@
+ #else
+ #include <cctype>
+ #endif
++#include <cstdio>
++#include <cstdlib>
++#include <cstring>
+
+ #include <antlr/TokenStream.hpp>
+ #include <antlr/RecognitionException.hpp>
diff --git a/databases/bdb-xml/patches/patch-ag b/databases/bdb-xml/patches/patch-ag
new file mode 100644
index 00000000000..d23084dbf6a
--- /dev/null
+++ b/databases/bdb-xml/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 2011/01/29 21:48:41 markd Exp $
+
+fix build with gcc4.3
+
+--- ../lib/antlr/lib/cpp/src/Parser.cpp.orig 2003-04-11 02:04:08.000000000 +0000
++++ ../lib/antlr/lib/cpp/src/Parser.cpp
+@@ -12,6 +12,7 @@
+ #include "antlr/MismatchedTokenException.hpp"
+ //#include "antlr/ASTFactory.hpp"
+ #include <iostream>
++#include <cstdlib>
+
+ #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
+ namespace antlr {
diff --git a/databases/bdb-xml/patches/patch-ah b/databases/bdb-xml/patches/patch-ah
new file mode 100644
index 00000000000..3d6c61fb6ec
--- /dev/null
+++ b/databases/bdb-xml/patches/patch-ah
@@ -0,0 +1,14 @@
+$NetBSD: patch-ah,v 1.1 2011/01/29 21:48:41 markd Exp $
+
+fix build with gcc4.3
+
+--- ../lib/antlr/lib/cpp/src/TreeParser.cpp.orig 2003-04-11 02:04:09.000000000 +0000
++++ ../lib/antlr/lib/cpp/src/TreeParser.cpp
+@@ -10,6 +10,7 @@
+ #include "antlr/MismatchedTokenException.hpp"
+ #include <iostream>
+ #include <stdio.h>
++#include <cstdlib>
+
+ #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
+ namespace antlr {
diff --git a/databases/bdb-xml/patches/patch-ai b/databases/bdb-xml/patches/patch-ai
new file mode 100644
index 00000000000..bcdeced53f4
--- /dev/null
+++ b/databases/bdb-xml/patches/patch-ai
@@ -0,0 +1,14 @@
+$NetBSD: patch-ai,v 1.1 2011/01/29 21:48:41 markd Exp $
+
+fix build with gcc4.3
+
+--- ../src/dbxml/Buffer.cpp.orig 2003-05-09 00:01:43.000000000 +0000
++++ ../src/dbxml/Buffer.cpp
+@@ -13,6 +13,7 @@ static const char revid[] = "$Id: Buffer
+
+ #include <sstream>
+ #include <cassert>
++#include <cstring>
+
+ using namespace std;
+ using namespace DbXml;
diff --git a/databases/bdb-xml/patches/patch-aj b/databases/bdb-xml/patches/patch-aj
new file mode 100644
index 00000000000..042e59e2f1b
--- /dev/null
+++ b/databases/bdb-xml/patches/patch-aj
@@ -0,0 +1,14 @@
+$NetBSD: patch-aj,v 1.1 2011/01/29 21:48:41 markd Exp $
+
+fix build with gcc4.3
+
+--- ../src/dbxml/IndexSpecification.hpp.orig 2003-09-17 13:08:51.000000000 +0000
++++ ../src/dbxml/IndexSpecification.hpp
+@@ -12,6 +12,7 @@
+
+ #include <vector>
+ #include <string>
++#include <cstring>
+ #include <map>
+ #include "ID.hpp"
+ #include "Name.hpp"
diff --git a/databases/bdb-xml/patches/patch-ak b/databases/bdb-xml/patches/patch-ak
new file mode 100644
index 00000000000..8f8b00839a9
--- /dev/null
+++ b/databases/bdb-xml/patches/patch-ak
@@ -0,0 +1,15 @@
+$NetBSD: patch-ak,v 1.1 2011/01/29 21:48:41 markd Exp $
+
+fix build with gcc4.3
+
+--- ../src/dbxml/XmlException.cpp.orig 2003-05-09 00:01:57.000000000 +0000
++++ ../src/dbxml/XmlException.cpp
+@@ -15,6 +15,8 @@ static const char revid[] = "$Id: XmlExc
+
+ #include <string>
+ #include <sstream>
++#include <cstring>
++#include <cstdlib>
+
+ using namespace DbXml;
+