diff --git a/libxml++-2.20.0-gcc43.patch b/libxml++-2.20.0-gcc43.patch new file mode 100644 index 0000000..29b27a1 --- /dev/null +++ b/libxml++-2.20.0-gcc43.patch @@ -0,0 +1,21 @@ +--- libxml++-2.20.0/libxml++/parsers/parser.cc~ 2007-08-29 09:55:31.000000000 +0200 ++++ libxml++-2.20.0/libxml++/parsers/parser.cc 2008-02-17 11:34:31.000000000 +0100 +@@ -9,6 +9,7 @@ + #include + + #include //For va_list. ++#include //For auto_ptr + + namespace xmlpp { + +--- libxml++-2.20.0/libxml++/parsers/textreader.h~ 2007-08-13 14:47:17.000000000 +0200 ++++ libxml++-2.20.0/libxml++/parsers/textreader.h 2008-02-17 11:35:07.000000000 +0100 +@@ -12,6 +12,8 @@ + + #include + ++#include ++ + extern "C" + { + struct _xmlTextReader; diff --git a/libxml++.spec b/libxml++.spec index 6bed80d..1a84bf7 100644 --- a/libxml++.spec +++ b/libxml++.spec @@ -1,12 +1,13 @@ Name: libxml++ Version: 2.20.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ wrapper for the libxml2 XML parser library Group: System Environment/Libraries License: LGPLv2+ URL: http://libxmlplusplus.sourceforge.net/ Source: http://ftp.gnome.org/pub/GNOME/sources/libxml++/%{version}/libxml++-%{version}.tar.bz2 +Patch0: libxml++-2.20.0-gcc43.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libxml2-devel >= 2.6.1, doxygen, glibmm24-devel >= 2.4.0 @@ -29,6 +30,7 @@ This package contains the headers and libraries for libxml++ development. %prep %setup -q +%patch0 -p1 -b .gcc43 %build @@ -79,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Feb 17 2008 Denis Leroy - 2.20.0-2 +- Added patch for gcc 4.3 rebuild + * Thu Sep 20 2007 Denis Leroy - 2.20.0-1 - Update to new 2.20 stable branch