summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-11 06:26:30 +0100
committerSam James <sam@gentoo.org>2022-06-11 06:36:01 +0100
commit2bbf7e85f8cb017c7324afd4c49e5b10b814980c (patch)
tree789d57d849aeb438350cd853fbb799a63790ccb7 /sys-apps/minijail
parentdev-python/hypothesis: add 6.47.1 (diff)
downloadgentoo-2bbf7e85f8cb017c7324afd4c49e5b10b814980c.tar.gz
gentoo-2bbf7e85f8cb017c7324afd4c49e5b10b814980c.tar.bz2
gentoo-2bbf7e85f8cb017c7324afd4c49e5b10b814980c.zip
sys-apps/minijail: drop Werror
Closes: https://bugs.gentoo.org/732014 Closes: https://bugs.gentoo.org/770940 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/minijail')
-rw-r--r--sys-apps/minijail/files/minijail-17-no-werror.patch13
-rw-r--r--sys-apps/minijail/minijail-17.ebuild3
2 files changed, 15 insertions, 1 deletions
diff --git a/sys-apps/minijail/files/minijail-17-no-werror.patch b/sys-apps/minijail/files/minijail-17-no-werror.patch
new file mode 100644
index 000000000000..01d655f2bd55
--- /dev/null
+++ b/sys-apps/minijail/files/minijail-17-no-werror.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/770940
+https://bugs.gentoo.org/732014
+--- a/common.mk
++++ b/common.mk
+@@ -319,7 +319,7 @@ endif
+ # The same goes for CFLAGS.
+ COMMON_CFLAGS-gcc := -fvisibility=internal -ggdb3 -Wa,--noexecstack
+ COMMON_CFLAGS-clang := -fvisibility=hidden -ggdb
+-COMMON_CFLAGS := -Wall -Wunused -Wno-unused-parameter -Werror -Wformat=2 \
++COMMON_CFLAGS := -Wall -Wunused -Wno-unused-parameter -Wformat=2 \
+ -fno-strict-aliasing $(SSP_CFLAGS) -O1
+ CXXFLAGS += $(COMMON_CFLAGS) $(COMMON_CFLAGS-$(CXXDRIVER)) -std=gnu++14
+ CFLAGS += $(COMMON_CFLAGS) $(COMMON_CFLAGS-$(CDRIVER)) -std=gnu11
diff --git a/sys-apps/minijail/minijail-17.ebuild b/sys-apps/minijail/minijail-17.ebuild
index 9f0c093fd994..f9192fecbd38 100644
--- a/sys-apps/minijail/minijail-17.ebuild
+++ b/sys-apps/minijail/minijail-17.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -28,6 +28,7 @@ S="${WORKDIR}/${PN}-linux-v${PV}"
PATCHES=(
"${FILESDIR}/minijail-12-makefile.patch"
+ "${FILESDIR}/minijail-17-no-werror.patch"
)
pkg_pretend() {