pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/mgba mgba: Fix build error on systems withou...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8584fdcf8ed1
branches: trunk
changeset: 390578:8584fdcf8ed1
user: nia <nia%pkgsrc.org@localhost>
date: Fri Dec 23 12:20:47 2022 +0000
description:
mgba: Fix build error on systems without POSIX robust mutex errnos.
diffstat:
emulators/mgba/distinfo | 3 ++-
emulators/mgba/patches/patch-src_script_socket.c | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 7d62b97d0de4 -r 8584fdcf8ed1 emulators/mgba/distinfo
--- a/emulators/mgba/distinfo Fri Dec 23 11:03:13 2022 +0000
+++ b/emulators/mgba/distinfo Fri Dec 23 12:20:47 2022 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.17 2022/12/15 11:31:44 nia Exp $
+$NetBSD: distinfo,v 1.18 2022/12/23 12:20:47 nia Exp $
BLAKE2s (mgba-0.10.0.tar.gz) = f04dd3389ee4e9df3fa577b3c071d3a47262fb6727fbc7340e9bf100b58a424f
SHA512 (mgba-0.10.0.tar.gz) = 05939f94bc00906d999b955091e8e8059cc13a5b822048f6e002062c2e74069337d947d2cde2f8c1be96e3353a361743d752811c214fa9da31ed6a4893b4d7e8
Size (mgba-0.10.0.tar.gz) = 14302653 bytes
SHA1 (patch-src_platform_qt_CMakeLists.txt) = 052c533d8df271eb623efec1ec6639da4bea1983
SHA1 (patch-src_platform_qt_ConfigController.cpp) = 45b5a0aac879905a1471c172c5f23bef9ab33723
+SHA1 (patch-src_script_socket.c) = eca5406afe566ef01f84d35c9db01f3307646644
diff -r 7d62b97d0de4 -r 8584fdcf8ed1 emulators/mgba/patches/patch-src_script_socket.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/mgba/patches/patch-src_script_socket.c Fri Dec 23 12:20:47 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_script_socket.c,v 1.1 2022/12/23 12:20:47 nia Exp $
+
+NetBSD 9 does not define ENOTRECOVERABLE (it is part of "robust
+mutexes", not sockets).
+
+--- src/script/socket.c.orig 2022-10-12 03:30:00.000000000 +0000
++++ src/script/socket.c
+@@ -28,7 +28,9 @@ static const struct _mScriptSocketErrorM
+ { ECONNREFUSED, mSCRIPT_SOCKERR_CONNECTION_REFUSED },
+ { EACCES, mSCRIPT_SOCKERR_DENIED },
+ { EPERM, mSCRIPT_SOCKERR_DENIED },
++#ifdef ENOTRECOVERABLE
+ { ENOTRECOVERABLE, mSCRIPT_SOCKERR_FAILED },
++#endif
+ { ENETUNREACH, mSCRIPT_SOCKERR_NETWORK_UNREACHABLE },
+ { ETIMEDOUT, mSCRIPT_SOCKERR_TIMEOUT },
+ { EINVAL, mSCRIPT_SOCKERR_UNSUPPORTED },
Home |
Main Index |
Thread Index |
Old Index