summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-06-30 18:05:55 +0000
committerwiz <wiz@pkgsrc.org>2016-06-30 18:05:55 +0000
commitf373d48836309b6f46f1ca6c970b32444e842323 (patch)
tree63fec68e56eb6b1214bbb80a0df1d22dbca11f92 /emulators
parent283e14840319551ada8d7a608fd6d2988b2ab4bd (diff)
downloadpkgsrc-f373d48836309b6f46f1ca6c970b32444e842323.tar.gz
Update mame to 0.175.
Get ready for your vacation and grab MAME 0.175! We're proud to say MAME now supports a number of previously unemulated prototypes, alternate versions of games, and unusual systems. Prototypes include the super-rare Konami Kyuukoukabakugekitai, Home Data's Mahjong Joshi Pro-wres Give Up 5 Byou Mae, and an early Japanese version of E.D.F.: Earth Defense Force. Atari Moto Frenzy, previously lacking protection emulation, is now fully playable. We've also added a number of gambling games, including some Flaming 7's variants. Many more Game Boy peripherals are now supported, including real-time clocks, light sensors and tilt sensors. This makes several previously unsupported games fully playable. This release includes improvements to the Sega Master System and SG-1000 emulation, including better SG-1000 expansion slot support, and drivers with correct clock speeds for South American Master System variants. There's some big news in Sun emulation: all sun3 models will now POST, MAME has a SPARCv7 CPU core, and there has been substantial progress towards emulating the SPARCstation 1 (sun4c). Using unidasm (built with TOOLS=1) you can disassemble SPARCv7 SPARCv7 or SPARCv9 code, incuding all VIS variants up to VIS-3B. As usual, there are many emulation improvements, including fixes for keyboard controls in some TRS-80 games, and better Seibu COP emulation in Legionnaire, Heated Barrel and Godzilla. In less visible changes, MAME's memory system got a nice cleanup exposing a number of existing issues which are now fixed, and the netlist-based discrete circuit simulation code has had a major overhaul with lots of performance improvements. There are a number of improvements to MAME's debugger modules in this release, particularly the imgui-based debugger.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/Makefile5
-rw-r--r--emulators/mame/PLIST6
-rw-r--r--emulators/mame/distinfo13
-rw-r--r--emulators/mame/patches/patch-3rdparty_bx_include_bx_thread.h14
-rw-r--r--emulators/mame/patches/patch-makefile30
5 files changed, 56 insertions, 12 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index 58bd11c9202..f9f0330cf07 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.57 2016/05/26 09:02:16 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2016/06/30 18:05:55 wiz Exp $
-DISTNAME= mame-0.174
+DISTNAME= mame-0.175
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/}
GITHUB_TAG= ${DISTNAME:S/-//S/.//}
@@ -98,6 +98,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # not yet ported as of 0.151
post-extract:
# will be chosen in preference to /usr/include/signal.h, but does not provide kill()
${RM} ${WRKSRC}/3rdparty/bx/include/compat/freebsd/signal.h
+ ${MV} ${WRKSRC}/3rdparty/genie/build/gmake.freebsd ${WRKSRC}/3rdparty/genie/build/gmake.bsd
pre-build:
# problems with mame-specific png.h
diff --git a/emulators/mame/PLIST b/emulators/mame/PLIST
index caf4f512228..7f8dc8ce8a7 100644
--- a/emulators/mame/PLIST
+++ b/emulators/mame/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2016/05/26 09:02:16 wiz Exp $
+@comment $NetBSD: PLIST,v 1.15 2016/06/30 18:05:55 wiz Exp $
bin/castool
bin/chdman
bin/floptool
@@ -167,6 +167,7 @@ share/mame/hash/database.xml
share/mame/hash/dim68k.xml
share/mame/hash/dmv.xml
share/mame/hash/dps1.xml
+share/mame/hash/e01_flop.xml
share/mame/hash/ec1841.xml
share/mame/hash/einstein.xml
share/mame/hash/electron_cart.xml
@@ -183,6 +184,7 @@ share/mame/hash/fm77av.xml
share/mame/hash/fm7_cass.xml
share/mame/hash/fm7_disk.xml
share/mame/hash/fmtowns_cd.xml
+share/mame/hash/fmtowns_flop.xml
share/mame/hash/g7400.xml
share/mame/hash/galaxy.xml
share/mame/hash/gamate.xml
@@ -328,6 +330,7 @@ share/mame/hash/pc8801_cass.xml
share/mame/hash/pc8801_flop.xml
share/mame/hash/pc88va.xml
share/mame/hash/pc98.xml
+share/mame/hash/pc98_cd.xml
share/mame/hash/pce.xml
share/mame/hash/pce_tourvision.xml
share/mame/hash/pcecd.xml
@@ -350,6 +353,7 @@ share/mame/hash/plus4_flop.xml
share/mame/hash/pmd85_cass.xml
share/mame/hash/pockchalv2.xml
share/mame/hash/pockchalw.xml
+share/mame/hash/pofo.xml
share/mame/hash/pokemini.xml
share/mame/hash/pro128_cart.xml
share/mame/hash/pro128_cass.xml
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo
index 752e98e3b70..32847017de0 100644
--- a/emulators/mame/distinfo
+++ b/emulators/mame/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.53 2016/05/26 09:02:16 wiz Exp $
+$NetBSD: distinfo,v 1.54 2016/06/30 18:05:55 wiz Exp $
-SHA1 (mame-0.174.tar.gz) = 0b8a6b68d3414e28fe2214ea02f4540a2965f385
-RMD160 (mame-0.174.tar.gz) = 183cf8c41aab02581c1a10017fdeb28781a565f0
-SHA512 (mame-0.174.tar.gz) = 9e43079bd000105b7ed4f11b64efdde49dda944366acc83c9c5694d5213a05a1129424d4345c5d3ff2ffbc1ddbd46652e7b70d9fc7e44b2fd5fc7a777804a36b
-Size (mame-0.174.tar.gz) = 102041793 bytes
+SHA1 (mame-0.175.tar.gz) = 5b308fa2f0d825090a59e18d5172b99f4503c111
+RMD160 (mame-0.175.tar.gz) = e9f97ea9b1782a8869a877b555e693180af4b4e2
+SHA512 (mame-0.175.tar.gz) = fc03179f9a89c757c1bfbe6e3c0c9c49e0c847ed8e43bd2fb90b2841faf7bc422ed7b704b36972237bb79643e3e718b442c7093d22dc74e80e5106b722440de3
+Size (mame-0.175.tar.gz) = 102916507 bytes
SHA1 (patch-3rdparty_bgfx_examples_common_font_font__manager.cpp) = e39b2dff553505531adb5f0a31b0a22306b8e2e4
-SHA1 (patch-makefile) = 0be740e7d61cdaa66c1c415f84344b37da267a45
+SHA1 (patch-3rdparty_bx_include_bx_thread.h) = 1a7643a67a094879466cd372f95e023bb1ea0d17
+SHA1 (patch-makefile) = 07a3b69c4044b01da9a28f6ebd1601ae16b2a996
SHA1 (patch-scripts_genie.lua) = f0b6b9fe00b6f572089fc2a7495fe1fd3c86ae4e
diff --git a/emulators/mame/patches/patch-3rdparty_bx_include_bx_thread.h b/emulators/mame/patches/patch-3rdparty_bx_include_bx_thread.h
new file mode 100644
index 00000000000..0d9e5584a09
--- /dev/null
+++ b/emulators/mame/patches/patch-3rdparty_bx_include_bx_thread.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-3rdparty_bx_include_bx_thread.h,v 1.4 2016/06/30 18:05:55 wiz Exp $
+
+--- 3rdparty/bx/include/bx/thread.h.orig 2016-06-29 06:34:30.000000000 +0000
++++ 3rdparty/bx/include/bx/thread.h
+@@ -9,7 +9,9 @@
+ #if BX_PLATFORM_POSIX
+ # include <pthread.h>
+ # if BX_PLATFORM_BSD
++# ifdef __FreeBSD__
+ # include <pthread_np.h>
++# endif
+ # endif
+ # if defined(__GLIBC__) && !( (__GLIBC__ > 2) || ( (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12) ) )
+ # include <sys/prctl.h>
diff --git a/emulators/mame/patches/patch-makefile b/emulators/mame/patches/patch-makefile
index f6dce1aabb2..d42a43285f5 100644
--- a/emulators/mame/patches/patch-makefile
+++ b/emulators/mame/patches/patch-makefile
@@ -1,8 +1,32 @@
-$NetBSD: patch-makefile,v 1.15 2016/04/14 21:47:07 wiz Exp $
+$NetBSD: patch-makefile,v 1.16 2016/06/30 18:05:55 wiz Exp $
---- makefile.orig 2016-03-30 09:03:03.000000000 +0000
+--- makefile.orig 2016-06-29 06:34:30.000000000 +0000
+++ makefile
-@@ -833,11 +833,6 @@ $(info GCC $(GCC_VERSION) detected)
+@@ -168,19 +168,19 @@ GENIEOS := solaris
+ endif
+ ifeq ($(firstword $(filter FreeBSD,$(UNAME))),FreeBSD)
+ OS := freebsd
+-GENIEOS := freebsd
++GENIEOS := bsd
+ endif
+ ifeq ($(firstword $(filter GNU/kFreeBSD,$(UNAME))),GNU/kFreeBSD)
+ OS := freebsd
+-GENIEOS := freebsd
++GENIEOS := bsd
+ endif
+ ifeq ($(firstword $(filter NetBSD,$(UNAME))),NetBSD)
+ OS := netbsd
+-GENIEOS := freebsd
++GENIEOS := bsd
+ endif
+ ifeq ($(firstword $(filter OpenBSD,$(UNAME))),OpenBSD)
+ OS := openbsd
+-GENIEOS := freebsd
++GENIEOS := bsd
+ endif
+ ifeq ($(firstword $(filter Darwin,$(UNAME))),Darwin)
+ OS := macosx
+@@ -881,11 +881,6 @@ $(info GCC $(GCC_VERSION) detected)
else
$(info Clang $(CLANG_VERSION) detected)
ifneq ($(TARGETOS),asmjs)