summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-03 00:00:45 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-03 00:04:46 +0200
commit530aaa039c7d23c9f5e0eae7ebafd4b7814d9310 (patch)
tree2d5c0c7730b4f78ac9de219e57ec72664944bc00 /sys-apps/sandbox/files
parentapp-admin/terraform: white space fix (diff)
downloadgentoo-530aaa039c7d23c9f5e0eae7ebafd4b7814d9310.tar.gz
gentoo-530aaa039c7d23c9f5e0eae7ebafd4b7814d9310.tar.bz2
gentoo-530aaa039c7d23c9f5e0eae7ebafd4b7814d9310.zip
sys-apps/sandbox: Remove permanently broken sandbox 3.0+
The unreviewed changes in sandbox 3.0 has broken a number of packages, and the versions have been masked since November 2021. It seems that the author is not interested in fixing them, so remove them. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-apps/sandbox/files')
-rw-r--r--sys-apps/sandbox/files/sandbox-3.1-label-decl.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/sys-apps/sandbox/files/sandbox-3.1-label-decl.patch b/sys-apps/sandbox/files/sandbox-3.1-label-decl.patch
deleted file mode 100644
index b17f4b866f5a..000000000000
--- a/sys-apps/sandbox/files/sandbox-3.1-label-decl.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 82f6d876660ba1132d75ccfef5c4301d123ea505 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <vapier@gentoo.org>
-Date: Wed, 3 Nov 2021 12:25:10 -0400
-Subject: [PATCH] libsandbox: tweak label/decl code for some compiler settings
-
-Looks like gcc is inconsistent in when it chokes on this code:
-> a label can only be part of a statement and a declaration is not a statement
-
-Hoist the decl up to the top of scope to avoid the issue.
-
-Bug: https://bugs.gentoo.org/821433
-Signed-off-by: Mike Frysinger <vapier@gentoo.org>
----
- libsandbox/trace.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/libsandbox/trace.c b/libsandbox/trace.c
-index f3390d99822e..d2899b743048 100644
---- a/libsandbox/trace.c
-+++ b/libsandbox/trace.c
-@@ -704,6 +704,8 @@ static char *flatten_args(char *const argv[])
-
- bool trace_possible(const char *filename, char *const argv[], const void *data)
- {
-+ char *args;
-+
- /* If YAMA ptrace_scope is very high, then we can't trace at all. #771360 */
- int yama = trace_yama_level();
- if (yama >= 2) {
-@@ -721,7 +723,7 @@ bool trace_possible(const char *filename, char *const argv[], const void *data)
- }
-
- fail:
-- char *args = flatten_args(argv);
-+ args = flatten_args(argv);
- sb_eqawarn("Unable to trace static ELF: %s: %s\n", filename, args);
- free(args);
- return false;
---
-2.33.0
-