rpms/ds9/devel ds9-gcc43.patch,NONE,1.1 ds9.spec,1.8,1.9

Sergio Pascual (sergiopr) fedora-extras-commits at redhat.com
Thu Feb 21 10:10:37 UTC 2008


Author: sergiopr

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

Modified Files:
	ds9.spec 
Added Files:
	ds9-gcc43.patch 
Log Message:
* Thu Feb 21 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 5.1-3
- Patch to build with gcc 4.3


ds9-gcc43.patch:

--- NEW FILE ds9-gcc43.patch ---
diff -ur saods9/iis/iistcl.C saods9.gcc43/iis/iistcl.C
--- saods9/iis/iistcl.C	2008-01-04 18:24:23.000000000 +0100
+++ saods9.gcc43/iis/iistcl.C	2008-02-21 11:03:11.000000000 +0100
@@ -7,6 +7,7 @@
 
 #include <iostream>
 #include <sstream>
+#include <cstdlib>
 using namespace std;
 
 #include <tcl.h>
diff -ur saods9/saotk/frame/frscale.C saods9.gcc43/saotk/frame/frscale.C
--- saods9/saotk/frame/frscale.C	2008-01-04 18:29:26.000000000 +0100
+++ saods9.gcc43/saotk/frame/frscale.C	2008-02-21 11:06:29.000000000 +0100
@@ -3,6 +3,7 @@
 // For conditions of distribution and use, see copyright notice in "copyright"
 
 #include <string.h>
+#include <stdlib.h>
 
 #include "frscale.h"
 


Index: ds9.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ds9/devel/ds9.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ds9.spec	19 Feb 2008 23:36:41 -0000	1.8
+++ ds9.spec	21 Feb 2008 10:09:51 -0000	1.9
@@ -1,6 +1,6 @@
 Name: ds9
 Version: 5.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Astronomical Data Visualization Application
 
 Group: Applications/Engineering
@@ -17,6 +17,7 @@
 Patch5: ds9-saotk.patch
 Patch6: ds9-src.patch
 Patch7: ds9-tcl85.patch
+Patch8: ds9-gcc43.patch
 
 Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
@@ -46,6 +47,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 %{__cp} %{SOURCE2} make.include
@@ -90,6 +92,9 @@
 
 
 %changelog
+* Thu Feb 21 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 5.1-3
+- Patch to build with gcc 4.3
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 5.1-2
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list