summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2006-06-14 14:17:05 +0000
committerPeter Volkov <pva@gentoo.org>2006-06-14 14:17:05 +0000
commitb7a6d5a00bbe3a59dd1447584d0b0688d052b8e4 (patch)
treedea3694672b359e79f04ad3d1dc1a72ea7f1b3d2 /app-emulation/e-uae/files/e-uae-0.8.28-shm-crash.patch
parentAdded ~alpha since the previous version had it and somehow the KEYWORDS got d... (diff)
downloadgentoo-2-b7a6d5a00bbe3a59dd1447584d0b0688d052b8e4.tar.gz
gentoo-2-b7a6d5a00bbe3a59dd1447584d0b0688d052b8e4.tar.bz2
gentoo-2-b7a6d5a00bbe3a59dd1447584d0b0688d052b8e4.zip
Fixed crash due to X11 shared memory extension. Misc cleanings.
(Portage version: 2.0.54-r2)
Diffstat (limited to 'app-emulation/e-uae/files/e-uae-0.8.28-shm-crash.patch')
-rw-r--r--app-emulation/e-uae/files/e-uae-0.8.28-shm-crash.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-emulation/e-uae/files/e-uae-0.8.28-shm-crash.patch b/app-emulation/e-uae/files/e-uae-0.8.28-shm-crash.patch
new file mode 100644
index 000000000000..0607cdccfbfd
--- /dev/null
+++ b/app-emulation/e-uae/files/e-uae-0.8.28-shm-crash.patch
@@ -0,0 +1,12 @@
+diff -Naur e-uae-0.8.28.orig/src/gfx-x11/xwin.c e-uae-0.8.28/src/gfx-x11/xwin.c
+--- e-uae-0.8.28.orig/src/gfx-x11/xwin.c 2005-08-21 19:10:40.000000000 +0400
++++ e-uae-0.8.28/src/gfx-x11/xwin.c 2006-06-14 17:50:29.000000000 +0400
+@@ -1215,7 +1215,7 @@
+
+ if (! dgamode) {
+ if (! screen_is_picasso && refresh_necessary) {
+- DO_PUTIMAGE (ami_dinfo.ximg, 0, 0, 0, 0, currprefs.gfx_width_fs, currprefs.gfx_height_fs);
++ DO_PUTIMAGE (ami_dinfo.ximg, 0, 0, 0, 0, current_width, current_height);
+ refresh_necessary = 0;
+ }
+ if (cursorOn && !currprefs.x11_hide_cursor) {