summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-06-08 01:02:10 +0000
committerTristan Heaven <tristan@gentoo.org>2007-06-08 01:02:10 +0000
commit336f5a911f65c7f4009e81e17b4c11e6326e1a21 (patch)
treef703709410f322e6333c305e060e888127a84bde /games-arcade/bub-n-bros/files
parentversion bump as per bug #181263 thanks cilly (diff)
downloadhistorical-336f5a911f65c7f4009e81e17b4c11e6326e1a21.tar.gz
historical-336f5a911f65c7f4009e81e17b4c11e6326e1a21.tar.bz2
historical-336f5a911f65c7f4009e81e17b4c11e6326e1a21.zip
Version bump by Tomasz Mon, bug #78823
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'games-arcade/bub-n-bros/files')
-rw-r--r--games-arcade/bub-n-bros/files/bub-n-bros-1.5-home.patch51
-rw-r--r--games-arcade/bub-n-bros/files/digest-bub-n-bros-1.53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-arcade/bub-n-bros/files/bub-n-bros-1.5-home.patch b/games-arcade/bub-n-bros/files/bub-n-bros-1.5-home.patch
new file mode 100644
index 000000000000..a52dc15c0e16
--- /dev/null
+++ b/games-arcade/bub-n-bros/files/bub-n-bros-1.5-home.patch
@@ -0,0 +1,51 @@
+--- bubbob/images.py
++++ bubbob/images.py
+@@ -427,7 +427,6 @@
+ # check and maybe regenerate the colored image files
+ file = os.path.join('images', 'buildcolors.py')
+ g = {'__name__': '__auto__', '__file__': file}
+- execfile(file, g)
+ # replace the entries 'filename_%d.ppm' by a family of entries,
+ # one for each color
+ sprmap = {}
+--- display/pclient.py
++++ display/pclient.py
+@@ -155,8 +155,8 @@
+ if mode[-1].has_key('cfgfile'):
+ self.trackcfgfile = mode[-1]['cfgfile']
+ else:
+- self.trackcfgfile = os.path.join(DataChunk.SOURCEDIR,
+- 'http2', 'config.txt')
++ self.trackcfgfile = os.path.join(os.environ.get('HOME'),
++ '.bubnbros')
+ self.udpsock = None
+ self.udpsock_low = None
+ self.udpsock2 = None
+--- http2/httppages.py
++++ http2/httppages.py
+@@ -38,7 +38,7 @@
+
+
+ class PageServer:
+- CONFIGFILE = 'config.txt'
++ CONFIGFILE = '.bubnbros'
+ localservers = None
+
+ def __init__(self, Game):
+@@ -46,7 +46,7 @@
+ self.seed = hex(random.randrange(0x1000, 0x10000))
+ #self.unique_actions = {}
+ self.localhost = gamesrv.HOSTNAME
+- self.filename = os.path.join(LOCALDIR, self.CONFIGFILE)
++ self.filename = os.path.join(os.environ.get('HOME'), self.CONFIGFILE)
+ data = self.loadoptionfile()
+ self.globaloptions = Options(data.get('*', {}))
+ self.localoptions = Options(data.get(self.localhost, {}))
+@@ -336,7 +336,6 @@
+ 'buildcolors.py')
+ if os.path.exists(file):
+ g = {'__name__': '__auto__', '__file__': file}
+- execfile(file, g)
+
+ if port:
+ address = '%s:%s' % (host, port)
diff --git a/games-arcade/bub-n-bros/files/digest-bub-n-bros-1.5 b/games-arcade/bub-n-bros/files/digest-bub-n-bros-1.5
new file mode 100644
index 000000000000..c0d86d4cad44
--- /dev/null
+++ b/games-arcade/bub-n-bros/files/digest-bub-n-bros-1.5
@@ -0,0 +1,3 @@
+MD5 431fd06ba7f838f61c9200e291060365 bubbros-1.5.tar.bz2 8856240
+RMD160 dafe5004569ed4313d0e470627337810fefec820 bubbros-1.5.tar.bz2 8856240
+SHA256 91db9aa59f2adcd6f79cff475b457901aea82ffe0ebc557012eb3a0a36a3b05b bubbros-1.5.tar.bz2 8856240