From 377fcdee00fc8ce47bd231dfad3c8ee8535ce997 Mon Sep 17 00:00:00 2001 From: kristerw Date: Sat, 31 Mar 2001 18:59:30 +0000 Subject: [PATCH] Update xmame to 0.37b13.1. Changes since 0.37b12.1 - Everything from MAME 0.37b13. - Numerous updates to the OpenGL target. (Sven Goethel) - Added Photon2 display support for the QNX target. (Travis Coady) - You can now run "make clean68k" before building with a different 68k core. (Mike Coates) - Applied a patch from StretchMAME that prevents a bunch of games from segfaulting on startup. (Shyouzou Sugitani) - A fix for the sprites in CVS games. (Nicola Salmoria) --- emulators/xmame/Makefile | 6 +++--- emulators/xmame/files/md5 | 4 ++-- emulators/xmame/files/patch-sum | 3 ++- emulators/xmame/patches/patch-ab | 22 ++++++++++++++++++++++ 4 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 emulators/xmame/patches/patch-ab diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile index f92e0a5a1fb1..20a36b5533a6 100644 --- a/emulators/xmame/Makefile +++ b/emulators/xmame/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.44 2001/03/30 14:37:01 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.45 2001/03/31 18:59:30 kristerw Exp $ # -DISTNAME= xmame-0.37b12.1 +DISTNAME= xmame-0.37b13.1 CATEGORIES= emulators games x11 MASTER_SITES= http://x.mame.net/download/ -EXTRACT_SUFX= .tgz +EXTRACT_SUFX= .tar.bz2 MAINTAINER= kristerw@netbsd.org HOMEPAGE= http://x.mame.net/ diff --git a/emulators/xmame/files/md5 b/emulators/xmame/files/md5 index 169029863e52..3105a8c20bf7 100644 --- a/emulators/xmame/files/md5 +++ b/emulators/xmame/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.16 2001/03/24 19:52:34 kristerw Exp $ +$NetBSD: md5,v 1.17 2001/03/31 18:59:30 kristerw Exp $ -SHA1 (xmame-0.37b12.1.tgz) = b60885bbfe071ee0a97eef2b5a4f2a882ea76a51 +SHA1 (xmame-0.37b13.1.tar.bz2) = 88447c926ff3604e2325aafad73b1e50069c2fcf diff --git a/emulators/xmame/files/patch-sum b/emulators/xmame/files/patch-sum index d0652d5d42a0..ddbc3b1345f0 100644 --- a/emulators/xmame/files/patch-sum +++ b/emulators/xmame/files/patch-sum @@ -1,5 +1,6 @@ -$NetBSD: patch-sum,v 1.8 2001/03/24 19:52:34 kristerw Exp $ +$NetBSD: patch-sum,v 1.9 2001/03/31 18:59:30 kristerw Exp $ SHA1 (patch-aa) = 7c0edf9becbebf268ea49377c633c69f5752ad35 +SHA1 (patch-ab) = 18971a44ea477e9b72b6f5e1ed44504e2c3edc06 SHA1 (patch-ae) = e4dc55f21759f50b0c48816314ebdc4039d2490f SHA1 (patch-am) = 27908ecd35407621eae4c777de3079279f58176e diff --git a/emulators/xmame/patches/patch-ab b/emulators/xmame/patches/patch-ab new file mode 100644 index 000000000000..febeb76f9f06 --- /dev/null +++ b/emulators/xmame/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.7 2001/03/31 18:59:30 kristerw Exp $ +--- src/drawgfx.c.orig Wed Mar 28 07:30:13 2001 ++++ src/drawgfx.c Fri Mar 30 23:26:46 2001 +@@ -2,6 +2,9 @@ + + #include "driver.h" + ++/* The heavy use of INLINE in this file causes memory explosion in egcs. */ ++#undef INLINE ++#define INLINE static + + #ifdef LSB_FIRST + #define SHIFT0 0 +@@ -34,7 +37,7 @@ + return (*((UINT8 *)address ) << SHIFT0) + + (*((UINT8 *)address+1) << SHIFT1) + + (*((UINT8 *)address+2) << SHIFT2) + +- (*((UINT8 *)address+3) << SHIFT3) ); ++ (*((UINT8 *)address+3) << SHIFT3); + } + else + return *(UINT32 *)address;