diff --git a/commoncpp2.spec b/commoncpp2.spec index 8d7a0dd..0e5f3ee 100644 --- a/commoncpp2.spec +++ b/commoncpp2.spec @@ -1,13 +1,14 @@ Summary: GNU Common C++ class framework Name: commoncpp2 Version: 1.6.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL Group: System Environment/Libraries Source0: http://download.sourceforge.net/gnutelephony/commoncpp2-%{version}.tar.gz URL: http://www.gnu.org/software/commoncpp/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libxml2-devel, zlib-devel, doxygen +Patch0: libcommoncpp2.patch %description GNU Common C++ is a portable and highly optimized class framework for writing @@ -32,6 +33,7 @@ to develop programs that use the %{name} library. %prep %setup -q +%patch0 -p1 %build %configure \ @@ -78,6 +80,9 @@ fi %{_infodir}/commoncpp2.info* %changelog +* Fri Oct 03 2008 Dennis Gilmore - 1.6.1-2 +- add patch from debian that fixes FTBFS on sparc arches + * Wed Feb 06 2008 Andreas Thienemann - 1.6.1-1 - Updated to new upstream version 1.6.1 - Reverted the ld-check patch as it's no longer needed diff --git a/libcommoncpp2.patch b/libcommoncpp2.patch new file mode 100644 index 0000000..392ca41 --- /dev/null +++ b/libcommoncpp2.patch @@ -0,0 +1,11 @@ +--- libcommoncpp2-1.6.2.orig/src/mempager.cpp 2008-03-24 00:19:07.000000000 +0000 ++++ libcommoncpp2-1.6.2/src/mempager.cpp 2008-08-15 18:28:23.000000000 +0000 +@@ -42,6 +42,8 @@ + #include + #include "private.h" + ++#include ++ + #ifdef CCXX_NAMESPACES + namespace ost { + using std::endl;