summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-04-27 20:57:33 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-04-27 20:57:33 +0000
commit76325f68c32b2f94efbd30640a67f2f349b39082 (patch)
tree92b4f3bfe3c94a0ba2330d28f382155aa88268b0 /games-strategy/lightyears/files
parentBump to 2.10.9 (diff)
downloadgentoo-2-76325f68c32b2f94efbd30640a67f2f349b39082.tar.gz
gentoo-2-76325f68c32b2f94efbd30640a67f2f349b39082.tar.bz2
gentoo-2-76325f68c32b2f94efbd30640a67f2f349b39082.zip
New package, Bug #130485 by Alexandru Toma
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-strategy/lightyears/files')
-rw-r--r--games-strategy/lightyears/files/digest-lightyears-1.2a3
-rw-r--r--games-strategy/lightyears/files/lightyears-1.2a-gentoo.patch24
2 files changed, 27 insertions, 0 deletions
diff --git a/games-strategy/lightyears/files/digest-lightyears-1.2a b/games-strategy/lightyears/files/digest-lightyears-1.2a
new file mode 100644
index 000000000000..316bafda3986
--- /dev/null
+++ b/games-strategy/lightyears/files/digest-lightyears-1.2a
@@ -0,0 +1,3 @@
+MD5 b07bf041b3a735248440dd27cf70a3e6 LightYears-1.2a.zip 1494290
+RMD160 41e52a51b8425300d5e1abc083148fec93c61d1c LightYears-1.2a.zip 1494290
+SHA256 81980a4b53ad84e835f7a8f49a615ec355b04752d6aaa64d35ba832d7190d88b LightYears-1.2a.zip 1494290
diff --git a/games-strategy/lightyears/files/lightyears-1.2a-gentoo.patch b/games-strategy/lightyears/files/lightyears-1.2a-gentoo.patch
new file mode 100644
index 000000000000..6b1996bea320
--- /dev/null
+++ b/games-strategy/lightyears/files/lightyears-1.2a-gentoo.patch
@@ -0,0 +1,24 @@
+--- LightYears.py.old 2007-04-27 21:33:46.000000000 +0200
++++ LightYears.py 2007-04-27 21:35:02.000000000 +0200
+@@ -9,8 +9,7 @@
+ if ( __name__ == "__main__" ):
+ import sys, os
+
+- CODE_DIR = os.path.abspath(os.path.join(
+- os.path.dirname(sys.argv[ 0 ]), "code"))
++ CODE_DIR = "@GENTOO_LIBDIR@"
+
+ sys.path.insert(0, CODE_DIR)
+
+--- code/resource.py.old 2007-04-27 22:17:47.000000000 +0200
++++ code/resource.py 2007-04-27 22:18:29.000000000 +0200
+@@ -14,8 +14,7 @@
+ __snd_cache = dict()
+ __snd_disabled = False
+
+-DATA_DIR = os.path.abspath(os.path.join(
+- os.path.dirname(sys.argv[ 0 ]), "data"))
++DATA_DIR = "@GENTOO_DATADIR@"
+
+
+ def Path(name, audio=False):