rpms/crack-attack/devel crack-attack-1.1.14-gcc43.patch, NONE, 1.1 crack-attack.spec, 1.3, 1.4

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Fri Jan 4 22:09:23 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/crack-attack/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22105

Modified Files:
	crack-attack.spec 
Added Files:
	crack-attack-1.1.14-gcc43.patch 
Log Message:
* Fri Dec  4 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.1.14-11
- Fix building with gcc 4.3


crack-attack-1.1.14-gcc43.patch:

--- NEW FILE crack-attack-1.1.14-gcc43.patch ---
diff -up crack-attack-1.1.14/src/TextureLoader.h~ crack-attack-1.1.14/src/TextureLoader.h
--- crack-attack-1.1.14/src/TextureLoader.h~	2008-01-04 23:07:02.000000000 +0100
+++ crack-attack-1.1.14/src/TextureLoader.h	2008-01-04 23:07:02.000000000 +0100
@@ -28,6 +28,7 @@
 #define TEXTURELOADER_H
 
 #include <GL/glut.h>
+#include <string.h>
 
 #include "glext.h"
 #include "sstream.h"


Index: crack-attack.spec
===================================================================
RCS file: /cvs/extras/rpms/crack-attack/devel/crack-attack.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- crack-attack.spec	6 Aug 2007 08:34:11 -0000	1.3
+++ crack-attack.spec	4 Jan 2008 22:08:45 -0000	1.4
@@ -1,7 +1,7 @@
 Summary:        Puzzle action game
 Name:           crack-attack
 Version:        1.1.14
-Release:        10%{?dist}
+Release:        11%{?dist}
 License:        GPLv2+
 Group:          Amusements/Games
 URL:            http://www.nongnu.org/crack-attack/
@@ -11,6 +11,7 @@
 Patch0:         crack-attack-1.1.14-glutInit.patch
 Patch1:         crack-attack-1.1.14-sanitize.patch
 Patch2:         crack-attack-1.1.14-audio.patch
+Patch3:         crack-attack-1.1.14-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libstdc++-devel desktop-file-utils ImageMagick
 BuildRequires:  SDL-devel gtk2-devel pkgconfig SDL_mixer-devel freeglut-devel
@@ -28,6 +29,7 @@
 %patch0 -p1 -b .glutinit
 %patch1 -p1 -b .sanitize
 %patch2 -p1 -b .audio
+%patch3 -p1 -b .gcc43
 sed -i 's/-O3 -s//g' src/Makefile.in
 sed -i 's/-O2//g' src/gtk-gui/Makefile.in
 # fixup provided desktop file
@@ -91,6 +93,9 @@
 
 
 %changelog
+* Fri Dec  4 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.1.14-11
+- Fix building with gcc 4.3
+
 * Mon Aug  6 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.1.14-10
 - Update License tag for new Licensing Guidelines compliance
 




More information about the fedora-extras-commits mailing list