rpms/cln/FC-4 cln-1.1.9-string.patch,NONE,1.1 cln.spec,1.8,1.9

Quentin Spencer (qspencer) fedora-extras-commits at redhat.com
Thu Jul 28 19:04:30 UTC 2005


Author: qspencer

Update of /cvs/extras/rpms/cln/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1765

Modified Files:
	cln.spec 
Added Files:
	cln-1.1.9-string.patch 
Log Message:
Patched sources to fix compile problem that appears in gcc 4.0.1.


cln-1.1.9-string.patch:

--- NEW FILE cln-1.1.9-string.patch ---
*** include/cln/string.h.~1~	2004-06-23 16:04:49.000000000 -0500
--- include/cln/string.h	2005-06-13 10:09:34.000000000 -0500
***************
*** 10,15 ****
--- 10,17 ----
  
  namespace cln {
  
+ class cl_string;
+ 
  // General, reference counted and garbage collected strings.
  struct cl_heap_string : public cl_heap {
  private:


Index: cln.spec
===================================================================
RCS file: /cvs/extras/rpms/cln/FC-4/cln.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- cln.spec	27 May 2005 11:01:22 -0000	1.8
+++ cln.spec	28 Jul 2005 19:04:05 -0000	1.9
@@ -1,12 +1,13 @@
 Name:           cln
 Version:        1.1.9
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Class Library for Numbers
 
 Group:          System Environment/Libraries
 License:        GPL
 URL:            http://www.ginac.de/CLN/
 Source0:        ftp://ftpthep.physik.uni-mainz.de/pub/gnu/%{name}-%{version}.tar.bz2
+Patch0:         cln-1.1.9-string.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires(post): /sbin/install-info
@@ -33,6 +34,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %configure
@@ -78,6 +80,9 @@
 %exclude %{_libdir}/*.la
 
 %changelog
+* Thu Jul 28 2005 Quentin Spencer <qspencer at users.sf.net> 1.1.9-4
+- Patched include/cln/string.h to correctly compile on gcc-c++-4.0.1
+
 * Fri May 27 2005 Quentin Spencer <qspencer at users.sf.net> 1.1.9-3
 - Added gmp-devel to Requires for devel
 




More information about the scm-commits mailing list