r11000 - in packages/trunk/teeworlds/debian: . patches
Felix Geyer
debfx-guest at alioth.debian.org
Mon May 31 21:16:50 UTC 2010
Author: debfx-guest
Date: 2010-05-31 21:16:45 +0000 (Mon, 31 May 2010)
New Revision: 11000
Added:
packages/trunk/teeworlds/debian/patches/set-data-dir.patch
Modified:
packages/trunk/teeworlds/debian/changelog
packages/trunk/teeworlds/debian/patches/series
Log:
Add set-data-dir.patch to hardcode the data dir location.
Modified: packages/trunk/teeworlds/debian/changelog
===================================================================
--- packages/trunk/teeworlds/debian/changelog 2010-05-31 20:39:28 UTC (rev 10999)
+++ packages/trunk/teeworlds/debian/changelog 2010-05-31 21:16:45 UTC (rev 11000)
@@ -3,8 +3,9 @@
* New upstream release. (Closes: #559938, LP: #559922)
* Add myself as uploader.
* Fix loading of sound files. (Closes: #551906)
+ * Add set-data-dir.patch to hardcode the data dir location.
- -- Felix Geyer <debfx-pkg at fobos.de> Mon, 31 May 2010 21:48:56 +0200
+ -- Felix Geyer <debfx-pkg at fobos.de> Mon, 31 May 2010 23:14:55 +0200
teeworlds (0.5.1-4) unstable; urgency=low
Modified: packages/trunk/teeworlds/debian/patches/series
===================================================================
--- packages/trunk/teeworlds/debian/patches/series 2010-05-31 20:39:28 UTC (rev 10999)
+++ packages/trunk/teeworlds/debian/patches/series 2010-05-31 21:16:45 UTC (rev 11000)
@@ -1,2 +1,3 @@
system-libs.patch
new-wavpack.patch
+set-data-dir.patch
Added: packages/trunk/teeworlds/debian/patches/set-data-dir.patch
===================================================================
--- packages/trunk/teeworlds/debian/patches/set-data-dir.patch (rev 0)
+++ packages/trunk/teeworlds/debian/patches/set-data-dir.patch 2010-05-31 21:16:45 UTC (rev 11000)
@@ -0,0 +1,12 @@
+diff -Nur teeworlds-0.5.2.orig/src/engine/e_engine.c teeworlds-0.5.2/src/engine/e_engine.c
+--- teeworlds-0.5.2.orig/src/engine/e_engine.c 2010-05-31 18:36:59.000000000 +0200
++++ teeworlds-0.5.2/src/engine/e_engine.c 2010-05-31 22:48:11.603356248 +0200
+@@ -13,7 +13,7 @@
+ #include "e_linereader.h"
+
+ /* compiled-in data-dir path */
+-#define DATA_DIR "data"
++#define DATA_DIR "/usr/share/games/teeworlds/data"
+
+ static JOBPOOL hostlookuppool;
+ static int engine_find_datadir(char *argv0);
More information about the Pkg-games-commits
mailing list