]> git.pld-linux.org Git - packages/ggz-server.git/commitdiff
- fix building with gcc 4.7
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 18 Nov 2012 20:32:30 +0000 (21:32 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 18 Nov 2012 20:32:30 +0000 (21:32 +0100)
ggz-server-gcc47.patch [new file with mode: 0644]
ggz-server.spec

diff --git a/ggz-server-gcc47.patch b/ggz-server-gcc47.patch
new file mode 100644 (file)
index 0000000..34c9d0f
--- /dev/null
@@ -0,0 +1,40 @@
+--- ggz-server-0.0.14.1/game_servers/muehle/qtserv/qlist.h~    2008-01-05 20:02:54.000000000 +0100
++++ ggz-server-0.0.14.1/game_servers/muehle/qtserv/qlist.h     2012-11-18 21:30:23.122343215 +0100
+@@ -2,6 +2,7 @@
+ #define QLIST_H
+ #include <list>
++#include <cstdlib>
+ template<class T> class QList : public std::list<T>
+ {
+--- ggz-server-0.0.14.1/game_servers/muehle/main.cpp~  2008-01-05 20:02:55.000000000 +0100
++++ ggz-server-0.0.14.1/game_servers/muehle/main.cpp   2012-11-18 21:30:55.195675418 +0100
+@@ -22,6 +22,7 @@
+ #include <iostream>
+ #include <getopt.h>
+ #include <cstdlib>
++#include <cstdio>
+ // Version information
+ #define MUEHLE_VERSION "0.1"
+--- ggz-server-0.0.14.1/game_servers/geekgame/main.cpp~        2008-01-05 20:03:01.000000000 +0100
++++ ggz-server-0.0.14.1/game_servers/geekgame/main.cpp 2012-11-18 21:31:18.402341265 +0100
+@@ -22,6 +22,7 @@
+ #include <iostream>
+ #include <getopt.h>
+ #include <cstdlib>
++#include <cstdio>
+ #include <ctime>
+ // Version information
+--- ggz-server-0.0.14.1/game_servers/widelands/main.cpp~       2008-01-05 20:03:02.000000000 +0100
++++ ggz-server-0.0.14.1/game_servers/widelands/main.cpp        2012-11-18 21:31:43.242340389 +0100
+@@ -22,6 +22,7 @@
+ #include <iostream>
+ #include <getopt.h>
+ #include <cstdlib>
++#include <cstdio>
+ #include <ctime>
+ // Version information
index c48d08c9742bf190885e1f4e06ad3994367d4ebf..a8a21ff8c37483eecfa36d31c6c98a5e359ee1fd 100644 (file)
@@ -15,6 +15,7 @@ Patch1:               %{name}-gcc43.patch
 Patch2:                %{name}-inotify-header.patch
 Patch3:                %{name}-format-security.patch
 Patch4:                %{name}-avahi.patch
+Patch5:                %{name}-gcc47.patch
 URL:           http://www.ggzgamingzone.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -82,6 +83,7 @@ Statyczna biblioteka ggz-server.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__libtoolize}
This page took 0.066062 seconds and 4 git commands to generate.