summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-16 00:10:42 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-16 00:10:42 +0000
commit046aa558ad8295a03ed17443fb97e4c459b371ef (patch)
tree8928cde511cf1c12a4555f57bc3fcc01478f9351 /games-strategy/boson/files
parentAdd missing swig depend. Bug #167007 (diff)
downloadgentoo-2-046aa558ad8295a03ed17443fb97e4c459b371ef.tar.gz
gentoo-2-046aa558ad8295a03ed17443fb97e4c459b371ef.tar.bz2
gentoo-2-046aa558ad8295a03ed17443fb97e4c459b371ef.zip
Patches for new cmake and linux-headers versions, bug #160649
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-strategy/boson/files')
-rw-r--r--games-strategy/boson/files/boson-0.13-cmake.patch10
-rw-r--r--games-strategy/boson/files/boson-0.13-linux-headers.patch18
2 files changed, 28 insertions, 0 deletions
diff --git a/games-strategy/boson/files/boson-0.13-cmake.patch b/games-strategy/boson/files/boson-0.13-cmake.patch
new file mode 100644
index 000000000000..5ce0290d3afb
--- /dev/null
+++ b/games-strategy/boson/files/boson-0.13-cmake.patch
@@ -0,0 +1,10 @@
+--- cmake/modules/boson/FindBosonPythonLibs.cmake
++++ cmake/modules/boson/FindBosonPythonLibs.cmake
+@@ -72,6 +72,6 @@
+
+ # PYTHON_LIBRARY is used for the cache entry only
+ # PYTHON_LIBRARIES is meant to be public
+- set(PYTHON_LIBRARIES "${PYTHON_LIBRARY} ${_python_dependency_libs}")
++ set(PYTHON_LIBRARIES ${PYTHON_LIBRARY} ${_python_dependency_libs})
+ ENDIF (NOT PYTHON_LIBRARY)
+
diff --git a/games-strategy/boson/files/boson-0.13-linux-headers.patch b/games-strategy/boson/files/boson-0.13-linux-headers.patch
new file mode 100644
index 000000000000..4b66068d37a8
--- /dev/null
+++ b/games-strategy/boson/files/boson-0.13-linux-headers.patch
@@ -0,0 +1,18 @@
+--- code/boson/info/boinfo_linux.cpp
++++ code/boson/info/boinfo_linux.cpp
+@@ -27,7 +27,6 @@
+ #include <qregexp.h>
+ #include <qstringlist.h>
+
+-#include <linux/version.h>
+
+ QString readFile(const char* fileName)
+ {
+@@ -72,7 +71,6 @@
+ insert(OSVersionString, kernelVersion);
+ }
+
+- kernelVersion = UTS_RELEASE;
+ insert(BoInfo::OSVersionString + BoInfo::CompileOffset, kernelVersion);
+
+ QString kernelModules = readFile("/proc/modules");