diff options
author | wiz <wiz> | 2014-07-25 15:28:56 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-07-25 15:28:56 +0000 |
commit | 89986b217153e778d1b9c2ac150ee50bbfc52ed6 (patch) | |
tree | 76900fae4ba5ccd68b515b06b77cdf4e995da8fb /emulators/mame/patches | |
parent | e41656bb69c49e2db385f6eacbc0b3a139dc2376 (diff) | |
download | pkgsrc-89986b217153e778d1b9c2ac150ee50bbfc52ed6.tar.gz |
Update mame+mess to 0.154. Share more information between packages.
Changes: the usual, better emulation for more systems.
Diffstat (limited to 'emulators/mame/patches')
-rw-r--r-- | emulators/mame/patches/patch-src_lib_web_mongoose.c | 16 | ||||
-rw-r--r-- | emulators/mame/patches/patch-src_osd_osdcore.h | 14 |
2 files changed, 30 insertions, 0 deletions
diff --git a/emulators/mame/patches/patch-src_lib_web_mongoose.c b/emulators/mame/patches/patch-src_lib_web_mongoose.c new file mode 100644 index 00000000000..2c98710e195 --- /dev/null +++ b/emulators/mame/patches/patch-src_lib_web_mongoose.c @@ -0,0 +1,16 @@ +$NetBSD: patch-src_lib_web_mongoose.c,v 1.1 2014/07/25 15:28:56 wiz Exp $ + +If _XOPEN_SOURCE is defined to 600, NetBSD does not provide strtoll +and other stuff. + +--- src/lib/web/mongoose.c.orig 2014-07-22 08:14:56.000000000 +0000 ++++ src/lib/web/mongoose.c +@@ -46,7 +46,7 @@ + #define _INTEGRAL_MAX_BITS 64 // Enable _stati64() on Windows + #define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005+ + #undef WIN32_LEAN_AND_MEAN // Let windows.h always include winsock2.h +-#define _XOPEN_SOURCE 600 // For flockfile() on Linux ++//#define _XOPEN_SOURCE 600 // For flockfile() on Linux + #define __STDC_FORMAT_MACROS // <inttypes.h> wants this for C++ + #define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX + #define _LARGEFILE_SOURCE // Enable fseeko() and ftello() functions diff --git a/emulators/mame/patches/patch-src_osd_osdcore.h b/emulators/mame/patches/patch-src_osd_osdcore.h new file mode 100644 index 00000000000..ee77d6acebc --- /dev/null +++ b/emulators/mame/patches/patch-src_osd_osdcore.h @@ -0,0 +1,14 @@ +$NetBSD: patch-src_osd_osdcore.h,v 1.1 2014/07/25 15:28:56 wiz Exp $ + +Include stdarg.h for va_list. + +--- src/osd/osdcore.h.orig 2014-04-25 09:31:28.000000000 +0000 ++++ src/osd/osdcore.h +@@ -19,6 +19,7 @@ + #ifndef __OSDCORE_H__ + #define __OSDCORE_H__ + ++#include <stdarg.h> + #include "osdcomm.h" + #include "delegate.h" + |