diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-09-24 12:33:44 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-09-24 12:33:44 +0000 |
commit | 1e0ea5d722eeeac0275f498afc0ff50911f062ea (patch) | |
tree | 465159c3c8e54d21701b082643b0f930a0101cda /emulators | |
parent | e395bfe9b4010298572418bc3a30909e598ba8a9 (diff) | |
download | pkgsrc-1e0ea5d722eeeac0275f498afc0ff50911f062ea.tar.gz |
Fix broken patch files.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/mame/distinfo | 6 | ||||
-rw-r--r-- | emulators/mame/patches/patch-src_lib_web_mongoose.c | 21 | ||||
-rw-r--r-- | emulators/mame/patches/patch-src_osd_osdcore.h | 16 |
3 files changed, 22 insertions, 21 deletions
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo index 09db1bc8926..d6307a81397 100644 --- a/emulators/mame/distinfo +++ b/emulators/mame/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.21 2014/07/25 15:28:56 wiz Exp $ +$NetBSD: distinfo,v 1.22 2014/09/24 12:33:44 jperkin Exp $ SHA1 (mame0154s.zip) = b5273ef2bfaf9bdf747af34eb3b1346b30f99047 RMD160 (mame0154s.zip) = 9d26953fcae65f3f95c1999ce7c96fa440de2f64 Size (mame0154s.zip) = 39697095 bytes -SHA1 (patch-src_lib_web_mongoose.c) = 32b807a6a38d7b3314a820278eaadbbe1bb3ca4c -SHA1 (patch-src_osd_osdcore.h) = 4dbc233a613d1743f97d3cb9c6526fb56ca7b6d6 +SHA1 (patch-src_lib_web_mongoose.c) = d35e93b70b496cc149fb78e401a896fc13ef3014 +SHA1 (patch-src_osd_osdcore.h) = efcb18fa486ed394e42a3c41addee36f4c52a548 diff --git a/emulators/mame/patches/patch-src_lib_web_mongoose.c b/emulators/mame/patches/patch-src_lib_web_mongoose.c index 2c98710e195..8a29297a118 100644 --- a/emulators/mame/patches/patch-src_lib_web_mongoose.c +++ b/emulators/mame/patches/patch-src_lib_web_mongoose.c @@ -1,16 +1,17 @@ -$NetBSD: patch-src_lib_web_mongoose.c,v 1.1 2014/07/25 15:28:56 wiz Exp $ +$NetBSD: patch-src_lib_web_mongoose.c,v 1.2 2014/09/24 12:33:44 jperkin 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 +@@ -46,7 +46,9 @@ + #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
++#ifdef __linux__
+ #define _XOPEN_SOURCE 600 // For flockfile() on Linux
++#endif
+ #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 index ee77d6acebc..0045dcbaabc 100644 --- a/emulators/mame/patches/patch-src_osd_osdcore.h +++ b/emulators/mame/patches/patch-src_osd_osdcore.h @@ -1,14 +1,14 @@ -$NetBSD: patch-src_osd_osdcore.h,v 1.1 2014/07/25 15:28:56 wiz Exp $ +$NetBSD: patch-src_osd_osdcore.h,v 1.2 2014/09/24 12:33:44 jperkin 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" - + #ifndef __OSDCORE_H__
+ #define __OSDCORE_H__
+
++#include <stdarg.h>
+ #include "osdcomm.h"
+ #include "delegate.h"
+
|