diff options
author | Bob Funk <bobfunk11@gmail.com> | 2023-02-09 22:41:57 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-11 09:30:35 +0700 |
commit | 05a73a097c7939fac9bea24549ad8271ebbd33f0 (patch) | |
tree | 3cd375756ba403ecff2f1ee636f3d246906943a3 /desktop/mutter | |
parent | eb27a7564b523fef3798f6536b32ac40650bf45d (diff) |
desktop/mutter: Meson patch.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/mutter')
-rw-r--r-- | desktop/mutter/2294.patch | 32 | ||||
-rw-r--r-- | desktop/mutter/mutter.SlackBuild | 4 |
2 files changed, 36 insertions, 0 deletions
diff --git a/desktop/mutter/2294.patch b/desktop/mutter/2294.patch new file mode 100644 index 0000000000000..b69a8c329ef9c --- /dev/null +++ b/desktop/mutter/2294.patch @@ -0,0 +1,32 @@ +From 4d94d5ec410714f51ffc4cd5e7c9ded0b2f66e16 Mon Sep 17 00:00:00 2001 +From: Carlos Garnacho <carlosg@gnome.org> +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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2294> +--- + 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 ac89da086a112..d57ff05fa986d 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" \ |