rpms/gle/devel gle-4.1.2-gcc44.patch,NONE,1.1 gle.spec,1.8,1.9

Terje Røsten terjeros at fedoraproject.org
Sat Feb 7 20:55:26 UTC 2009


Author: terjeros

Update of /cvs/extras/rpms/gle/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10885

Modified Files:
	gle.spec 
Added Files:
	gle-4.1.2-gcc44.patch 
Log Message:
* Sat Feb  7 2009 Terje Rosten <terjeros at phys.ntnu.no> - 4.1.2-2
- Add patch to compile with gcc-4.4


gle-4.1.2-gcc44.patch:

--- NEW FILE gle-4.1.2-gcc44.patch ---
--- gle4/src/gui/qgs.cpp~	2008-01-04 14:27:56.000000000 +0100
+++ gle4/src/gui/qgs.cpp	2009-02-07 21:38:21.000000000 +0100
@@ -17,6 +17,8 @@
  * MA  02110-1301  USA                                                     *
  ***************************************************************************/
 
+#include <cstdio>
+
 #include <math.h>
 #include <qpixmap.h>
 #include <qpainter.h>


Index: gle.spec
===================================================================
RCS file: /cvs/extras/rpms/gle/devel/gle.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- gle.spec	2 Mar 2008 10:49:09 -0000	1.8
+++ gle.spec	7 Feb 2009 20:54:55 -0000	1.9
@@ -3,12 +3,13 @@
 Summary:       Graphics Layout Engine
 Name:          gle
 Version:       4.1.2
-Release:       1%{?dist}
+Release:       2%{?dist}
 License:       GPLv2+
 Group:         Applications/Multimedia
 URL:           http://www.gle-graphics.org/
 Source:        http://downloads.sourceforge.net/glx/GLE-%{version}-src.zip
 Source1:       http://www.cs.kuleuven.be/~jan/gle/GLE-%{mver}-manual.pdf
+Patch0:        gle-4.1.2-gcc44.patch
 BuildRequires: libstdc++-devel >= 3.0
 BuildRequires: libpng-devel libtiff-devel libjpeg-devel 
 BuildRequires: ncurses-devel zlib-devel xorg-x11-proto-devel
@@ -29,6 +30,7 @@
 
 %prep
 %setup -q -n gle4
+%patch0 -p1 
 %{__install} -p -m 0644 %{SOURCE1} .
 
 %build
@@ -58,6 +60,9 @@
 %{_libdir}/lib%{name}-graphics-%{version}.so
 
 %changelog
+* Sat Feb  7 2009 Terje Rosten <terjeros at phys.ntnu.no> - 4.1.2-2
+- Add patch to compile with gcc-4.4
+
 * Sun Mar  2 2008 Terje Rosten <terjeros at phys.ntnu.no> - 4.1.2-1
 - 4.1.2
 - Update pdf documentation




More information about the scm-commits mailing list