diff --git a/wesnoth-1.2.8-gcc43.patch b/wesnoth-1.2.8-gcc43.patch new file mode 100644 index 0000000..fa514de --- /dev/null +++ b/wesnoth-1.2.8-gcc43.patch @@ -0,0 +1,10 @@ +--- wesnoth-1.2.8/src/server/game.cpp.orig 2008-02-11 18:16:19.000000000 -0500 ++++ wesnoth-1.2.8/src/server/game.cpp 2008-02-11 18:16:31.000000000 -0500 +@@ -20,6 +20,7 @@ + + #include + #include ++#include + + #define LOG_SERVER LOG_STREAM(info, general) + diff --git a/wesnoth.spec b/wesnoth.spec index 566e33c..3306ab1 100644 --- a/wesnoth.spec +++ b/wesnoth.spec @@ -1,6 +1,6 @@ Name: wesnoth Version: 1.2.8 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Turn-based strategy game with a fantasy theme Group: Amusements/Games @@ -10,6 +10,7 @@ Source0: http://www.%{name}.org/files/%{name}-%{version}.tar.bz2 Source1: wesnothd.init Source2: %{name}.sysconfig Patch0: %{name}-%{version}-remove-ogg-test.patch +Patch1: %{name}-%{version}-gcc43.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL_image-devel @@ -71,6 +72,7 @@ This package contains the game editor and development tools. %prep %setup -q %patch0 -p1 -b .ogg +%patch1 -p1 -b .gcc43 autoreconf chmod -x MANUAL* @@ -168,6 +170,9 @@ fi %ghost /var/run/wesnothd/socket %changelog +* Mon Feb 11 2008 Warren Togami - 1.2.8-5 +- Patch to fix build with gcc-4.3. + * Fri Feb 8 2008 Brian Pepple - 1.2.8-4 - Rebuild for gcc-4.3.