summaryrefslogtreecommitdiff
path: root/emulators/xmess
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/xmess')
-rw-r--r--emulators/xmess/Makefile12
-rw-r--r--emulators/xmess/distinfo12
-rw-r--r--emulators/xmess/patches/patch-aa19
-rw-r--r--emulators/xmess/patches/patch-ab16
-rw-r--r--emulators/xmess/patches/patch-ac15
-rw-r--r--emulators/xmess/patches/patch-ad38
6 files changed, 48 insertions, 64 deletions
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
index 4538467e852..424574a8643 100644
--- a/emulators/xmess/Makefile
+++ b/emulators/xmess/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.35 2003/05/23 14:17:28 kristerw Exp $
+# $NetBSD: Makefile,v 1.36 2003/05/27 12:43:16 kristerw Exp $
#
-DISTNAME= xmame-0.68.1
-PKGNAME= xmess-0.68.1
+DISTNAME= xmame-0.69.1
+PKGNAME= xmess-0.69.1
CATEGORIES= emulators games x11
MASTER_SITES= http://x.mame.net/download/
EXTRACT_SUFX= .tar.bz2
@@ -25,11 +25,6 @@ UNLIMIT_RESOURCES= datasize
.include "../../mk/bsd.prefs.mk"
-# XXX On arm(32)/sparc, the src/unix/video_drivers/x11_window.c causes problems
-.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "sparc")
-CFLAGS+= -DBROKEN_COMPILER
-.endif
-
ROMPATH= ${PREFIX}/share/${TARGET}
SPOOLDIR= /var/games/${TARGET}
@@ -106,6 +101,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc
.include "../../audio/esound/buildlink2.mk"
-.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/xmess/distinfo b/emulators/xmess/distinfo
index 30512e32937..18266e2cba9 100644
--- a/emulators/xmess/distinfo
+++ b/emulators/xmess/distinfo
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.10 2003/05/23 14:17:28 kristerw Exp $
+$NetBSD: distinfo,v 1.11 2003/05/27 12:43:16 kristerw Exp $
-SHA1 (xmame-0.68.1.tar.bz2) = 0b7b4ed80f50edfd1342ecc966f17cd758643fe2
-Size (xmame-0.68.1.tar.bz2) = 9790085 bytes
-SHA1 (patch-aa) = f20dd759dc9350dc37e3be4a2b7e4aa0b1c85129
-SHA1 (patch-ab) = af6d9ef293ed2c840eb6cfcada77b8556aeeddd3
-SHA1 (patch-ac) = 1a8f81246e6e9fe5589a6cc6e00bb6404fa881e4
-SHA1 (patch-ad) = e389102fc29bd7c40711cfd493bad902ee102ae2
+SHA1 (xmame-0.69.1.tar.bz2) = 1c9cb0bc26a22cef95cc9e80eaa9faf7117b8b9e
+Size (xmame-0.69.1.tar.bz2) = 9803019 bytes
+SHA1 (patch-aa) = cf7e599022fe0b3bc6f12d57c4c2d5ece7d82d0a
+SHA1 (patch-ad) = 1d9726bb43e53da8f8edc56d4aa0929d890496d0
SHA1 (patch-ae) = f30af6853b77307126ad4a230d4237bc570a0ca4
diff --git a/emulators/xmess/patches/patch-aa b/emulators/xmess/patches/patch-aa
index 97e67079f7f..abbda3e2e5c 100644
--- a/emulators/xmess/patches/patch-aa
+++ b/emulators/xmess/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.17 2003/04/13 17:37:48 kristerw Exp $
---- makefile.unix.orig Sun Apr 13 18:22:02 2003
-+++ makefile.unix Sun Apr 13 18:31:53 2003
+$NetBSD: patch-aa,v 1.18 2003/05/27 12:43:16 kristerw Exp $
+--- makefile.unix.orig Mon May 26 22:09:26 2003
++++ makefile.unix Tue May 27 14:07:48 2003
@@ -33,7 +33,7 @@
###########################################################################
@@ -28,6 +28,15 @@ $NetBSD: patch-aa,v 1.17 2003/04/13 17:37:48 kristerw Exp $
###########################################################################
+@@ -106,7 +106,7 @@
+ ###########################################################################
+
+ # gcc on x86
+-CFLAGS = -O -Wall -Wno-unused
++# CFLAGS = -O -Wall -Wno-unused
+
+ # gcc on x86 with some optimizations
+ # CFLAGS = -O2 -Wall -Wno-unused -mcpu=i686 -fomit-frame-pointer \
@@ -397,7 +397,7 @@
###########################################################################
@@ -46,7 +55,7 @@ $NetBSD: patch-aa,v 1.17 2003/04/13 17:37:48 kristerw Exp $
# FreeBSD
# ARCH = freebsd
-@@ -555,7 +555,7 @@
+@@ -560,7 +560,7 @@
X11_MITSHM = 1
# Use Xv extension for hardware scaling.
@@ -55,7 +64,7 @@ $NetBSD: patch-aa,v 1.17 2003/04/13 17:37:48 kristerw Exp $
# Enable XFree86 DGA. This also causes "make install" to set the suid bit
# on the executable.
-@@ -575,8 +575,8 @@
+@@ -580,8 +580,8 @@
# X11LIB = -L/usr/lib/X11
# Standard location for XFree86
diff --git a/emulators/xmess/patches/patch-ab b/emulators/xmess/patches/patch-ab
deleted file mode 100644
index fdff3c8b2d8..00000000000
--- a/emulators/xmess/patches/patch-ab
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ab,v 1.8 2003/03/20 19:03:28 kristerw Exp $
---- src/unix/Makefile.orig Thu Mar 20 19:26:45 2003
-+++ src/unix/Makefile Thu Mar 20 19:29:35 2003
-@@ -133,9 +133,12 @@
- $(OBJDIR)/effect.o: effect.h
-
- $(VID_DIR)/x11_window.o: video-drivers/blit.h video-drivers/blit_core.h effect.h
-+ $(CC_COMPILE) $(CC) $(MY_CFLAGS) -O -o $@ -c video-drivers/x11_window.c
- $(VID_DIR)/svgalib.o: video-drivers/blit.h video-drivers/blit_core.h video-drivers/twkmodes.h video-drivers/twkuser.c effect.h
- $(VID_DIR)/xf86_dga1.o: video-drivers/xf86_dga1.c video-drivers/blit.h video-drivers/blit_core.h effect.h
-+ $(CC_COMPILE) $(CC) $(MY_CFLAGS) -O -o $@ -c video-drivers/xf86_dga1.c
- $(VID_DIR)/xf86_dga2.o: video-drivers/xf86_dga2.c video-drivers/blit.h video-drivers/blit_core.h effect.h
-+ $(CC_COMPILE) $(CC) $(MY_CFLAGS) -O -o $@ -c video-drivers/xf86_dga2.c
- $(VID_DIR)/SDL.o: video-drivers/blit.h video-drivers/blit_core.h effect.h
- $(VID_DIR)/xinput.o: video-drivers/xkeyboard.h video-drivers/glmame.h
- $(VID_DIR)/xinput.o: video-drivers/xkeyboard.h video-drivers/glmame.h
diff --git a/emulators/xmess/patches/patch-ac b/emulators/xmess/patches/patch-ac
deleted file mode 100644
index aacfa22291e..00000000000
--- a/emulators/xmess/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2003/05/23 14:17:29 kristerw Exp $
---- src/unix/config.c.orig Fri May 23 16:00:37 2003
-+++ src/unix/config.c Fri May 23 16:01:00 2003
-@@ -369,9 +369,11 @@
- return OSD_OK;
- }
-
-+#ifndef MESS
- /* handle frontend options */
- if ((i = frontend_help(gamename, defaultgamename)) != 1234)
- return i;
-+#endif
-
- if (playbackname)
- {
diff --git a/emulators/xmess/patches/patch-ad b/emulators/xmess/patches/patch-ad
index 54f008fdfbd..1f8eaa1c6ff 100644
--- a/emulators/xmess/patches/patch-ad
+++ b/emulators/xmess/patches/patch-ad
@@ -1,7 +1,21 @@
-$NetBSD: patch-ad,v 1.2 2002/12/14 15:14:27 kristerw Exp $
---- src/unix/video-drivers/blit.h.orig Sat Dec 7 03:00:00 2002
-+++ src/unix/video-drivers/blit.h Sat Dec 7 03:02:49 2002
-@@ -156,6 +156,7 @@
+$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 @@
@@ -9,7 +23,7 @@ $NetBSD: patch-ad,v 1.2 2002/12/14 15:14:27 kristerw Exp $
case 2:
#define SCALE_X(X) ((X)*2)
#ifdef INDIRECT
-@@ -265,6 +266,7 @@
+@@ -265,6 +273,7 @@
#include "blit_core.h"
break;
@@ -17,15 +31,15 @@ $NetBSD: patch-ad,v 1.2 2002/12/14 15:14:27 kristerw Exp $
#undef SCALE_X
#undef COPY_LINE2
-@@ -503,6 +505,7 @@
- #define SCALE_Y(Y) (Y)
+@@ -517,6 +526,7 @@
+ #define SCALE_Y(Y) ((Y)<<1)
- /* 1x1 we don't do scanlines with 1x1 */
+ /* 1x2 no scanlines */
+#ifndef BROKEN_COMPILER
- case 0x00101:
- case 0x10101:
- #define COPY_LINE(SRC, END, DST) { COPY_LINE2(SRC, END, DST) }
-@@ -958,6 +961,10 @@
+ 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 */