From 05a73a097c7939fac9bea24549ad8271ebbd33f0 Mon Sep 17 00:00:00 2001 From: Bob Funk Date: Thu, 9 Feb 2023 22:41:57 +0000 Subject: [PATCH] desktop/mutter: Meson patch. Signed-off-by: bedlam Signed-off-by: Willy Sudiarto Raharjo --- desktop/mutter/2294.patch | 32 ++++++++++++++++++++++++++++++++ desktop/mutter/mutter.SlackBuild | 4 ++++ 2 files changed, 36 insertions(+) create mode 100644 desktop/mutter/2294.patch diff --git a/desktop/mutter/2294.patch b/desktop/mutter/2294.patch new file mode 100644 index 0000000000..b69a8c329e --- /dev/null +++ b/desktop/mutter/2294.patch @@ -0,0 +1,32 @@ +From 4d94d5ec410714f51ffc4cd5e7c9ded0b2f66e16 Mon Sep 17 00:00:00 2001 +From: Carlos Garnacho +Date: Tue, 15 Feb 2022 15:47:19 +0100 +Subject: [PATCH] build: Drop catchsegv Meson dependency + +This is basically mostly desirable for CI. Since that still +runs under .gitlab-ci/run-test.sh which wraps execution on +catchsegv, we presumably still have the positive effects there, +or at least until we update CI to a world where catchsegv is +gone. + +Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2120 +Part-of: +--- + meson.build | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 2f7e40c6bc..faa38a84fc 100644 +--- a/meson.build ++++ b/meson.build +@@ -338,7 +338,6 @@ if have_tests + ], + exe_wrapper: [ + default_test_wrappers, +- find_program('catchsegv'), + find_program('xvfb-run'), '-a', '-s', '+iglx -noreset', + ], + timeout_multiplier: 10, +-- +GitLab + diff --git a/desktop/mutter/mutter.SlackBuild b/desktop/mutter/mutter.SlackBuild index ac89da086a..d57ff05fa9 100644 --- a/desktop/mutter/mutter.SlackBuild +++ b/desktop/mutter/mutter.SlackBuild @@ -76,6 +76,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Patch to remove catchsegv dependency from meson.build, which has been +# removed in newer glibc releases (i.e. allows building on -current). +patch -Np1 -i $CWD/2294.patch + mkdir build cd build CFLAGS="$SLKCFLAGS" \