rpms/nightview/devel nightview-0.3.2-gcc44.patch, NONE, 1.1 nightview.spec, 1.2, 1.3

Lubomir Rintel lkundrak at fedoraproject.org
Sun Feb 22 12:51:51 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/nightview/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20362

Modified Files:
	nightview.spec 
Added Files:
	nightview-0.3.2-gcc44.patch 
Log Message:
* Sun Feb 22 2009 Lubomir Rintel (Fedora Astronomy) <lkundrak at v3.sk> - 0.3.2-3
- Fix build with gcc44


nightview-0.3.2-gcc44.patch:

--- NEW FILE nightview-0.3.2-gcc44.patch ---
The STL headers in gcc-4.4 have been cleaned up, so that the headers don't drag in
unnecessary dependencies which aren't requested by the standard.
This fixes build for gcc-4.4

Lubomir Rintel <lkundrak at v3.sk>

diff -up nightview-0.3.2/shell/night_batch.cpp.gcc44 nightview-0.3.2/shell/night_batch.cpp
--- nightview-0.3.2/shell/night_batch.cpp.gcc44	2009-02-03 21:09:52.000000000 +0100
+++ nightview-0.3.2/shell/night_batch.cpp	2009-02-03 21:09:46.000000000 +0100
@@ -16,6 +16,7 @@
 #include <vector>
 #include <string>
 #include <cstring>
+#include <cstdio>
 #include <cstdlib>
 #include <unistd.h>
 


Index: nightview.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nightview/devel/nightview.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- nightview.spec	5 Feb 2009 21:22:35 -0000	1.2
+++ nightview.spec	22 Feb 2009 12:51:20 -0000	1.3
@@ -13,6 +13,8 @@
 Patch0:         nightview-0.3.2-fitslib.patch
 Patch1:         nightview-0.3.2-initscript.patch
 Patch2:         nightview-0.3.1-doc.patch
+# Sent upstream by mail, accepted
+Patch3:         nightview-0.3.2-gcc44.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  cfitsio-devel
@@ -89,6 +91,7 @@
 %patch0 -p1 -b .fitslib
 %patch1 -p1 -b .initscript
 %patch2 -p1 -b .doc
+%patch3 -p1 -b .gcc44
 
 
 %build
@@ -242,6 +245,9 @@
 
 
 %changelog
+* Sun Feb 22 2009 Lubomir Rintel (Fedora Astronomy) <lkundrak at v3.sk> - 0.3.2-3
+- Fix build with gcc44
+
 * Thu Feb 05 2009 Lubomir Rintel (Fedora Astronomy) <lkundrak at v3.sk> - 0.3.2-2
 - Remove #478680 workaround
 




More information about the fedora-extras-commits mailing list