summaryrefslogtreecommitdiff
path: root/emulators/mame/patches
diff options
context:
space:
mode:
authorwiz <wiz>2016-04-29 08:30:50 +0000
committerwiz <wiz>2016-04-29 08:30:50 +0000
commitd050c371127f7df490736397f2e3819c2e45806c (patch)
tree3ecce024599fcefaeff370885ef952d28038c8be /emulators/mame/patches
parent55f82512d46822b801881617bf557d4e84413832 (diff)
downloadpkgsrc-d050c371127f7df490736397f2e3819c2e45806c.tar.gz
Updated mame to 0.173.
It's the end of another month, and time for a new MAME release. This time there are more improvements for capabilities we have added in previous versions. MAME now includes ports of some popular shaders for the BGFX renderer, including the EAGLE, HQx and xBR scaling effects. Please be aware that the BGFX renderer is still a work in progress, and you may experience some stability issues when using it. This release introduces a new cheat engine based on the Lua scripting language. This opens the door to exciting new possibilities. One of the most significant improvements is better support for systems with banked memory, including many 8-bit home computers like the Apple II family. MAME's archive file handling has been improved in a number of ways. ZIP64 format is now supported, allowing MAME to archives over 4GiB in size. This mean that, for example, large flyer collections don't need to be unzipped for use with the internal UI. 7zip support has been updated for the latest 7zip release, including new archive features and many bug fixes. We've also fixed a number of bugs in the internal file browser. Of course this release also includes many other improvements from the MAME team and external contributors.
Diffstat (limited to 'emulators/mame/patches')
-rw-r--r--emulators/mame/patches/patch-scripts_genie.lua33
1 files changed, 27 insertions, 6 deletions
diff --git a/emulators/mame/patches/patch-scripts_genie.lua b/emulators/mame/patches/patch-scripts_genie.lua
index 11d3f3637ed..1372420559f 100644
--- a/emulators/mame/patches/patch-scripts_genie.lua
+++ b/emulators/mame/patches/patch-scripts_genie.lua
@@ -1,11 +1,24 @@
-$NetBSD: patch-scripts_genie.lua,v 1.2 2016/04/14 21:47:07 wiz Exp $
+$NetBSD: patch-scripts_genie.lua,v 1.3 2016/04/29 08:30:50 wiz Exp $
-Detect clang correctly.
+Precompilation is broken on NetBSD with gcc-5.3.
Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
+Detect clang correctly.
---- scripts/genie.lua.orig 2016-03-30 09:03:03.000000000 +0000
+--- scripts/genie.lua.orig 2016-04-27 06:13:59.000000000 +0000
+++ scripts/genie.lua
-@@ -672,22 +672,22 @@ local version = str_to_version(_OPTIONS[
+@@ -65,11 +65,6 @@ function layoutbuildtask(_folder, _name)
+ end
+
+ function precompiledheaders()
+- if _OPTIONS["precompile"]==nil or (_OPTIONS["precompile"]~=nil and _OPTIONS["precompile"]=="1") then
+- configuration { "not xcode4" }
+- pchheader("emu.h")
+- configuration { }
+- end
+ end
+
+ function addprojectflags()
+@@ -692,22 +687,22 @@ local version = str_to_version(_OPTIONS[
if string.find(_OPTIONS["gcc"], "clang") and ((version < 30500) or (_OPTIONS["targetos"]=="macosx" and (version <= 60000))) then
buildoptions_cpp {
"-x c++",
@@ -32,7 +45,7 @@ Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
}
end
-- this speeds it up a bit by piping between the preprocessor/compiler/assembler
-@@ -933,7 +933,17 @@ end
+@@ -950,7 +945,17 @@ end
local version = str_to_version(_OPTIONS["gcc_version"])
@@ -51,7 +64,15 @@ Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
if (version < 30400) then
print("Clang version 3.4 or later needed")
os.exit(-1)
-@@ -959,16 +969,6 @@ end
+@@ -963,7 +968,6 @@ end
+ "-Wno-inline-new-delete",
+ "-Wno-constant-logical-operand",
+ "-Wno-deprecated-register",
+- "-fdiagnostics-show-note-include-stack",
+ }
+ if (version >= 30500) then
+ buildoptions {
+@@ -977,16 +981,6 @@ end
"-Wno-tautological-undefined-compare",
}
end