From 9fec3dbec33d879c40ae32731290514ebb38cdbb Mon Sep 17 00:00:00 2001 From: kristerw Date: Wed, 3 Dec 2003 00:18:13 +0000 Subject: Update xmess to 0.77.1. Changes since 0.74.1 includes: - Everything from MESS 0.77. - Ported two more effects from AdvanceMAME: hq2x and lq2x. (Pieter Hulshoff) - Adjusted and cleaned up some YUV code. (Alastair Robinson) - Improved the Superboard II emulation in xmess. For details, see http://claudio.ch/SuperboardII/ (Claudio Nieder) - The I/O section of the xmess manpage should be more up-to-date. - A leading '.' on a path now causes xmess to treat it as absolute. This allows "xmess.x11 nes -cart ./zelda.zip" to work. - Set options.mess_printf_output so that xmess spits out more informative error messages, e.g., when it's unable to load an image. - The "-list-dsp-plugins / -ldp" and "-list-mixer-plugins / -lmp" commands now cause the program to exit with a return value of 0. --- emulators/xmess/Makefile | 11 ++++++--- emulators/xmess/distinfo | 7 +++--- emulators/xmess/patches/patch-ad | 52 ---------------------------------------- 3 files changed, 11 insertions(+), 59 deletions(-) delete mode 100644 emulators/xmess/patches/patch-ad (limited to 'emulators/xmess') diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile index 3ab72bf278c..ed48b9d80f5 100644 --- a/emulators/xmess/Makefile +++ b/emulators/xmess/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.41 2003/09/20 00:46:01 kristerw Exp $ +# $NetBSD: Makefile,v 1.42 2003/12/03 00:18:13 kristerw Exp $ # -DISTNAME= xmame-0.74.1 -PKGNAME= xmess-0.74.1 +DISTNAME= xmame-0.77.1 +PKGNAME= xmess-0.77.1 CATEGORIES= emulators games x11 MASTER_SITES= http://x.mame.net/download/ EXTRACT_SUFX= .tar.bz2 @@ -78,6 +78,11 @@ MAKE_FLAGS+= JOY_USB=1 . endif .endif +.if !empty(CC_VERSION:Mgcc-2*) +# Prevent memory explosion for gcc 2.95 and older. +MAKE_FLAGS+= LOW_MEM=1 +.endif + OWN_DIRS= ${SPOOLDIR} post-configure: diff --git a/emulators/xmess/distinfo b/emulators/xmess/distinfo index 7aa588471f4..2c11395b6f7 100644 --- a/emulators/xmess/distinfo +++ b/emulators/xmess/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.15 2003/09/20 00:46:01 kristerw Exp $ +$NetBSD: distinfo,v 1.16 2003/12/03 00:18:13 kristerw Exp $ -SHA1 (xmame-0.74.1.tar.bz2) = e58ff982cce38cd0b17ed18999580e1e456c4895 -Size (xmame-0.74.1.tar.bz2) = 11344029 bytes +SHA1 (xmame-0.77.1.tar.bz2) = 2120ef8858e83c601f8ad00cbd315bc56f75f18a +Size (xmame-0.77.1.tar.bz2) = 12036528 bytes SHA1 (patch-aa) = cf7e599022fe0b3bc6f12d57c4c2d5ece7d82d0a -SHA1 (patch-ad) = 1d9726bb43e53da8f8edc56d4aa0929d890496d0 SHA1 (patch-ae) = f30af6853b77307126ad4a230d4237bc570a0ca4 diff --git a/emulators/xmess/patches/patch-ad b/emulators/xmess/patches/patch-ad deleted file mode 100644 index 1f8eaa1c6ff..00000000000 --- a/emulators/xmess/patches/patch-ad +++ /dev/null @@ -1,52 +0,0 @@ -$NetBSD: patch-ad,v 1.3 2003/05/27 12:43:17 kristerw Exp $ ---- src/unix/video-drivers/blit.h.orig Sat May 24 21:36:36 2003 -+++ src/unix/video-drivers/blit.h Tue May 27 13:57:14 2003 -@@ -27,6 +27,13 @@ - These routines use long copies so everything should always be long aligned. - */ - -+#if __GNUC__ <= 2 -+/* The massive unrolling in this file causes a memory explosion in -+ * GCC 2.95 (e.g. x11_window.c needas about 450 Mbytes of memory -+ * to compile). Limit the code unrolling for GCC 2.x. */ -+#define BROKEN_COMPILER -+#endif -+ - #ifdef PACK_BITS - /* scale destptr delta's by 3/4 since we're using 32 bits ptr's for a 24 bits - dest */ -@@ -156,6 +163,7 @@ - - - -+#ifndef BROKEN_COMPILER - case 2: - #define SCALE_X(X) ((X)*2) - #ifdef INDIRECT -@@ -265,6 +273,7 @@ - #include "blit_core.h" - break; - -+#endif /* #ifndef BROKEN_COMPILER */ - #undef SCALE_X - #undef COPY_LINE2 - -@@ -517,6 +526,7 @@ - #define SCALE_Y(Y) ((Y)<<1) - - /* 1x2 no scanlines */ -+#ifndef BROKEN_COMPILER - case 0x00102: - - #ifdef DOUBLEBUFFER -@@ -958,6 +968,10 @@ - /* This is what happens when you give an assembly-language programmer - a C compiler. Thanks to td, of course. -JDL */ - -+#endif /* #ifndef BROKEN_COMPILER */ -+#undef COPY_LINE2 -+#undef SCALE_X -+#undef SCALE_Y - default: - - #ifdef INDIRECT -- cgit v1.2.3