devel/sopwith sopwith-gcc4.patch,NONE,1.1 sopwith.spec,1.5,1.6

Adrian Reber (adrian) fedora-extras-commits at redhat.com
Tue Mar 29 20:24:52 UTC 2005


Author: adrian

Update of /cvs/extras/devel/sopwith
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21251

Modified Files:
	sopwith.spec 
Added Files:
	sopwith-gcc4.patch 
Log Message:
fix gcc4 compiler error


sopwith-gcc4.patch:

--- NEW FILE sopwith-gcc4.patch ---
--- sdl_sopwith-1.7.1/src/swmain.h	2003-06-08 20:20:30.000000000 +0200
+++ sdl_sopwith-1.7.1.new/src/swmain.h	2005-03-29 22:17:32.000000000 +0200
@@ -46,7 +46,7 @@
 extern int     targrnge;
 extern BOOL    hires;
 extern BOOL    disppos;
-extern BOOL    titleflg;
+static BOOL    titleflg;
 extern int     dispdbg;
 extern BOOL    soundflg;
 extern BOOL    repflag;


Index: sopwith.spec
===================================================================
RCS file: /cvs/extras/devel/sopwith/sopwith.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sopwith.spec	5 Mar 2005 19:28:28 -0000	1.5
+++ sopwith.spec	29 Mar 2005 20:24:50 -0000	1.6
@@ -1,6 +1,6 @@
 Name:           sopwith
 Version:        1.7.1
-Release:        1
+Release:        2
 Summary:        SDL port of the sopwith game
 
 Group:          Amusements/Games
@@ -8,6 +8,7 @@
 URL:            http://sdl-sopwith.sourceforge.net/
 Source0:        http://dl.sf.net/sdl-sopwith/sdl_sopwith-1.7.1.tar.gz
 Source1:        sopwith.png
+Patch0:         sopwith-gcc4.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
@@ -20,6 +21,7 @@
 
 %prep
 %setup -q -n sdl_sopwith-%{version}
+%patch0 -p1
 
 
 %build
@@ -68,6 +70,9 @@
 
 
 %changelog
+* Tue Mar 29 2005 Adrian Reber <adrian at lisas.de> - 1.7.1-2
+- added patch to fix gcc4 compiler error
+
 * Wed Jun 18 2003 Adrian Reber <adrian at lisas.de> - 0:1.7.1-0.fdr.1
 - updated to 1.7.1
 - changed category from desktop entry from "Games" to "Game"




More information about the fedora-extras-commits mailing list