rpms/ginac/devel ginac-build-gcc43.patch, NONE, 1.1 ginac.spec, 1.16, 1.17

Alex Lancaster (alexlan) fedora-extras-commits at redhat.com
Sun Mar 2 11:28:48 UTC 2008


Author: alexlan

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

Modified Files:
	ginac.spec 
Added Files:
	ginac-build-gcc43.patch 
Log Message:
* Sun Mar  2 2008 Alex Lancaster - 1.4.1-4
- Patch for building with GCC 4.3 (this has been applied upstream and so
  can be dropped in the next release of ginac).


ginac-build-gcc43.patch:

--- NEW FILE ginac-build-gcc43.patch ---
diff -up ginac-1.4.1/ginac/numeric.cpp.fix ginac-1.4.1/ginac/numeric.cpp
--- ginac-1.4.1/ginac/numeric.cpp.fix	2008-03-02 04:03:11.000000000 -0700
+++ ginac-1.4.1/ginac/numeric.cpp	2008-03-02 04:06:10.000000000 -0700
@@ -408,7 +408,7 @@ static inline bool coerce(T1& dst, const
  * @sa http://www.ginac.de/pipermail/cln-list/2006-October/000248.html
  */
 template<>
-static inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg) 
+inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg) 
 {
 	static const cln::cl_I cl_max_int = 
 		(cln::cl_I)(long)(std::numeric_limits<int>::max());
@@ -422,7 +422,7 @@ static inline bool coerce<int, cln::cl_I
 }
 
 template<>
-static inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const cln::cl_I& arg)
+inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const cln::cl_I& arg)
 {
 	static const cln::cl_I cl_max_uint = 
 		(cln::cl_I)(unsigned long)(std::numeric_limits<unsigned int>::max());


Index: ginac.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ginac/devel/ginac.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ginac.spec	27 Feb 2008 14:30:56 -0000	1.16
+++ ginac.spec	2 Mar 2008 11:27:55 -0000	1.17
@@ -1,12 +1,13 @@
 Name:           ginac
 Version:        1.4.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        C++ library for symbolic calculations
 
 Group:          System Environment/Libraries
 License:        GPLv2+
 URL:            http://www.ginac.de/
 Source0:        http://www.ginac.de/%{name}-%{version}.tar.bz2
+Patch0:         %{name}-build-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires(post): /sbin/install-info
@@ -54,6 +55,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --disable-dependency-tracking --disable-static
@@ -99,6 +101,10 @@
 %{_mandir}/man?/*
 
 %changelog
+* Sun Mar  2 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.4.1-4
+- Patch for building with GCC 4.3 (this has been applied upstream and so
+  can be dropped in the next release of ginac).
+
 * Wed Feb 27 2008 Quentin Spencer <qspencer at users.sf.net> 1.4.1-3
 - Rebuild for new release of cln.
 




More information about the fedora-extras-commits mailing list