diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-11-12 04:52:27 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-11-12 04:52:27 +0000 |
commit | 20410eadc235efee624111875720f0dc5f5bb65c (patch) | |
tree | 37b61eee78ccac6246a21c736bc7551c7fe92114 /games-arcade/bub-n-bros/files | |
parent | old (diff) | |
download | gentoo-2-20410eadc235efee624111875720f0dc5f5bb65c.tar.gz gentoo-2-20410eadc235efee624111875720f0dc5f5bb65c.tar.bz2 gentoo-2-20410eadc235efee624111875720f0dc5f5bb65c.zip |
old
(Portage version: 2.1.3.19)
Diffstat (limited to 'games-arcade/bub-n-bros/files')
-rw-r--r-- | games-arcade/bub-n-bros/files/bub-n-bros-1.5-home.patch | 51 | ||||
-rw-r--r-- | games-arcade/bub-n-bros/files/bub-n-bros-1.5-python25.patch | 32 |
2 files changed, 0 insertions, 83 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 deleted file mode 100644 index a52dc15c0e16..000000000000 --- a/games-arcade/bub-n-bros/files/bub-n-bros-1.5-home.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- 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/bub-n-bros-1.5-python25.patch b/games-arcade/bub-n-bros/files/bub-n-bros-1.5-python25.patch deleted file mode 100644 index 447d51527cdc..000000000000 --- a/games-arcade/bub-n-bros/files/bub-n-bros-1.5-python25.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -ur bubbros-1.5.orig/bubbob/statesaver.c bubbros-1.5/bubbob/statesaver.c ---- bubbros-1.5.orig/bubbob/statesaver.c 2007-08-13 18:08:58.000000000 +0200 -+++ bubbros-1.5/bubbob/statesaver.c 2007-08-13 18:09:32.000000000 +0200 -@@ -44,7 +44,7 @@ - Py_INCREF(g); /* exhausted -- can return 'g' itself */ - return g; - } -- if (f->f_nfreevars || f->f_ncells) { -+ if (PySequence_Length(co->co_freevars) || PySequence_Length(co->co_cellvars)) { - PyErr_SetString(PyExc_ValueError, "generator has cell or free vars"); - return NULL; - } -@@ -67,6 +67,8 @@ - PyFrameObject* f; - PyFrameObject* f2; - PyCodeObject* co; -+ PyCodeObject* code; -+ PyCodeObject* code2; - int i, res; - - if (g != g2) -@@ -94,8 +96,8 @@ - PyErr_SetString(PyExc_TypeError, "returned gi_frame"); - return -1; - } -- f2 = (PyFrameObject*) x; -- if (f2->f_stacksize != f->f_stacksize) { -+ code2 = (PyFrameObject*) x; -+ if (code2->co_stacksize != code->co_stacksize) { - PyErr_SetString(PyExc_TypeError, "stack size mismatch"); - return -1; - } |