Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 496772 Details for
Bug 549108
sys-apps/sandbox: build with musl libc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch 1
0001-Avoid-using-enum-__ptrace_request.patch (text/plain), 1.29 KB, created by
Felix Janda
on 2017-09-27 22:15:58 UTC
(
hide
)
Description:
Patch 1
Filename:
MIME Type:
Creator:
Felix Janda
Created:
2017-09-27 22:15:58 UTC
Size:
1.29 KB
patch
obsolete
>From 2b2b0fed48f9b79218d83d1e79fd7f749ab5e492 Mon Sep 17 00:00:00 2001 >From: Felix Janda <felix.janda@posteo.de> >Date: Tue, 26 Sep 2017 18:19:11 -0400 >Subject: [PATCH 1/4] Avoid using enum __ptrace_request > >enum __ptrace_request is not present on linux systems using musl. >We can change it to int to make musl happy while not changing the >behavior on glibc. See also: > >http://www.openwall.com/lists/musl/2015/09/21/7 >--- > libsandbox/trace.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/libsandbox/trace.c b/libsandbox/trace.c >index fb1fc32..2983901 100644 >--- a/libsandbox/trace.c >+++ b/libsandbox/trace.c >@@ -10,7 +10,7 @@ > #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); >+static long _do_ptrace(int 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 +44,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(int request, const char *srequest, void *addr, void *data) > { > long ret; > try_again: >-- >2.13.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 549108
:
403010
|
403012
|
403814
|
404754
| 496772 |
496774
|
496776
|
496778
|
580598
|
580600
|
580730
|
581128