[packages/ice] - fix building with db 5.3 - release 2

baggins baggins at pld-linux.org
Thu Sep 6 12:40:27 CEST 2012


commit b4620c5f60c51fe343f62cd07e60a9c653ce8fbf
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Sep 6 12:40:14 2012 +0200

    - fix building with db 5.3
    - release 2

 ice-db.patch | 11 +++++++++++
 ice.spec     |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/ice.spec b/ice.spec
index 12ca8b0..fb3d7b9 100644
--- a/ice.spec
+++ b/ice.spec
@@ -17,7 +17,7 @@
 Summary:	The Ice base runtime and services
 Name:		ice
 Version:	3.4.2
-Release:	1
+Release:	2
 License:	GPL v2 with exceptions (see ICE_LICENSE)
 Group:		Applications
 URL:		http://www.zeroc.com/
@@ -37,6 +37,7 @@ Patch2:		java-build.patch
 Patch3:		jgoodies.patch
 Patch4:		ice-gcc46.patch
 Patch5:		ice-gcc47.patch
+Patch6:		ice-db.patch
 BuildRequires:	bzip2-devel
 BuildRequires:	db-cxx-devel
 BuildRequires:	expat-devel
@@ -172,6 +173,7 @@ The Ice runtime for PHP applications.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 # no longer included in 3.4
 rm -f *man-pages/slice2docbook.1
diff --git a/ice-db.patch b/ice-db.patch
new file mode 100644
index 0000000..1e2c8d0
--- /dev/null
+++ b/ice-db.patch
@@ -0,0 +1,11 @@
+--- Ice-3.4.2/cpp/src/Freeze/MapI.cpp~	2012-09-06 12:24:18.042948870 +0200
++++ Ice-3.4.2/cpp/src/Freeze/MapI.cpp	2012-09-06 12:28:20.686273643 +0200
+@@ -1497,7 +1497,7 @@
+ 
+     try
+     {
+-#if DB_VERSION_MAJOR != 4
++#if DB_VERSION_MAJOR < 4
+ #error Freeze requires DB 4.x
+ #endif
+ #if DB_VERSION_MINOR < 3
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ice.git/commitdiff/b4620c5f60c51fe343f62cd07e60a9c653ce8fbf



More information about the pld-cvs-commit mailing list