summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-09 16:18:52 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-09 16:24:45 -0500
commit387359e0e4e74b14da1105089e5dff5e239263e2 (patch)
tree3772e61915c818e6503eac6e7a4bf8e46dfd686d /games-action/lugaru/files
parentversion bump (bug #567814) (diff)
downloadgentoo-387359e0e4e74b14da1105089e5dff5e239263e2.tar.gz
gentoo-387359e0e4e74b14da1105089e5dff5e239263e2.tar.bz2
gentoo-387359e0e4e74b14da1105089e5dff5e239263e2.zip
build from source (bug #505608)
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'games-action/lugaru/files')
-rw-r--r--games-action/lugaru/files/lugaru-20151204-dir.patch11
-rw-r--r--games-action/lugaru/files/lugaru-9999-dir.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/games-action/lugaru/files/lugaru-20151204-dir.patch b/games-action/lugaru/files/lugaru-20151204-dir.patch
new file mode 100644
index 000000000000..8595084232ff
--- /dev/null
+++ b/games-action/lugaru/files/lugaru-20151204-dir.patch
@@ -0,0 +1,11 @@
+--- Source/OpenGL_Windows.cpp.orig 2015-01-14 23:57:19.799186785 -0500
++++ Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500
+@@ -1330,7 +1330,7 @@
+
+ // !!! FIXME: we could use a Win32 API for this. --ryan.
+ #ifndef WIN32
+- chdirToAppPath(argv[0]);
++ chdir("@GENTOO_DIR@");
+ #endif
+
+ LOGFUNC;
diff --git a/games-action/lugaru/files/lugaru-9999-dir.patch b/games-action/lugaru/files/lugaru-9999-dir.patch
new file mode 100644
index 000000000000..8595084232ff
--- /dev/null
+++ b/games-action/lugaru/files/lugaru-9999-dir.patch
@@ -0,0 +1,11 @@
+--- Source/OpenGL_Windows.cpp.orig 2015-01-14 23:57:19.799186785 -0500
++++ Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500
+@@ -1330,7 +1330,7 @@
+
+ // !!! FIXME: we could use a Win32 API for this. --ryan.
+ #ifndef WIN32
+- chdirToAppPath(argv[0]);
++ chdir("@GENTOO_DIR@");
+ #endif
+
+ LOGFUNC;