Thu Dec 30 11:18:34 2021 UTC ()
mame: update to 0.239.

Did you think we窶囘 let 2021 finish without a parting MAME release?
MAME 0.239 is here, just in time for the new year. This release
includes a fix for many subtle and not-so-subtle sound and music
timing issues in games using Yamaha FM synthesis chips. The frame
rate for Gaelco games has been adjusted to satisfy some wily
protection checks, fixing crashes when continuing in Thunder Hoop
and graphical issues in Squash. A big update for Philips CD-i
emulation just made it in for this release, greatly improving the
experience in a lot of games. Nintendo Famicom Disk System emulation
has also seen some improvements this month.

This release is packed with even more Soviet re-skins of the Game
& Watch Egg program, the latest Apple II dumps and cracks, another
batch of Commodore 64 cassettes, and more exotic NES and Famicom
cartridges. Milan Galcik, who窶冱 been busy with the Elektronika
hand-held games, has also completed a Slovak UI translation and
updated the neglected Czech translation. Both genuine and cloned
Apple II systems have had emulation updates this month, with a
number of unique VTech Laser and Franklin ACE features now supported,
and performance improvements for the Apple IIgs.


(wiz)
diff -r1.143 -r1.144 pkgsrc/emulators/mame/Makefile
diff -r1.60 -r1.61 pkgsrc/emulators/mame/PLIST
diff -r1.114 -r1.115 pkgsrc/emulators/mame/distinfo
diff -r0 -r1.1 pkgsrc/emulators/mame/patches/patch-src_devices_bus_a2bus_cards.cpp

