rpms/commoncpp2/F-9 libcommoncpp2.patch, NONE, 1.1 commoncpp2.spec, 1.6, 1.7

Dennis Gilmore ausil at fedoraproject.org
Fri Oct 3 05:34:05 UTC 2008


Author: ausil

Update of /cvs/pkgs/rpms/commoncpp2/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31721

Modified Files:
	commoncpp2.spec 
Added Files:
	libcommoncpp2.patch 
Log Message:
add patch from debain fixing FTBFS on sparc


libcommoncpp2.patch:

--- NEW FILE libcommoncpp2.patch ---
--- 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 <cc++/misc.h>
 #include "private.h"
 
+#include <cstdlib>
+
 #ifdef	CCXX_NAMESPACES
 namespace ost {
 using std::endl;


Index: commoncpp2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/commoncpp2/F-9/commoncpp2.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- commoncpp2.spec	6 Feb 2008 22:59:16 -0000	1.6
+++ commoncpp2.spec	3 Oct 2008 05:33:34 -0000	1.7
@@ -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 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
@@ -78,6 +80,9 @@
 %{_infodir}/commoncpp2.info*
 
 %changelog
+* Fri Oct 03 2008 Dennis Gilmore <dennis at ausil.us> - 1.6.1-2
+- add patch from debian that fixes FTBFS on sparc arches
+
 * Wed Feb 06 2008 Andreas Thienemann <andreas at bawue.net> - 1.6.1-1
 - Updated to new upstream version 1.6.1
 - Reverted the ld-check patch as it's no longer needed




More information about the scm-commits mailing list