rpms/ClanLib/devel ClanLib-0.8.0-gcc43.patch, 1.2, 1.3 ClanLib.spec, 1.17, 1.18

Hans de Goede jwrdegoede at fedoraproject.org
Sat Feb 21 09:54:34 UTC 2009


Author: jwrdegoede

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

Modified Files:
	ClanLib-0.8.0-gcc43.patch ClanLib.spec 
Log Message:
* Sat Feb 21 2009 Hans de Goede <hdegoede at redhat.com> 0.8.1-2
- Fix build with gcc 4.4  


ClanLib-0.8.0-gcc43.patch:

Index: ClanLib-0.8.0-gcc43.patch
===================================================================
RCS file: /cvs/extras/rpms/ClanLib/devel/ClanLib-0.8.0-gcc43.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ClanLib-0.8.0-gcc43.patch	12 Mar 2008 22:48:05 -0000	1.2
+++ ClanLib-0.8.0-gcc43.patch	21 Feb 2009 09:54:34 -0000	1.3
@@ -9,3 +9,36 @@
  
  #ifdef __APPLE__
  #include <OpenGL/gl.h>
+diff -up ClanLib-0.8.1/Sources/GL/GLX/input_device_linuxevent.cpp~ ClanLib-0.8.1/Sources/GL/GLX/input_device_linuxevent.cpp
+--- ClanLib-0.8.1/Sources/GL/GLX/input_device_linuxevent.cpp~	2007-10-21 02:14:01.000000000 +0200
++++ ClanLib-0.8.1/Sources/GL/GLX/input_device_linuxevent.cpp	2009-02-21 10:45:30.000000000 +0100
+@@ -35,6 +34,7 @@
+ #include <iostream>
+ #include <errno.h>
+ #include <cstring>
++#include <cstdio>
+ 
+ #include "API/Core/System/error.h"
+ #include "API/Core/System/clanstring.h"
+diff -up ClanLib-0.8.1/Sources/GL/GLX/input_device_xinput.cpp~ ClanLib-0.8.1/Sources/GL/GLX/input_device_xinput.cpp
+--- ClanLib-0.8.1/Sources/GL/GLX/input_device_xinput.cpp~	2007-10-21 02:14:01.000000000 +0200
++++ ClanLib-0.8.1/Sources/GL/GLX/input_device_xinput.cpp	2009-02-21 10:45:52.000000000 +0100
+@@ -29,6 +29,7 @@
+ 
+ #include <iostream>
+ #include <cstring>
++#include <cstdio>
+ #include "API/Core/System/log.h"
+ #include "API/Display/input_device.h"
+ #include "API/Display/input_event.h"
+diff -up ClanLib-0.8.1/Sources/GL/canvas_opengl.cpp~ ClanLib-0.8.1/Sources/GL/canvas_opengl.cpp
+--- ClanLib-0.8.1/Sources/GL/canvas_opengl.cpp~	2007-10-21 02:14:01.000000000 +0200
++++ ClanLib-0.8.1/Sources/GL/canvas_opengl.cpp	2009-02-21 10:44:34.000000000 +0100
+@@ -48,6 +48,7 @@
+ #include "graphic_context_opengl.h"
+ #include "surface_target_opengl.h"
+ #include <cstring>
++#include <cstdio>
+ 
+ /////////////////////////////////////////////////////////////////////////////
+ // CL_Canvas_OpenGL construction:


Index: ClanLib.spec
===================================================================
RCS file: /cvs/extras/rpms/ClanLib/devel/ClanLib.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ClanLib.spec	12 Mar 2008 22:48:05 -0000	1.17
+++ ClanLib.spec	21 Feb 2009 09:54:34 -0000	1.18
@@ -1,7 +1,7 @@
 Summary:        Cross platform C++ game library
 Name:           ClanLib
 Version:        0.8.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Group:          System Environment/Libraries
 License:        zlib
 URL:            http://www.clanlib.org/
@@ -73,7 +73,6 @@
 
 %postun -p /sbin/ldconfig
 
-
 %files
 %defattr(-,root,root,-)
 %doc COPYING CREDITS NEWS TODO-RSN
@@ -88,6 +87,9 @@
 
 
 %changelog
+* Sat Feb 21 2009 Hans de Goede <hdegoede at redhat.com> 0.8.1-2
+- Fix build with gcc 4.4  
+
 * Wed Mar 12 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 0.8.1-1
 - New upstream release
 - Drop all patches (all upstreamed)




More information about the fedora-extras-commits mailing list