]> git.pld-linux.org Git - packages/ice.git/commitdiff
- fix building with db 5.3 auto/th/ice-3.4.2-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 6 Sep 2012 10:40:14 +0000 (12:40 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 6 Sep 2012 10:40:14 +0000 (12:40 +0200)
- release 2

ice-db.patch [new file with mode: 0644]
ice.spec

diff --git a/ice-db.patch b/ice-db.patch
new file mode 100644 (file)
index 0000000..1e2c8d0
--- /dev/null
@@ -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
index 12ca8b008bf8ed2a552be2f0839db7145172d4b6..fb3d7b9e10aa5d8b1a655825468eb4998f9c6a09 100644 (file)
--- 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
This page took 0.181791 seconds and 4 git commands to generate.