Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7ee9425c4ac18fcb3ba7558f2bf7f8ed90d3b73b
commit 7ee9425c4ac18fcb3ba7558f2bf7f8ed90d3b73b
Author: Devil505 devil505li...@gmail.com
Date: Wed Apr 15 08:42:59 2009 +0200
boson-0.13-2-i686
* rebuilt with openal 1.7.411
* added patchs from gentoo to fix building errors
* now using cmake.sh
* now using gnome-scriptlet for hicolor icon cache
diff --git a/source/games-extra/boson/050_all_gcc43.patch
b/source/games-extra/boson/050_all_gcc43.patch
new file mode 100644
index 000..24a3560
--- /dev/null
+++ b/source/games-extra/boson/050_all_gcc43.patch
@@ -0,0 +1,222 @@
+diff --exclude='*.orig' -NrU5
boson-all-0.13.orig/code/boson/programs/mainnoguimain.cpp
boson-all-0.13/code/boson/programs/mainnoguimain.cpp
+--- boson-all-0.13.orig/code/boson/programs/mainnoguimain.cpp 2006-03-09
18:30:29.0 +0100
boson-all-0.13/code/boson/programs/mainnoguimain.cpp 2008-05-05
16:52:40.0 +0200
+@@ -55,11 +55,11 @@
+ { 0, 0, 0 }
+ };
+
+ static bool parseArgs(MainNoGUIStartOptions* options, KCmdLineArgs* args);
+ static bool parseAddComputerArgs(MainNoGUIStartOptions* options,
KCmdLineArgs* args);
+-static bool parsePlayFieldArgs(MainNoGUIStartOptions* args, KCmdLineArgs*
args);
++static bool parsePlayFieldArgs(MainNoGUIStartOptions* options, KCmdLineArgs*
args);
+
+ static void postBosonConfigInit();
+
+ int main(int argc, char **argv)
+ {
+diff --exclude='*.orig' -NrU5
boson-all-0.13.orig/code/ufo/include/ufo/util/urectangle.hpp
boson-all-0.13/code/ufo/include/ufo/util/urectangle.hpp
+--- boson-all-0.13.orig/code/ufo/include/ufo/util/urectangle.hpp
2005-12-01 00:13:04.0 +0100
boson-all-0.13/code/ufo/include/ufo/util/urectangle.hpp2008-05-05
16:52:40.0 +0200
+@@ -32,10 +32,13 @@
+
+ #include upoint.hpp
+ #include udimension.hpp
+ #include uinsets.hpp
+
++#include cstdlib
++#include memory
++
+ namespace ufo {
+
+ /** @short An abstraction of a rectangle (x, y, width and height).
+ * @ingroup appearance
+ *
+diff --exclude='*.orig' -NrU5
boson-all-0.13.orig/code/ufo/src/gl/ugl_driver.cpp
boson-all-0.13/code/ufo/src/gl/ugl_driver.cpp
+--- boson-all-0.13.orig/code/ufo/src/gl/ugl_driver.cpp 2005-12-01
00:13:04.0 +0100
boson-all-0.13/code/ufo/src/gl/ugl_driver.cpp 2008-05-05
16:52:40.0 +0200
+@@ -27,10 +27,12 @@
+
+ #include ufo/gl/ugl_driver.hpp
+
+ #include ufo/usharedlib.hpp
+
++#include cstdlib
++
+ #ifdef UFO_OS_WIN32
+ #define UFO_GL_LIB OPENGL32.DLL
+ #else
+ #define UFO_GL_LIB libGL.so.1
+ #endif
+diff --exclude='*.orig' -NrU5
boson-all-0.13.orig/code/ufo/src/uabstractcontext.cpp
boson-all-0.13/code/ufo/src/uabstractcontext.cpp
+--- boson-all-0.13.orig/code/ufo/src/uabstractcontext.cpp 2005-08-22
02:58:03.0 +0200
boson-all-0.13/code/ufo/src/uabstractcontext.cpp 2008-05-05
16:52:40.0 +0200
+@@ -48,10 +48,11 @@
+ // for key bindings
+ #include ufo/uinputmap.hpp
+ #include ufo/ukeystroke.hpp
+ #include ufo/events/uactionevent.hpp
+
++#include cstdlib
+
+ using namespace ufo;
+
+ //#define DEBUG_SEND 1
+ //#define DEBUG_FIRE_MOUSE_EVENT 1
+diff --exclude='*.orig' -NrU5
boson-all-0.13.orig/code/ufo/src/uabstractdisplay.cpp
boson-all-0.13/code/ufo/src/uabstractdisplay.cpp
+--- boson-all-0.13.orig/code/ufo/src/uabstractdisplay.cpp 2005-12-01
00:13:04.0 +0100
boson-all-0.13/code/ufo/src/uabstractdisplay.cpp 2008-05-05
16:52:40.0 +0200
+@@ -43,10 +43,11 @@
+ #include ufo/gl/ugl_image.hpp
+ #include ufo/image/uimageio.hpp
+ #include ufo/uvolatiledata.hpp
+
+ #include bitset
++#include algorithm
+
+ namespace ufo {
+
+ // FIXME: this should be in a file udisplay.cpp
+ UDisplay * UDisplay::m_default = NULL;
+diff --exclude='*.orig' -NrU5
boson-all-0.13.orig/code/ufo/src/uabstracttoolkit.cpp
boson-all-0.13/code/ufo/src/uabstracttoolkit.cpp
+--- boson-all-0.13.orig/code/ufo/src/uabstracttoolkit.cpp 2005-12-01
00:13:04.0 +0100
boson-all-0.13/code/ufo/src/uabstracttoolkit.cpp 2008-05-05
16:52:40.0 +0200
+@@ -60,10 +60,13 @@
+ #include ufo/ux/uxwgldriver.hpp
+ #endif
+
+ #include ufo/uvideodriver.hpp
+
++#include climits
++#include cstring
++
+ namespace ufo {
+ bool operator(const UPluginInfo p1, const UPluginInfo p2) {
+ return ((p1.category p2.category) || (p1.feature p2.feature));
+ }
+ }
+diff --exclude='*.orig' -NrU5
boson-all-0.13.orig/code/ufo/src/ubuttongroup.cpp
boson-all-0.13/code/ufo/src/ubuttongroup.cpp
+--- boson-all-0.13.orig/code/ufo/src/ubuttongroup.cpp 2005-12-01
00:13:04.0 +0100
boson-all-0.13/code/ufo/src/ubuttongroup.cpp 2008-05-05
16:52:40.0 +0200
+@@ -29,10 +29,12 @@
+
+ #include ufo/widgets/ubutton.hpp
+ // special case for radio buttons
+ #include ufo/widgets/uradiobutton.hpp
+
++#include algorithm
++
+ using namespace ufo;
+
+ UFO_IMPLEMENT_DYNAMIC_CLASS(UButtonGroup, UObject)