0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 00:10:52 +00:00
termux-packages/packages/pypy/0001-add-wait3-function-for-resource-module.patch
Uchiha Kakashi e8b90f4597
pypy{,3}: Bump to 7.3.12 (#17382)
* pypy: bump to 7.3.12

* pypy3: bump to 7.3.12

* @TERMUX_PKG_API_LEVEL@, fix patch filenames

---------

Co-authored-by: Lucy Phipps <landfillbaby69@gmail.com>
2023-07-08 16:43:23 +08:00

8 lines
360 B
Diff

--- a/lib_pypy/_resource_build.py
+++ b/lib_pypy/_resource_build.py
@@ -75,2 +75,4 @@
+/* Termux addition: Add wait3() declaration used by busybox. Available in libc for 32-bit only. */
+static pid_t wait3(int* status, int options, struct rusage* rusage) { return wait4(-1, status, options, rusage); }
""".replace('$RLIMIT_CONSTS', ''.join(rlimit_consts)))