summaryrefslogtreecommitdiff
path: root/emulators/xmess/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-04-02 18:47:39 +0000
committerkristerw <kristerw@pkgsrc.org>2004-04-02 18:47:39 +0000
commit8c9fb8c486260b5cd957cf280edc3c06e38d7949 (patch)
tree6ec50ac094276974ac3da579c7b84c77aac3bad3 /emulators/xmess/patches
parent20eba0c3c02ae2c4334535eb52ebd9cb0875a8c4 (diff)
downloadpkgsrc-8c9fb8c486260b5cd957cf280edc3c06e38d7949.tar.gz
Make the package realize that amd64 is a LP64 architecture.
Prevent crash when the requested display mode cannot be used. Bump PKGREVISION.
Diffstat (limited to 'emulators/xmess/patches')
-rw-r--r--emulators/xmess/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/xmess/patches/patch-ab b/emulators/xmess/patches/patch-ab
new file mode 100644
index 00000000000..6da96c0ad6f
--- /dev/null
+++ b/emulators/xmess/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.14 2004/04/02 18:47:39 kristerw Exp $
+
+--- src/unix/video-drivers/x11_window.c.orig 2004-03-27 02:15:43.000000000 +0100
++++ src/unix/video-drivers/x11_window.c 2004-03-27 02:17:58.000000000 +0100
+@@ -912,8 +912,8 @@
+ /* else we have failed clean up before retrying without MITSHM */
+ shmdt ((char *) scaled_buffer_ptr);
+ scaled_buffer_ptr = NULL;
+- XDestroyImage (image);
+- image = NULL;
++ XFree(xvimage);
++ xvimage = NULL;
+ }
+ }
+ fprintf (stderr_file, "Failed\nReverting to normal XPutImage() mode\n");