forked from kiss-community/repo
glib: 2.73.2
This commit is contained in:
parent
2405dbcdb0
commit
5c89d30bb1
@ -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
|
||||
|
@ -1 +1,2 @@
|
||||
77b21da5bd195a8e5f751206a2acab477636e3d02fe4f3796ede5788255382ae
|
||||
5f3ee36e34f4aaab393c3e3dc46fb01b32f7ead6c88d41d7f20d88a49cdef1d9
|
||||
5476b0c742dc348812de45f0a26dc9f471c432e56aec2c2074a23a8488c1caf6
|
||||
|
17
extra/glib/patches/musl.patch
Normal file
17
extra/glib/patches/musl.patch
Normal 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
|
@ -1 +1,2 @@
|
||||
https://download.gnome.org/sources/glib/MAJOR.MINOR/glib-VERSION.tar.xz
|
||||
patches/musl.patch
|
||||
|
@ -1 +1 @@
|
||||
2.73.1 1
|
||||
2.73.2 1
|
||||
|
Loading…
Reference in New Issue
Block a user