mame: update to 0.170

This commit is contained in:
Jürgen Buchmüller 2016-01-27 09:36:20 +01:00
parent b89e87bdeb
commit fd323a0adc
2 changed files with 2 additions and 17 deletions

View file

@ -1,15 +0,0 @@
The musl libc header /usr/include/sched.h fails with the string.h
memory functions redefined as macros, thus enable the mem tracking
only if __GLIBC__ is defined as well.
--- src/lib/util/corealloc.h 2015-06-06 19:27:52.467562344 +0200
+++ src/lib/util/corealloc.h 2015-06-06 19:30:09.602554928 +0200
@@ -84,7 +84,7 @@
// ADDDITIONAL MACROS
//**************************************************************************
-#ifndef NO_MEM_TRACKING
+#if !defined(NO_MEM_TRACKING) && defined(__GLIBC__)
// re-route classic malloc-style allocations
#undef malloc
#undef calloc

View file

@ -1,6 +1,6 @@
# Template file for 'mame'
pkgname=mame
version=0169
version=0170
revision=1
wrksrc="mame-mame${version}"
homepage="http://mamedev.org"
@ -8,7 +8,7 @@ distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
short_desc="The Multiple Arcade Machine Emulator"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="mame"
checksum=3c71d44260899ee01a1f85bd173d57edcc98f2973f8f068e038e30ad4d1ba5dc
checksum=eb4b319a69b1876601407df37fdd0aa3ff54929c8e7fa90e6016aff0e074bb53
hostmakedepends="perl pkg-config python automoc4"
makedepends="SDL2_ttf-devel fontconfig-devel $(vopt_if qt qt5-devel) lua-devel