summaryrefslogtreecommitdiff
path: root/emulators/mame/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2013-10-10 00:06:19 +0000
committerjoerg <joerg>2013-10-10 00:06:19 +0000
commitaaec0657c2d40860592c193dafda52bfd1a7b750 (patch)
treee9cab5441b1ec8605e7c0215e9342ea904296719 /emulators/mame/patches
parentf84cd91f38f5a24894e2f280a1d7a0c03b197951 (diff)
downloadpkgsrc-aaec0657c2d40860592c193dafda52bfd1a7b750.tar.gz
Don't redefine realloc before including system headers that might use
it. Make a few more warnings non-fatal for clang.
Diffstat (limited to 'emulators/mame/patches')
-rw-r--r--emulators/mame/patches/patch-src_emu_webengine.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/emulators/mame/patches/patch-src_emu_webengine.c b/emulators/mame/patches/patch-src_emu_webengine.c
new file mode 100644
index 00000000000..8f8a84b1a3c
--- /dev/null
+++ b/emulators/mame/patches/patch-src_emu_webengine.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_emu_webengine.c,v 1.1 2013/10/10 00:06:19 joerg Exp $
+
+--- src/emu/webengine.c.orig 2013-10-09 11:04:31.000000000 +0000
++++ src/emu/webengine.c
+@@ -37,12 +37,12 @@
+
+ ***************************************************************************/
+
++#include "web/json/json.h"
+ #include "emu.h"
+ #include "emuopts.h"
+ #include "ui.h"
+ #include "webengine.h"
+ #include "web/mongoose.h"
+-#include "web/json/json.h"
+
+ //**************************************************************************
+ // WEB ENGINE