summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-01-25 19:26:48 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-03-20 16:07:36 +0100
commit15d9f969f660f4cc4b268f3cc7f8ac53f84e14dc (patch)
tree7c8bdd670d2cec105c9ea7015fa0d3fc7a6572a9 /sys-apps/sandbox
parentapp-vim/gentoo-syntax: Remove old (diff)
downloadgentoo-15d9f969f660f4cc4b268f3cc7f8ac53f84e14dc.tar.gz
gentoo-15d9f969f660f4cc4b268f3cc7f8ac53f84e14dc.tar.bz2
gentoo-15d9f969f660f4cc4b268f3cc7f8ac53f84e14dc.zip
sys-apps/sandbox: remove unused patch
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14445 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r--sys-apps/sandbox/files/musl.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/sys-apps/sandbox/files/musl.patch b/sys-apps/sandbox/files/musl.patch
deleted file mode 100644
index 419d067f2a29..000000000000
--- a/sys-apps/sandbox/files/musl.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/libsandbox/trace.c
-+++ b/libsandbox/trace.c
-@@ -10,7 +10,16 @@
- #include "sb_nr.h"
-
- static long do_peekdata(long offset);
--static long _do_ptrace(enum __ptrace_request request, const char *srequest, void *addr, void *data);
-+/* Note on _do_ptrace argument types:
-+ glibc defines ptrace as:
-+ long ptrace(enum __ptrace_request request, pid_t pid, void *addr, void *data);
-+ musl defines ptrace as:
-+ long ptrace(int, ...);
-+
-+ Let's clobber to 'int' lowest common denominator.
-+ */
-+typedef int sb_ptrace_req_t;
-+static long _do_ptrace(sb_ptrace_req_t request, const char *srequest, void *addr, void *data);
- #define do_ptrace(request, addr, data) _do_ptrace(request, #request, addr, data)
- #define _trace_possible(data) true
-
-@@ -44,7 +53,7 @@ static void trace_exit(int status)
- _exit(status);
- }
-
--static long _do_ptrace(enum __ptrace_request request, const char *srequest, void *addr, void *data)
-+static long _do_ptrace(sb_ptrace_req_t request, const char *srequest, void *addr, void *data)
- {
- long ret;
- try_again:
---- a/scripts/gen_symbol_header.awk
-+++ b/scripts/gen_symbol_header.awk
-@@ -117,6 +117,10 @@ END {
- gsub(/@|\./, "_", sym_real_name);
- }
-
-+ # Avoid libc's symbol rename via #define. musl defines aliases as:
-+ # #define mkstemp64 mkstemp
-+ # #define mkstemps64 mkstemps
-+ printf("#undef %s\n", sym_index);
- printf("#define symname_%s \"%s\"\n", sym_real_name, sym_index);
-
- # We handle non-versioned libc's by setting symver_*