summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz>2014-04-17 11:56:11 +0000
committerwiz <wiz>2014-04-17 11:56:11 +0000
commitc83466a741af2249b47843284b77da0de95ac766 (patch)
tree459b720642bb4730cb96b11c38e41e97786581af /emulators
parentf32283f80f1bdbb63cbdebcf426f3ac075aa2a23 (diff)
downloadpkgsrc-c83466a741af2249b47843284b77da0de95ac766.tar.gz
Update to 0.153: the usual.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/Makefile5
-rw-r--r--emulators/mame/distinfo13
-rw-r--r--emulators/mame/patches/patch-src_emu_emualloc.c18
-rw-r--r--emulators/mame/patches/patch-src_emu_emualloc.h20
-rw-r--r--emulators/mame/patches/patch-src_emu_netlist_nl__base.h24
-rw-r--r--emulators/mame/patches/patch-src_emu_netlist_nl__lists.h15
-rw-r--r--emulators/mame/patches/patch-src_emu_netlist_pstate.h25
7 files changed, 6 insertions, 114 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index af40b40be7c..7fc8979febb 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2014/03/26 01:42:48 nat Exp $
+# $NetBSD: Makefile,v 1.29 2014/04/17 11:56:11 wiz Exp $
-DISTNAME= mame0152s
+DISTNAME= mame0153s
PKGNAME= ${DISTNAME:S/0/-0./:S/s$//}
-PKGREVISION= 1
MASTER_SITES= http://mamedev.org/downloader.php?file=releases/
COMMENT= Multiple Arcade Machine Emulator
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo
index 0966f84fcf4..8756a2957dd 100644
--- a/emulators/mame/distinfo
+++ b/emulators/mame/distinfo
@@ -1,10 +1,5 @@
-$NetBSD: distinfo,v 1.19 2014/03/26 01:42:48 nat Exp $
+$NetBSD: distinfo,v 1.20 2014/04/17 11:56:11 wiz Exp $
-SHA1 (mame0152s.zip) = 2e11509b39c13dc1336a48a102813589b0793788
-RMD160 (mame0152s.zip) = d8f4accbd639e085c6165374d7b7ebd427d3c4d7
-Size (mame0152s.zip) = 36247883 bytes
-SHA1 (patch-src_emu_emualloc.c) = 6df67d1d1aaf982444db3db65c066bc83644ae9b
-SHA1 (patch-src_emu_emualloc.h) = 22cdfbc002cda8053125ef8cedf3bcceea04deaf
-SHA1 (patch-src_emu_netlist_nl__base.h) = 9ee165f601da849a339699f560c371bc58dd0d83
-SHA1 (patch-src_emu_netlist_nl__lists.h) = d31c9cf715f66520e4a1a09584f1c52bbea74fef
-SHA1 (patch-src_emu_netlist_pstate.h) = 4f43b1c621ea7db3e8d31107e48e06acecfb841e
+SHA1 (mame0153s.zip) = aff24a7f76fe2bdd3948fbc15c9c6527f63d3c94
+RMD160 (mame0153s.zip) = a381c9790281a1da835604f1ffad0d3bd56c5e14
+Size (mame0153s.zip) = 37829714 bytes
diff --git a/emulators/mame/patches/patch-src_emu_emualloc.c b/emulators/mame/patches/patch-src_emu_emualloc.c
deleted file mode 100644
index 408829725c5..00000000000
--- a/emulators/mame/patches/patch-src_emu_emualloc.c
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-src_emu_emualloc.c,v 1.1 2014/03/26 01:42:48 nat Exp $
-
-This resolves a crash on startup.
-
---- src/emu/emualloc.c.orig 2013-10-15 22:14:50.000000000 +0000
-+++ src/emu/emualloc.c
-@@ -266,6 +266,11 @@ void resource_pool::add(resource_pool_it
- memory_entry *entry = memory_entry::find(item.m_ptr);
- if (entry == NULL)
- entry = memory_entry::find(reinterpret_cast<UINT8 *>(item.m_ptr) - sizeof(size_t));
-+ if (entry == NULL) {
-+ osd_lock_release(m_listlock);
-+ return;
-+ }
-+
- assert(entry != NULL);
- item.m_id = entry->m_id;
- if (LOG_ALLOCS)
diff --git a/emulators/mame/patches/patch-src_emu_emualloc.h b/emulators/mame/patches/patch-src_emu_emualloc.h
deleted file mode 100644
index 3e07260b3e7..00000000000
--- a/emulators/mame/patches/patch-src_emu_emualloc.h
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-src_emu_emualloc.h,v 1.1 2013/12/18 17:55:15 joerg Exp $
-
---- src/emu/emualloc.h.orig 2013-10-16 09:14:50.000000000 +0000
-+++ src/emu/emualloc.h
-@@ -77,6 +77,7 @@ void dump_unfreed_mem();
- // zeromem_t is a dummy class used to tell new to zero memory after allocation
- class zeromem_t { };
-
-+#if 0
- #ifndef NO_MEM_TRACKING
-
- // standard new/delete operators (try to avoid using)
-@@ -109,6 +110,7 @@ ATTR_FORCE_INLINE inline void operator d
- }
-
- #endif
-+#endif
-
- // file/line new/delete operators
- ATTR_FORCE_INLINE inline void *operator new(std::size_t size, const char *file, int line) throw (std::bad_alloc)
diff --git a/emulators/mame/patches/patch-src_emu_netlist_nl__base.h b/emulators/mame/patches/patch-src_emu_netlist_nl__base.h
deleted file mode 100644
index b39c0d13027..00000000000
--- a/emulators/mame/patches/patch-src_emu_netlist_nl__base.h
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-src_emu_netlist_nl__base.h,v 1.1 2014/02/06 10:40:19 wiz Exp $
-
-clang fixes from upstream SVN 26743.
-
---- src/emu/netlist/nl_base.h.orig 2013-12-24 08:24:52.000000000 +0000
-+++ src/emu/netlist/nl_base.h
-@@ -287,7 +287,7 @@ public:
-
- ATTR_COLD const pstring &name() const;
-
-- PSTATE_INTERFACE(*m_netlist, name())
-+ PSTATE_INTERFACE_DECL()
-
- #if 0
- template<class C> ATTR_COLD void save(C &state, const pstring &stname)
-@@ -1120,6 +1120,8 @@ private:
- // Inline implementations
- // ----------------------------------------------------------------------------------------
-
-+PSTATE_INTERFACE(netlist_object_t, m_netlist, name())
-+
- ATTR_HOT inline void netlist_param_str_t::setTo(const pstring &param)
- {
- m_param = param;
diff --git a/emulators/mame/patches/patch-src_emu_netlist_nl__lists.h b/emulators/mame/patches/patch-src_emu_netlist_nl__lists.h
deleted file mode 100644
index 65edd95d8ce..00000000000
--- a/emulators/mame/patches/patch-src_emu_netlist_nl__lists.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_emu_netlist_nl__lists.h,v 1.1 2014/02/06 10:40:19 wiz Exp $
-
-clang fixes from upstream SVN 26917.
-
---- src/emu/netlist/nl_lists.h.orig 2013-12-24 08:24:52.000000000 +0000
-+++ src/emu/netlist/nl_lists.h
-@@ -16,7 +16,7 @@
-
-
- template <class _ListClass, int _NumElem = 128>
--struct netlist_list_t
-+class netlist_list_t
- {
- public:
-
diff --git a/emulators/mame/patches/patch-src_emu_netlist_pstate.h b/emulators/mame/patches/patch-src_emu_netlist_pstate.h
deleted file mode 100644
index f1c8740d698..00000000000
--- a/emulators/mame/patches/patch-src_emu_netlist_pstate.h
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-src_emu_netlist_pstate.h,v 1.1 2014/02/06 10:40:19 wiz Exp $
-
-clang fixes from upstream SVN 26743.
-
---- src/emu/netlist/pstate.h.orig 2013-12-24 08:24:52.000000000 +0000
-+++ src/emu/netlist/pstate.h
-@@ -15,11 +15,15 @@
- // state saving ...
- // ----------------------------------------------------------------------------------------
-
--#define PSTATE_INTERFACE(manager, module) \
-- template<class C> ATTR_COLD void save(C &state, const pstring &stname) \
-+#define PSTATE_INTERFACE_DECL() \
-+ template<typename C> ATTR_COLD void save(C &state, const pstring &stname);
-+
-+#define PSTATE_INTERFACE(obj, manager, module) \
-+ template<typename C> ATTR_COLD void obj::save(C &state, const pstring &stname) \
- { \
-- dynamic_cast<pstate_manager_t &>(manager).save_manager(state, module + "." + stname); \
-+ manager->save_manager(state, module + "." + stname); \
- }
-+
-
- enum netlist_data_type_e {
- NOT_SUPPORTED,