glib: 2.73.3

This commit is contained in:
Owen Rafferty 2022-08-05 19:37:41 -05:00
parent 7564e22c07
commit 599e9930b3
No known key found for this signature in database
GPG Key ID: A68B10E2554DEBCB
5 changed files with 4 additions and 22 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh -e
patch -p1 < musl.patch
# static_assert is not defined in C99.
export CFLAGS="$CFLAGS -std=gnu11"
# Remove 'util-linux' dependency.
sed 's/libmount_dep.found()/false/' meson.build > _

View File

@ -1,2 +1 @@
5f3ee36e34f4aaab393c3e3dc46fb01b32f7ead6c88d41d7f20d88a49cdef1d9
5476b0c742dc348812de45f0a26dc9f471c432e56aec2c2074a23a8488c1caf6
df1a2b841667d6b48b2ef6969ebda4328243829f6e45866726f806f90f64eead

View File

@ -1,17 +0,0 @@
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,2 +1 @@
https://download.gnome.org/sources/glib/MAJOR.MINOR/glib-VERSION.tar.xz
patches/musl.patch

View File

@ -1 +1 @@
2.73.2 1
2.73.3 1