summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2003-07-19 21:02:07 +0000
committerkristerw <kristerw@pkgsrc.org>2003-07-19 21:02:07 +0000
commit2ee9f12341d00578c46fe1ce380144c013769770 (patch)
treefd0b9a30a2434f70ec6c387b32fef4048c3abb44 /emulators
parent54704b9ff218c39b2c26225c636cb98b86286118 (diff)
downloadpkgsrc-2ee9f12341d00578c46fe1ce380144c013769770.tar.gz
Update xmess to 0.71.1.
Changes since 0.70.1 includes: - Everything from MESS 0.71
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xmess/Makefile8
-rw-r--r--emulators/xmess/distinfo7
-rw-r--r--emulators/xmess/patches/patch-ab38
3 files changed, 46 insertions, 7 deletions
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
index 9a1233cc723..0c066499ad2 100644
--- a/emulators/xmess/Makefile
+++ b/emulators/xmess/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2003/07/17 21:36:32 grant Exp $
+# $NetBSD: Makefile,v 1.39 2003/07/19 21:02:07 kristerw Exp $
#
-DISTNAME= xmame-0.70.1
-PKGNAME= xmess-0.70.1
+DISTNAME= xmame-0.71.1
+PKGNAME= xmess-0.71.1
CATEGORIES= emulators games x11
MASTER_SITES= http://x.mame.net/download/
EXTRACT_SUFX= .tar.bz2
@@ -95,7 +95,7 @@ post-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${TARGET}.${MAME_DISP_METHOD} \
${PREFIX}/bin/${TARGET}
- ${INSTALL_MAN} ${WRKSRC}/doc/xmame.6 \
+ ${INSTALL_MAN} ${WRKSRC}/doc/${TARGET}.6 \
${PREFIX}/man/man6/${TARGET}.6
${INSTALL_DATA_DIR} ${ROMPATH}
${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc
diff --git a/emulators/xmess/distinfo b/emulators/xmess/distinfo
index 82fd6dac467..09fc87fa65a 100644
--- a/emulators/xmess/distinfo
+++ b/emulators/xmess/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.12 2003/06/19 17:11:22 kristerw Exp $
+$NetBSD: distinfo,v 1.13 2003/07/19 21:02:08 kristerw Exp $
-SHA1 (xmame-0.70.1.tar.bz2) = f58c45a99b1781633ce34e2a36a529b9b5f95d0b
-Size (xmame-0.70.1.tar.bz2) = 9940156 bytes
+SHA1 (xmame-0.71.1.tar.bz2) = 7c4db88a4db07572716e4fbbaa4a8684d9a2c428
+Size (xmame-0.71.1.tar.bz2) = 10051496 bytes
SHA1 (patch-aa) = cf7e599022fe0b3bc6f12d57c4c2d5ece7d82d0a
+SHA1 (patch-ab) = 1863de01acf0c805f2dc7fad78e04ec052e5e4f9
SHA1 (patch-ad) = 1d9726bb43e53da8f8edc56d4aa0929d890496d0
SHA1 (patch-ae) = f30af6853b77307126ad4a230d4237bc570a0ca4
diff --git a/emulators/xmess/patches/patch-ab b/emulators/xmess/patches/patch-ab
new file mode 100644
index 00000000000..f044cdd924c
--- /dev/null
+++ b/emulators/xmess/patches/patch-ab
@@ -0,0 +1,38 @@
+$NetBSD: patch-ab,v 1.10 2003/07/19 21:02:09 kristerw Exp $
+--- src/vidhrdw/gaiden.c.orig Sat Jul 19 21:01:17 2003
++++ src/vidhrdw/gaiden.c Sat Jul 19 21:03:44 2003
+@@ -378,22 +378,25 @@
+
+ if (attributes & 0x04)
+ {
++ UINT32 priority, flipx, flipy, color, sizex, sizey, number;
++ int ypos, xpos;
++
+ if (!blend_support && (attributes & 0x20) && (cpu_getcurrentframe() & 1))
+ goto skip_sprite;
+
+- UINT32 priority = (attributes >> 6) & 3;
+- UINT32 flipx = (attributes & 1);
+- UINT32 flipy = (attributes & 2);
++ priority = (attributes >> 6) & 3;
++ flipx = (attributes & 1);
++ flipy = (attributes & 2);
+
+- UINT32 color = source[2];
+- UINT32 sizex = 1 << ((color >> 0) & 3); /* 1,2,4,8 */
+- UINT32 sizey = 1 << ((color >> gaiden_sprite_sizey) & 3); /* 1,2,4,8 */
++ color = source[2];
++ sizex = 1 << ((color >> 0) & 3); /* 1,2,4,8 */
++ sizey = 1 << ((color >> gaiden_sprite_sizey) & 3); /* 1,2,4,8 */
+
+ /* raiga needs something like this */
+- UINT32 number = (source[1] & (sizex > 2 ? 0x7ff8 : 0x7ffc));
++ number = (source[1] & (sizex > 2 ? 0x7ff8 : 0x7ffc));
+
+- int ypos = source[3] & 0x01ff;
+- int xpos = source[4] & 0x01ff;
++ ypos = source[3] & 0x01ff;
++ xpos = source[4] & 0x01ff;
+
+ color = (color >> 4) & 0x0f;
+