summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2011-08-10 21:09:15 +0000
committerLars Wendler <polynomial-c@gentoo.org>2011-08-10 21:09:15 +0000
commitb6c187955eaa3c3ff2a17fec9f2c291cd09c3049 (patch)
tree1850fe6a4060bf5209c45bfeb1d5d9134c7ac8eb /dev-libs/Ice/files
parentarm stable, bug #349496 (diff)
downloadgentoo-2-b6c187955eaa3c3ff2a17fec9f2c291cd09c3049.tar.gz
gentoo-2-b6c187955eaa3c3ff2a17fec9f2c291cd09c3049.tar.bz2
gentoo-2-b6c187955eaa3c3ff2a17fec9f2c291cd09c3049.zip
Version bump. Added patch to let Ice compile against >=sys-libs/db-5.0 (bug #376263)
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/Ice/files')
-rw-r--r--dev-libs/Ice/files/Ice-3.4.1-db5.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/Ice/files/Ice-3.4.1-db5.patch b/dev-libs/Ice/files/Ice-3.4.1-db5.patch
new file mode 100644
index 000000000000..44183ae997af
--- /dev/null
+++ b/dev-libs/Ice/files/Ice-3.4.1-db5.patch
@@ -0,0 +1,16 @@
+--- ./cpp/src/Freeze/MapI.cpp
++++ ./cpp/src/Freeze/MapI.cpp
+@@ -1487,10 +1487,10 @@ Freeze::MapHelperI::size() const
+
+ try
+ {
+-#if DB_VERSION_MAJOR != 4
+-#error Freeze requires DB 4.x
++#if DB_VERSION_MAJOR < 4
++#error Freeze requires DB 4.x or greater
+ #endif
+-#if DB_VERSION_MINOR < 3
++#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 3
+ _db->stat(&s, 0);
+ #else
+ _db->stat(_connection->dbTxn(), &s, 0); \ No newline at end of file