Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 404754 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]
Somewhat hacky patch fixing the remaining issues
sandbox-rest.patch (text/plain), 1.27 KB, created by
Felix Janda
on 2015-06-07 18:36:11 UTC
(
hide
)
Description:
Somewhat hacky patch fixing the remaining issues
Filename:
MIME Type:
Creator:
Felix Janda
Created:
2015-06-07 18:36:11 UTC
Size:
1.27 KB
patch
obsolete
>diff --git a/libsandbox/trace.c b/libsandbox/trace.c >index 1e34924..aad3fd5 100644 >--- a/libsandbox/trace.c >+++ b/libsandbox/trace.c >@@ -32,7 +32,7 @@ pid_t trace_pid; > # error "unable to find struct for tracing regs" > #endif > >-#ifdef HAVE_OPEN64 >+#if defined(HAVE_OPEN64) && !defined(open64) > # define sb_openat_pre_check sb_openat64_pre_check > #endif > >diff --git a/scripts/gen_symbol_header.awk b/scripts/gen_symbol_header.awk >index c9af7f9..4abf4ca 100644 >--- a/scripts/gen_symbol_header.awk >+++ b/scripts/gen_symbol_header.awk >@@ -17,7 +17,7 @@ BEGIN { > # On x86, x86_64 and others, $8 is the symbol name, but on > # alpha, its $10, so rather use $NF, as it should be the > # last field >- if ($NF ~ sym_regex) { >+ if (($5 != "WEAK") && ($NF ~ sym_regex)) { > split($NF, symbol_array, /@|@@/); > > # Don't add local symbols of versioned libc's >diff --git a/scripts/gen_symbol_version_map.awk b/scripts/gen_symbol_version_map.awk >index a0a43c0..32c4b0d 100644 >--- a/scripts/gen_symbol_version_map.awk >+++ b/scripts/gen_symbol_version_map.awk >@@ -14,7 +14,7 @@ BEGIN { > > # Only check FUNCtion symbols which are not LOCAL, or > # do not have DEFAULT visibility >- if ($4 != "FUNC" || $5 == "LOCAL" || $6 != "DEFAULT") >+ if ($4 != "FUNC" || $5 == "LOCAL") > next; > > for (x in SYMBOLS) {
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