pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/mgba



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Dec 23 12:20:48 UTC 2022

Modified Files:
        pkgsrc/emulators/mgba: distinfo
Added Files:
        pkgsrc/emulators/mgba/patches: patch-src_script_socket.c

Log Message:
mgba: Fix build error on systems without POSIX robust mutex errnos.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/emulators/mgba/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/mgba/patches/patch-src_script_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/mgba/distinfo
diff -u pkgsrc/emulators/mgba/distinfo:1.17 pkgsrc/emulators/mgba/distinfo:1.18
--- pkgsrc/emulators/mgba/distinfo:1.17 Thu Dec 15 11:31:44 2022
+++ pkgsrc/emulators/mgba/distinfo      Fri Dec 23 12:20:47 2022
@@ -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

Added files:

Index: pkgsrc/emulators/mgba/patches/patch-src_script_socket.c
diff -u /dev/null pkgsrc/emulators/mgba/patches/patch-src_script_socket.c:1.1
--- /dev/null   Fri Dec 23 12:20:48 2022
+++ pkgsrc/emulators/mgba/patches/patch-src_script_socket.c     Fri Dec 23 12:20:47 2022
@@ -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