pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/mame mame: fix build on 9.99.14



details:   https://anonhg.NetBSD.org/pkgsrc/rev/557a6145ce37
branches:  trunk
changeset: 342285:557a6145ce37
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Oct 17 10:18:37 2019 +0000

description:
mame: fix build on 9.99.14

diffstat:

 emulators/mame/distinfo                                                                 |   3 +-
 emulators/mame/patches/patch-3rdparty_asio_include_asio_detail_impl_kqueue__reactor.ipp |  26 ++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r bc5b5ae50b46 -r 557a6145ce37 emulators/mame/distinfo
--- a/emulators/mame/distinfo   Thu Oct 17 10:16:28 2019 +0000
+++ b/emulators/mame/distinfo   Thu Oct 17 10:18:37 2019 +0000
@@ -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 -r bc5b5ae50b46 -r 557a6145ce37 emulators/mame/patches/patch-3rdparty_asio_include_asio_detail_impl_kqueue__reactor.ipp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/mame/patches/patch-3rdparty_asio_include_asio_detail_impl_kqueue__reactor.ipp   Thu Oct 17 10:18:37 2019 +0000
@@ -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)))



Home | Main Index | Thread Index | Old Index