summaryrefslogtreecommitdiff
path: root/databases/bdb-xml/patches
diff options
context:
space:
mode:
authorkristerw <kristerw>2004-09-24 20:16:18 +0000
committerkristerw <kristerw>2004-09-24 20:16:18 +0000
commitae479990248217cc422ee780d4eb0450669fa000 (patch)
tree1cadc2486f41b53d3585bb3c04a421b02c5c40a6 /databases/bdb-xml/patches
parent2c68422bc6fcdacb7c42d8c29b91cf1a5c0972ea (diff)
downloadpkgsrc-ae479990248217cc422ee780d4eb0450669fa000.tar.gz
Fix a C++ statement that gcc 2 cannot handle.
Diffstat (limited to 'databases/bdb-xml/patches')
-rw-r--r--databases/bdb-xml/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/bdb-xml/patches/patch-ac b/databases/bdb-xml/patches/patch-ac
new file mode 100644
index 00000000000..877d4d15793
--- /dev/null
+++ b/databases/bdb-xml/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2004/09/24 20:16:18 kristerw Exp $
+
+--- ../src/dbxml/KeyGenerator.hpp.orig Fri Sep 24 22:01:12 2004
++++ ../src/dbxml/KeyGenerator.hpp Fri Sep 24 22:03:23 2004
+@@ -82,7 +82,7 @@
+ {
+ if(isCharacter(c))
+ {
+-#if (_MSC_VER==1200) // Microsoft Visual Studio 6
++#if (__GNUC__==2) || (_MSC_VER==1200) // Microsoft Visual Studio 6
+ v_.push_back(tolower(c));
+ #else
+ v_.push_back(std::tolower(c));