Hello community,
here is the log from the commit of package dbxml
checked in at Thu Nov 8 23:55:40 CET 2007.
--------
--- dbxml/dbxml.changes 2007-08-19 16:30:25.000000000 +0200
+++ /mounts/work_src_done/STABLE/dbxml/dbxml.changes 2007-11-08 10:28:31.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Nov 8 10:28:25 CET 2007 - meissner@suse.de
+
+- make it build with gcc4.3
+
+-------------------------------------------------------------------
New:
----
gcc43-fixes.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dbxml.spec ++++++
--- /var/tmp/diff_new_pack.j22097/_old 2007-11-08 23:55:21.000000000 +0100
+++ /var/tmp/diff_new_pack.j22097/_new 2007-11-08 23:55:21.000000000 +0100
@@ -11,7 +11,7 @@
# norootforbuild
Name: dbxml
-BuildRequires: db43-devel ed fdupes gcc-c++ java2-devel-packages libXerces-c-devel libicu-devel
+BuildRequires: db43-devel ed fdupes flex gcc-c++ java2-devel-packages libXerces-c-devel libicu-devel
##### NOTE: Versions for each packages have to be inserted as numbers ... macros forbidden!
%define db_version 4.3.29
%define dbxml_version 2.2.13
@@ -21,7 +21,7 @@
%define xerces_cvs_version 2_7_0
Summary: Berkeley DB XML
Version: 2.2.13.patch4
-Release: 79
+Release: 101
Source0: dbxml-%{dbxml_version}.tar.bz2
Source1: db-%{db_version}.tar.bz2
Source2: xerces-c-src_%{xerces_cvs_version}.tar.bz2
@@ -34,6 +34,7 @@
Patch3: %{name}-%{dbxml_version}-official-patches.patch
Patch4: %{name}-%{dbxml_version}-rpath.patch
Patch5: comparison.patch
+Patch6: gcc43-fixes.patch
Patch150: java150_build.patch
# db patches
Patch100: db-%{db_version}.dif
@@ -44,8 +45,8 @@
Patch202: xerces-c-src_%{xerces_cvs_version}-rpmoptflags.patch
#libpathan patches
#Patch300: libpathan-1.2-conf.patch
-URL: http://www.sleepycat.com/products/xml.shtml
-License: BSD 3-Clause, no advertise-clause. no name-useage-clause.
+Url: http://www.sleepycat.com/products/xml.shtml
+License: BSD 3-Clause
Group: Development/Libraries/C and C++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libpathan = %{pathan_version}
@@ -53,7 +54,7 @@
Requires: db43 = %{db_version}
Requires: db43 = %{db_version}
Requires: libxquery >= %{xquery_version}
-Autoreqprov: on
+AutoReqProv: on
PreReq: /sbin/ldconfig
%define prefix /usr
@@ -70,7 +71,7 @@
Summary: Berkeley DB XML
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
-Autoreqprov: on
+AutoReqProv: on
PreReq: /sbin/ldconfig
%description utils
@@ -92,7 +93,7 @@
Requires: libpathan-devel = %{pathan_version}
Requires: libstdc++-devel
Requires: %{name} = %{version}
-Autoreqprov: on
+AutoReqProv: on
PreReq: /sbin/ldconfig
%description devel
@@ -108,16 +109,16 @@
%package -n db43-java
Summary: Java Bindings for the Berkeley DB
Version: 4.3.29
-Release: 63
-URL: http://www.sleepycat.com/products/xml.shtml
-License: BSD 3-Clause, no advertise-clause. no name-useage-clause.
+Release: 85
+Url: http://www.sleepycat.com/products/xml.shtml
+License: BSD 3-Clause
Group: Productivity/Databases/Servers
Requires: db43 = %{db_version}
Requires: glibc-devel
Requires: libstdc++-devel
Provides: db-java <= 4.3.29-27
Obsoletes: db-java <= 4.3.29-27
-Autoreqprov: on
+AutoReqProv: on
PreReq: /sbin/ldconfig
%description -n db43-java
@@ -133,11 +134,11 @@
%package -n libpathan
Summary: Pathan Provides an XPath Parsing and Evaluation API
Version: 2_2.2.13.dbxml
-Release: 101
-URL: http://software.decisionsoft.com/pathan1Info.html
+Release: 123
+Url: http://software.decisionsoft.com/pathan1Info.html
License: BSD 3-Clause
Group: Development/Languages/C and C++
-Autoreqprov: on
+AutoReqProv: on
PreReq: /sbin/ldconfig
%description -n libpathan
@@ -155,12 +156,12 @@
%package -n libpathan-devel
Summary: Include Files and Libraries mandatory for Development
Version: 2_2.2.13.dbxml
-Release: 101
+Release: 123
Group: Development/Languages/C and C++
Requires: libXerces-c-devel >= %{xerces_c_version}
Requires: libpathan = 2_2.2.13.dbxml
Requires: libstdc++-devel
-Autoreqprov: on
+AutoReqProv: on
PreReq: /sbin/ldconfig
%description -n libpathan-devel
@@ -176,11 +177,11 @@
%package -n libxquery
Summary: Library Conforming with XQuery
Version: 1.2.0
-Release: 102
+Release: 124
Url: http://www.sleepycat.com/products/xml.shtml
License: BSD 3-Clause
Group: Development/Libraries/C and C++
-Autoreqprov: on
+AutoReqProv: on
PreReq: /sbin/ldconfig
%description -n libxquery
@@ -192,13 +193,13 @@
Summary: Library Conforming with XQuery
Group: Development/Libraries/C and C++
Version: 1.2.0
-Release: 102
+Release: 124
Requires: libpathan-devel >= %{pathan_version}
Requires: libpathan >= %{pathan_version}
Requires: libXerces-c-devel >= %{xerces_c_version}
Requires: libxquery = %{xquery_version}
Requires: libstdc++-devel
-Autoreqprov: on
+AutoReqProv: on
PreReq: /sbin/ldconfig
%description -n libxquery-devel
@@ -216,6 +217,7 @@
%patch2
%patch4
%patch5 -p1
+%patch6 -p0
# go to db directory and apply patch
pushd db-%{db_version}
%patch100
@@ -431,7 +433,6 @@
--with-lib64 \
%endif
--enable-java
-
# Make sure O_DIRECT is really disabled (build host could have old kernel)
cp dbxml_config.h{,.bak} || :
perl -pi -e 's/#define HAVE_O_DIRECT 1/#undef HAVE_O_DIRECT/' dbxml_config.h
@@ -543,7 +544,6 @@
sed -i -e 's/.*\.la$//g' $INSTALL_DIR/pathan-devel.files
# new end
popd
-
%fdupes $RPM_BUILD_ROOT%{_defaultdocdir}/dbxml
rm -rf %{installdirs}
#<<< install
@@ -637,8 +637,9 @@
#>>> changelog
#<<< changelog
# vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6:
-
%changelog
+* Thu Nov 08 2007 - meissner@suse.de
+- make it build with gcc4.3
* Sun Aug 19 2007 - aj@suse.de
- Do not use a parallel make - it might break the build.
* Sat Aug 18 2007 - aj@suse.de
++++++ gcc43-fixes.patch ++++++
--- dbxml/examples/cxx/gettingStarted/addIndex.cpp
+++ dbxml/examples/cxx/gettingStarted/addIndex.cpp
@@ -9,6 +9,7 @@
#include <fstream>
#include <cstdio>
+#include <cstdlib>
#include "dbxml/DbXml.hpp"
--- dbxml/examples/cxx/gettingStarted/buildDB.cpp
+++ dbxml/examples/cxx/gettingStarted/buildDB.cpp
@@ -8,6 +8,7 @@
//
#include <cassert>
+#include <cstdlib>
#include "myDb.hpp"
--- dbxml/examples/cxx/gettingStarted/deleteDocument.cpp
+++ dbxml/examples/cxx/gettingStarted/deleteDocument.cpp
@@ -10,6 +10,7 @@
#include <fstream>
#include <cstdio>
#include <cassert>
+#include <cstdlib>
#include "dbxml/DbXml.hpp"
--- dbxml/examples/cxx/gettingStarted/deleteIndex.cpp
+++ dbxml/examples/cxx/gettingStarted/deleteIndex.cpp
@@ -9,6 +9,7 @@
#include <fstream>
#include <cstdio>
+#include <cstdlib>
#include "dbxml/DbXml.hpp"
--- dbxml/examples/cxx/gettingStarted/exampleLoadContainer.cpp
+++ dbxml/examples/cxx/gettingStarted/exampleLoadContainer.cpp
@@ -12,6 +12,7 @@
#include <vector>
#include <fstream>
#include