cvs diff -r1.143 -r1.144 pkgsrc/emulators/mame/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/mame/Makefile 2021/12/08 16:04:17 1.143
+++ pkgsrc/emulators/mame/Makefile 2021/12/30 11:18:34 1.144
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.143 2021/12/08 16:04:17 adam Exp $ 1# $NetBSD: Makefile,v 1.144 2021/12/30 11:18:34 wiz Exp $
2 2
3DISTNAME= mame-0.238 3DISTNAME= mame-0.239
4PKGREVISION= 1 
5CATEGORIES= emulators 4CATEGORIES= emulators
6MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/}
7GITHUB_TAG= ${DISTNAME:S/-//S/.//} 6GITHUB_TAG= ${DISTNAME:S/-//S/.//}
8 7
9MAINTAINER= wiz@NetBSD.org 8MAINTAINER= wiz@NetBSD.org
10HOMEPAGE= https://www.mamedev.org/ 9HOMEPAGE= https://www.mamedev.org/
11COMMENT= Multiple Arcade Machine Emulator 10COMMENT= Multiple Arcade Machine Emulator
12LICENSE= modified-bsd AND gnu-gpl-v2 11LICENSE= modified-bsd AND gnu-gpl-v2
13 12
14DOCDIR= share/doc/mame 13DOCDIR= share/doc/mame
15SHAREDIR= share/mame 14SHAREDIR= share/mame
16INSTALLATION_DIRS= bin ${DOCDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man6 15INSTALLATION_DIRS= bin ${DOCDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man6
17INSTALLATION_DIRS+= ${SHAREDIR}/artwork/bgfx/border_blur 16INSTALLATION_DIRS+= ${SHAREDIR}/artwork/bgfx/border_blur
@@ -27,26 +26,28 @@ UNLIMIT_RESOURCES+= datasize virtualsize @@ -27,26 +26,28 @@ UNLIMIT_RESOURCES+= datasize virtualsize
27MAKE_FILE= makefile 26MAKE_FILE= makefile
28EXTRACT_USING= bsdtar 27EXTRACT_USING= bsdtar
29 28
30.include "../../mk/bsd.prefs.mk" 29.include "../../mk/bsd.prefs.mk"
31 30
32.if ${OPSYS} == "NetBSD" 31.if ${OPSYS} == "NetBSD"
33# needs kvm and I didn't find the right place to add it in the build system 32# needs kvm and I didn't find the right place to add it in the build system
34MAKE_ENV+= LDOPTS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.flac}/lib -L${BUILDLINK_PREFIX.flac}/lib -lkvm" 33MAKE_ENV+= LDOPTS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.flac}/lib -L${BUILDLINK_PREFIX.flac}/lib -lkvm"
35.else 34.else
36MAKE_ENV+= LDOPTS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.flac}/lib -L${BUILDLINK_PREFIX.flac}/lib" 35MAKE_ENV+= LDOPTS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.flac}/lib -L${BUILDLINK_PREFIX.flac}/lib"
37.endif 36.endif
38 37
39MAKE_FLAGS+= PRECOMPILE=0 38MAKE_FLAGS+= PRECOMPILE=0
 39# TODO: set differently when debugging?
 40MAKE_FLAGS+= OPTIMIZE=2
40 41
41.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64" 42.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
42# \todo Arch detection for aarch64 fails, investigate why 43# \todo Arch detection for aarch64 fails, investigate why
43MAKE_FLAGS+= NOASM=1 44MAKE_FLAGS+= NOASM=1
44MAKE_FLAGS+= FORCE_DRC_C_BACKEND=1 45MAKE_FLAGS+= FORCE_DRC_C_BACKEND=1
45BUILDLINK_TRANSFORM+= rm:-m32 46BUILDLINK_TRANSFORM+= rm:-m32
46BUILDLINK_TRANSFORM+= rm:-m64 47BUILDLINK_TRANSFORM+= rm:-m64
47.endif 48.endif
48 49
49# Need to use gnu++ instead of c++ to get __builtin_alloca() (!) 50# Need to use gnu++ instead of c++ to get __builtin_alloca() (!)
50BUILDLINK_TRANSFORM+= opt:-std=c++17:-std=gnu++17 51BUILDLINK_TRANSFORM+= opt:-std=c++17:-std=gnu++17
51 52
52# -Werror is problematic 53# -Werror is problematic

cvs diff -r1.60 -r1.61 pkgsrc/emulators/mame/PLIST (expand / switch to unified diff)

--- pkgsrc/emulators/mame/PLIST 2021/11/24 14:07:49 1.60
+++ pkgsrc/emulators/mame/PLIST 2021/12/30 11:18:34 1.61
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.60 2021/11/24 14:07:49 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.61 2021/12/30 11:18:34 wiz Exp $
2bin/castool 2bin/castool
3bin/chdman 3bin/chdman
4bin/floptool 4bin/floptool
5bin/imgtool 5bin/imgtool
6bin/jedutil 6bin/jedutil
7bin/ldresample 7bin/ldresample
8bin/ldverify 8bin/ldverify
9bin/mame 9bin/mame
10bin/nltool 10bin/nltool
11bin/nlwav 11bin/nlwav
12bin/pngcmp 12bin/pngcmp
13bin/regrep 13bin/regrep
14bin/romcmp 14bin/romcmp
@@ -711,19 +711,20 @@ share/mame/hash/waveterm.xml @@ -711,19 +711,20 @@ share/mame/hash/waveterm.xml
711share/mame/hash/wicat.xml 711share/mame/hash/wicat.xml
712share/mame/hash/wizard_cart.xml 712share/mame/hash/wizard_cart.xml
713share/mame/hash/wmbullet.xml 713share/mame/hash/wmbullet.xml
714share/mame/hash/wscolor.xml 714share/mame/hash/wscolor.xml
715share/mame/hash/wswan.xml 715share/mame/hash/wswan.xml
716share/mame/hash/x07_card.xml 716share/mame/hash/x07_card.xml
717share/mame/hash/x07_cass.xml 717share/mame/hash/x07_cass.xml
718share/mame/hash/x1_cass.xml 718share/mame/hash/x1_cass.xml
719share/mame/hash/x1_flop.xml 719share/mame/hash/x1_flop.xml
720share/mame/hash/x68k_flop.xml 720share/mame/hash/x68k_flop.xml
721share/mame/hash/xegs.xml 721share/mame/hash/xegs.xml
722share/mame/hash/xerox820.xml 722share/mame/hash/xerox820.xml
723share/mame/hash/xerox820ii.xml 723share/mame/hash/xerox820ii.xml
 724share/mame/hash/z80clock.xml
724share/mame/hash/z80ne_cass.xml 725share/mame/hash/z80ne_cass.xml
725share/mame/hash/z80ne_flop.xml 726share/mame/hash/z80ne_flop.xml
726share/mame/hash/z88_cart.xml 727share/mame/hash/z88_cart.xml
727share/mame/hash/zorba.xml 728share/mame/hash/zorba.xml
728share/mame/hash/zx80_cass.xml 729share/mame/hash/zx80_cass.xml
729share/mame/hash/zx81_cass.xml 730share/mame/hash/zx81_cass.xml

cvs diff -r1.114 -r1.115 pkgsrc/emulators/mame/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/mame/distinfo 2021/11/24 14:07:49 1.114
+++ pkgsrc/emulators/mame/distinfo 2021/12/30 11:18:34 1.115
@@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
1$NetBSD: distinfo,v 1.114 2021/11/24 14:07:49 wiz Exp $ 1$NetBSD: distinfo,v 1.115 2021/12/30 11:18:34 wiz Exp $
2 2
3BLAKE2s (mame-0.238.tar.gz) = c9634a8283769e01382bfb485e09016e707f7045139d435267c18d66b2eb5811 3BLAKE2s (mame-0.239.tar.gz) = 789335f8564bf92f5aac13d3ed94b3b19e42722c240ce167e138fdc3b7ade821
4SHA512 (mame-0.238.tar.gz) = 55d64274c78885b850764ed1a21585f5f85fd62995f287dafbbf831a645e2abcae9107df668f91a53fb74fd115045f977d10d4268eb31c2ec7fc6163998136a0 4SHA512 (mame-0.239.tar.gz) = d8e0ba1847a38b938fed3c05a726c98c5a9789d3cf66e4bdb4017493e3cc9188aeae3831df5c4731c3dfcb5cdc9056bb4a445d4cbaa2e41cd08cebf16d97c956
5Size (mame-0.238.tar.gz) = 186182656 bytes 5Size (mame-0.239.tar.gz) = 183687080 bytes
6SHA1 (patch-3rdparty_genie_build_gmake.darwin_genie.make) = bb2e8c06d4b5f5869fb48e06390d5ca94a190056 6SHA1 (patch-3rdparty_genie_build_gmake.darwin_genie.make) = bb2e8c06d4b5f5869fb48e06390d5ca94a190056
7SHA1 (patch-makefile) = 343fac4d165438a26e2e8077216db1c6c46a5d1e 7SHA1 (patch-makefile) = 343fac4d165438a26e2e8077216db1c6c46a5d1e
 8SHA1 (patch-src_devices_bus_a2bus_cards.cpp) = 0095cffa6ed92dc1badf9e8f5d178bc0f015094e

File Added: pkgsrc/emulators/mame/patches/Attic/patch-src_devices_bus_a2bus_cards.cpp
$NetBSD: patch-src_devices_bus_a2bus_cards.cpp,v 1.1 2021/12/30 11:18:34 wiz Exp $

Add missing PCH.
https://github.com/mamedev/mame/commit/0288a54ca21cb4e4d63e98507060af05abe59768

--- src/devices/bus/a2bus/cards.cpp.orig	2021-12-28 15:17:03.000000000 +0000
+++ src/devices/bus/a2bus/cards.cpp
@@ -9,6 +9,7 @@
 
 ***************************************************************************/
 
+#include "emu.h"
 #include "bus/a2bus/cards.h"
 
 #include "bus/a2bus/4play.h"