mame: update to 0.182

This commit is contained in:
Jürgen Buchmüller 2017-01-25 07:14:42 +01:00
parent adf5b71414
commit 08e7a00323
3 changed files with 26 additions and 3 deletions

View file

@ -0,0 +1,12 @@
--- 3rdparty/bgfx/src/bgfx.cpp 2017-01-24 23:44:30.000000000 +0100
+++ 3rdparty/bgfs/src/bgfx.cpp 2017-01-25 06:24:41.519845947 +0100
@@ -4,6 +4,9 @@
*/
#include <bx/platform.h>
+#if !defined(__GLIBC__)
+#include <stddef.h>
+#endif
#if BX_PLATFORM_WINDOWS
// BK - Remotery needs WinSock, but on VS2015/Win10 build
// fails if WinSock2 is included after Windows.h?!

View file

@ -0,0 +1,11 @@
--- src/lib/netlist/plib/pexception.cpp 2017-01-24 23:44:30.000000000 +0100
+++ src/lib/netlist/plib/pexception.cpp 2017-01-25 06:48:09.658604647 +0100
@@ -10,7 +10,7 @@
#include "pexception.h"
#include "pfmtlog.h"
-#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__)
+#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__) && defined(__GLIBC__)
#define HAS_FEENABLE_EXCEPT (1)
#else
#define HAS_FEENABLE_EXCEPT (0)

View file

@ -1,6 +1,6 @@
# Template file for 'mame'
pkgname=mame
version=0181
version=0182
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="GPL-2"
checksum=66a9d0ec3e31f82fea90956ed68a8bcd3369305f8d081781c463c0c06f7ab04d
checksum=9ecb35afaa6006ccf027f4dfc91ac818d3a894e6e4c3732b6f3706ee40ed240b
hostmakedepends="perl pkg-config python automoc4"
makedepends="libstdc++-devel SDL2_ttf-devel $(vopt_if qt qt5-devel) lua-devel
@ -21,7 +21,7 @@ case "$XBPS_TARGET_MACHINE" in
i686*) nodebug=yes
esac
CXXFLAGS="-std=c++14 -DUSE_INTERNAL_CBEGIN_CEND=1 -I${XBPS_CROSS_BASE}/usr/include/lua5.3"
CXXFLAGS="-std=c++14 -I${XBPS_CROSS_BASE}/usr/include/lua5.3"
LDFLAGS="-Wl,-fuse-ld=gold"
build_options="qt"