2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 14:02:27 +00:00

glib: 2.73.2

This commit is contained in:
Owen Rafferty 2022-07-12 20:10:17 -05:00
parent 2405dbcdb0
commit 5c89d30bb1
No known key found for this signature in database
GPG Key ID: A68B10E2554DEBCB
5 changed files with 23 additions and 2 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh -e
patch -p1 < musl.patch
# Remove 'util-linux' dependency.
sed 's/libmount_dep.found()/false/' meson.build > _
mv -f _ meson.build

View File

@ -1 +1,2 @@
77b21da5bd195a8e5f751206a2acab477636e3d02fe4f3796ede5788255382ae
5f3ee36e34f4aaab393c3e3dc46fb01b32f7ead6c88d41d7f20d88a49cdef1d9
5476b0c742dc348812de45f0a26dc9f471c432e56aec2c2074a23a8488c1caf6

View File

@ -0,0 +1,17 @@
diff --git a/glib/gmain.c b/glib/gmain.c
index fcf0b3dba..af1ed66b4 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -73,6 +73,12 @@
#include <sys/syscall.h>
#include <sys/wait.h>
#include <linux/wait.h> /* P_PIDFD */
+#ifndef W_EXITCODE
+#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
+#endif
+#ifndef W_STOPCODE
+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
+#endif
#endif /* HAVE_PIDFD */
#ifdef G_OS_WIN32

View File

@ -1 +1,2 @@
https://download.gnome.org/sources/glib/MAJOR.MINOR/glib-VERSION.tar.xz
patches/musl.patch

View File

@ -1 +1 @@
2.73.1 1
2.73.2 1