diff options
Diffstat (limited to 'sysutils/scanmem/files/patch-gui-GameConqueror.py')
-rw-r--r-- | sysutils/scanmem/files/patch-gui-GameConqueror.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sysutils/scanmem/files/patch-gui-GameConqueror.py b/sysutils/scanmem/files/patch-gui-GameConqueror.py deleted file mode 100644 index 1a3efbd6de87..000000000000 --- a/sysutils/scanmem/files/patch-gui-GameConqueror.py +++ /dev/null @@ -1,30 +0,0 @@ ---- gui/GameConqueror.py.orig 2011-12-02 14:22:35 UTC -+++ gui/GameConqueror.py -@@ -749,7 +749,7 @@ class GameConqueror(): - self.cheatlist_liststore.prepend(['=', False, description, addr, vt, value, True]) - - def get_process_list(self): -- return [map(str.strip, e.strip().split(' ',2)) for e in os.popen('ps -wweo pid=,user=,command= --sort=-pid').readlines()] -+ return [map(str.strip, e.strip().split(' ',2)) for e in reversed(os.popen('ps -axww -o pid= -o user= -o command=').readlines())] - - def select_process(self, pid, process_name): - # ask backend for attaching the target process -@@ -778,7 +778,7 @@ class GameConqueror(): - self.cheatlist_liststore[i][1] = False - - def read_maps(self): -- lines = open('/proc/%d/maps' % (self.pid,)).readlines() -+ lines = open('/compat/linux/proc/%d/maps' % (self.pid,)).readlines() - self.maps = [] - for l in lines: - item = {} -@@ -980,7 +980,9 @@ class GameConqueror(): - gtk.main_quit() - - def main(self): -+ gtk.threads_enter() - gtk.main() -+ gtk.threads_leave() - - def check_backend_version(self): - if self.backend.version != VERSION: |