diff options
author | wiz <wiz@pkgsrc.org> | 2019-10-17 10:18:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-10-17 10:18:37 +0000 |
commit | 86bb19481df1a1b13d2f2b6ffd2783206c6b621b (patch) | |
tree | 2b65d445f9d955e5536ee2ecdf8e683d0b1e3a99 /emulators | |
parent | b8c2fd6c36423590de7ed911a6152d94678a1f50 (diff) | |
download | pkgsrc-86bb19481df1a1b13d2f2b6ffd2783206c6b621b.tar.gz |
mame: fix build on 9.99.14
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/mame/distinfo | 3 | ||||
-rw-r--r-- | emulators/mame/patches/patch-3rdparty_asio_include_asio_detail_impl_kqueue__reactor.ipp | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo index 04fc4e3b2b1..80bd045c57f 100644 --- a/emulators/mame/distinfo +++ b/emulators/mame/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.85 2019/08/20 18:03:54 wiz Exp $ +$NetBSD: distinfo,v 1.86 2019/10/17 10:18:37 wiz Exp $ SHA1 (mame-0.212.tar.gz) = 2f64b26033da5a43118d6365de0580b7439a460c RMD160 (mame-0.212.tar.gz) = 73da3b445f217af1c17b613e24f1dfb9a67d97af SHA512 (mame-0.212.tar.gz) = 624d8a1b45e3e20e602c6cbde2f6f8bb720c99bc0368c486e5bccfa6a5ef8f24a4fa62db3f1f65ada90b20b5f75988a29dab205c1124607681ced9b35a5360e1 Size (mame-0.212.tar.gz) = 148502748 bytes SHA1 (patch-3rdparty_asio_include_asio_detail_config.hpp) = 9b0d6139e853d8efb9d51270bbfa5382feac42a7 +SHA1 (patch-3rdparty_asio_include_asio_detail_impl_kqueue__reactor.ipp) = 38cf91f02b0afda54377fa11e1732623989675a8 SHA1 (patch-3rdparty_bgfx_examples_common_font_font__manager.cpp) = e39b2dff553505531adb5f0a31b0a22306b8e2e4 SHA1 (patch-3rdparty_bx_include_bx_platform.h) = caa57597d7c0916f82b3dbdc6ebf2e4851984e70 SHA1 (patch-3rdparty_bx_src_mutex.cpp) = 06efd43f0b69a6e1b764528527b5cfaa1adba138 diff --git a/emulators/mame/patches/patch-3rdparty_asio_include_asio_detail_impl_kqueue__reactor.ipp b/emulators/mame/patches/patch-3rdparty_asio_include_asio_detail_impl_kqueue__reactor.ipp new file mode 100644 index 00000000000..34169982667 --- /dev/null +++ b/emulators/mame/patches/patch-3rdparty_asio_include_asio_detail_impl_kqueue__reactor.ipp @@ -0,0 +1,26 @@ +$NetBSD: patch-3rdparty_asio_include_asio_detail_impl_kqueue__reactor.ipp,v 1.1 2019/10/17 10:18:37 wiz Exp $ + +NetBSD 9.99.14 changed the type to be more compatible to other operating systems. + +--- 3rdparty/asio/include/asio/detail/impl/kqueue_reactor.ipp.orig 2019-08-02 19:05:18.000000000 +0000 ++++ 3rdparty/asio/include/asio/detail/impl/kqueue_reactor.ipp +@@ -16,6 +16,10 @@ + # pragma once + #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) + ++#if defined(__NetBSD__) ++#include <sys/param.h> ++#endif ++ + #include "asio/detail/config.hpp" + + #if defined(ASIO_HAS_KQUEUE) +@@ -27,7 +31,7 @@ + + #include "asio/detail/push_options.hpp" + +-#if defined(__NetBSD__) ++#if defined(__NetBSD__) && (__NetBSD_Version__ <= 999001400) + # define ASIO_KQUEUE_EV_SET(ev, ident, filt, flags, fflags, data, udata) \ + EV_SET(ev, ident, filt, flags, fflags, data, \ + reinterpret_cast<intptr_t>(static_cast<void*>(udata))) |