rpms/ppl/devel ppl-0.9-cstdlib.patch,NONE,1.1 ppl.spec,1.9,1.10

Roberto Bagnara (bagnara) fedora-extras-commits at redhat.com
Wed Feb 13 18:28:51 UTC 2008


Author: bagnara

Update of /cvs/pkgs/rpms/ppl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26166

Modified Files:
	ppl.spec 
Added Files:
	ppl-0.9-cstdlib.patch 
Log Message:
Include a patch to supply a missing inclusions of <cstdlib>.


ppl-0.9-cstdlib.patch:

--- NEW FILE ppl-0.9-cstdlib.patch ---
diff -ur ppl-0.9/utils/timings.cc ppl-0.9-patched/utils/timings.cc
--- ppl-0.9/utils/timings.cc	2006-01-01 09:27:38.000000000 +0100
+++ ppl-0.9-patched/utils/timings.cc	2008-02-13 19:15:10.000000000 +0100
@@ -29,6 +29,7 @@
 #include <iomanip>
 #include <cstring>
 #include <cerrno>
+#include <cstdlib>
 
 #ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>


Index: ppl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ppl/devel/ppl.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ppl.spec	9 Jan 2008 10:47:16 -0000	1.9
+++ ppl.spec	13 Feb 2008 18:28:16 -0000	1.10
@@ -1,6 +1,6 @@
 Name:		ppl
 Version:	0.9
-Release:	18%{?dist}
+Release:	19%{?dist}
 
 Summary:	The Parma Polyhedra Library: a library of numerical abstractions
 Group:		Development/Libraries
@@ -13,6 +13,7 @@
 Patch0:		ppl-0.9-docfiles.patch
 Patch1:		ppl-0.9-configure.patch
 Patch2:		ppl-0.9-makefiles.patch
+Patch3:		ppl-0.9-cstdlib.patch
 #Icon:
 #Requires:
 BuildRequires:	gmp-devel >= 4.1.3
@@ -160,6 +161,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 CPPFLAGS="-I%{_includedir}/glpk"
@@ -178,7 +180,7 @@
 rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/%{name}/*.la
 
 # In order to avoid multiarch conflicts when installed for multiple
-# architectures (i.e., i386 and x86_64), we rename the header files
+# architectures (e.g., i386 and x86_64), we rename the header files
 # of the ppl-devel and ppl-pwl-devel packages.  They are substituted with
 # ad-hoc switchers that select the appropriate header file depending on
 # the architecture for which the compiler is compiling.
@@ -311,6 +313,9 @@
 rm -rf %{buildroot}
 
 %changelog
+* Wed Feb 13 2008 Roberto Bagnara <bagnara at cs.unipr.it> 0.9-19
+- Include a patch to supply a missing inclusions of <cstdlib>.
+
 * Wed Jan 09 2008 Roberto Bagnara <bagnara at cs.unipr.it> 0.9-18
 - Avoid multiarch conflicts when installed for multiple architectures.
 




More information about the fedora-extras-commits mailing list