summaryrefslogtreecommitdiff
path: root/emulators/xmess
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2003-12-03 00:18:13 +0000
committerkristerw <kristerw@pkgsrc.org>2003-12-03 00:18:13 +0000
commit58ed46f1dced6332bf83fb74382cacb11cc80fea (patch)
tree6f8a52572c57ccb112115ceab51db7cfd4c171ac /emulators/xmess
parente22ddc65cd2f995a4d92b9bdeed658a45878daf0 (diff)
downloadpkgsrc-58ed46f1dced6332bf83fb74382cacb11cc80fea.tar.gz
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.
Diffstat (limited to 'emulators/xmess')
-rw-r--r--emulators/xmess/Makefile11
-rw-r--r--emulators/xmess/distinfo7
-rw-r--r--emulators/xmess/patches/patch-ad52
3 files changed, 11 insertions, 59 deletions
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