pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/xmame Make the package realize that amd64 is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f6eac10cd34
branches:  trunk
changeset: 472031:2f6eac10cd34
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Fri Apr 02 17:45:51 2004 +0000

description:
Make the package realize that amd64 is a LP64 architecture.
Prevent crash when the requested display mode cannot be used.
Bump PKGREVISION.

diffstat:

 emulators/xmame/Makefile         |   6 ++++--
 emulators/xmame/distinfo         |   3 ++-
 emulators/xmame/patches/patch-ab |  15 +++++++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 2ce31e5cc517 -r 2f6eac10cd34 emulators/xmame/Makefile
--- a/emulators/xmame/Makefile  Fri Apr 02 17:26:21 2004 +0000
+++ b/emulators/xmame/Makefile  Fri Apr 02 17:45:51 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.107 2004/03/31 04:39:17 xtraeme Exp $
+# $NetBSD: Makefile,v 1.108 2004/04/02 17:45:51 kristerw Exp $
 #
 
 DISTNAME=              xmame-0.80.1
+PKGREVISION=           1
 CATEGORIES=            emulators games x11
 MASTER_SITES=          http://x.mame.net/download/
 EXTRACT_SUFX=          .tar.bz2
@@ -42,9 +43,10 @@
 MAME_DISP_METHOD?=     x11
 
 # Determine which CPU-specific code to use.
-.for MARCH in alpha m68k i386 ia64
+.for MARCH in alpha m68k i386 ia64 mips
 MAME_CPU.${MARCH}?=    ${MARCH}
 .endfor
+MAME_CPU.x86_64?=      amd64
 .if !defined(MAME_CPU.${MACHINE_ARCH})
 .  include "../../mk/endian.mk"
 _MAME_CPU.big-endian=          risc
diff -r 2ce31e5cc517 -r 2f6eac10cd34 emulators/xmame/distinfo
--- a/emulators/xmame/distinfo  Fri Apr 02 17:26:21 2004 +0000
+++ b/emulators/xmame/distinfo  Fri Apr 02 17:45:51 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.46 2004/03/31 04:39:17 xtraeme Exp $
+$NetBSD: distinfo,v 1.47 2004/04/02 17:45:51 kristerw Exp $
 
 SHA1 (xmame-0.80.1.tar.bz2) = a45670eac5087fb9c697a1205bb14b7df9d7702b
 Size (xmame-0.80.1.tar.bz2) = 12460829 bytes
 SHA1 (patch-aa) = 0b9ffcb7c4305e7c349f229b2646acb31553d549
+SHA1 (patch-ab) = 2aea6b094792498939294a285e151bed6b4ab01e
 SHA1 (patch-ae) = df9ce91871bfcff611ff8f616482d4ff2e8204a3
diff -r 2ce31e5cc517 -r 2f6eac10cd34 emulators/xmame/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/xmame/patches/patch-ab  Fri Apr 02 17:45:51 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.23 2004/04/02 17:45:51 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");



Home | Main Index | Thread Index | Old Index