diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch')
-rw-r--r-- | meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch new file mode 100644 index 000000000..aa11e8a62 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 96753d85d8b53dd8f87b8f444892efffdbfab388 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 5 Oct 2017 14:54:17 +0300 | ||
4 | Subject: [PATCH] Disable libseccomp (sycall filtering mechanism) | ||
5 | |||
6 | Upstream forgot to make it optional, and it is not currently used in Yocto | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe-core specific] | ||
9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
10 | |||
11 | --- | ||
12 | configure.ac | 20 -------------------- | ||
13 | 1 file changed, 20 deletions(-) | ||
14 | |||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index 118d04f..47c8894 100644 | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -151,26 +151,6 @@ fi | ||
20 | |||
21 | SECCOMP_PKG="" | ||
22 | enable_seccomp="no" | ||
23 | -dnl Check for bubblewrap compatible platform | ||
24 | -case $host_os in | ||
25 | - linux*) | ||
26 | - case $host_cpu in | ||
27 | - alpha|ia64|m68k|sh4|sparc64) | ||
28 | - enable_seccomp="no (not available on this architecture)" | ||
29 | - AC_MSG_WARN("seccomp not available on this architecture") | ||
30 | - ;; | ||
31 | - *) | ||
32 | - PKG_CHECK_MODULES(LIBSECCOMP, [libseccomp]) | ||
33 | - SECCOMP_PKG="libseccomp" | ||
34 | - AC_DEFINE([ENABLE_SECCOMP], [1], [Define if using seccomp]) | ||
35 | - enable_seccomp="yes" | ||
36 | - ;; | ||
37 | - esac | ||
38 | - AC_DEFINE_UNQUOTED(_GNU_SOURCE, 1, [Define to include GNU extensions]) | ||
39 | - AC_DEFINE_UNQUOTED(HAVE_BWRAP, 1, [Define to 1 if Bubblewrap support is available]) | ||
40 | - AC_DEFINE_UNQUOTED(INSTALL_PREFIX, "$prefix", [Path to library install prefix]) | ||
41 | - ;; | ||
42 | -esac | ||
43 | |||
44 | dnl pkg-config dependency checks | ||
45 | |||