Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 377912 Details for
Bug 469210
linux-info.eclass generates sandbox violations in pkg_pretend
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Revised patch for getfilevar, but with a one-liner (just cuz I am stingy)
0001-linux-info.eclass-v2.patch (text/plain), 937 bytes, created by
Timothy Jones
on 2014-05-31 01:59:00 UTC
(
hide
)
Description:
Revised patch for getfilevar, but with a one-liner (just cuz I am stingy)
Filename:
MIME Type:
Creator:
Timothy Jones
Created:
2014-05-31 01:59:00 UTC
Size:
937 bytes
patch
obsolete
>--- linux-info.eclass.orig 2014-05-08 12:35:17.724335228 -0400 >+++ linux-info.eclass 2014-05-08 12:35:34.194653584 -0400 >@@ -164,7 +164,7 @@ > # done by including the configfile, and printing the variable with Make. > # It WILL break if your makefile has missing dependencies! > getfilevar() { >- local ERROR basefname basedname myARCH="${ARCH}" >+ local ERROR basefname basedname myARCH="${ARCH}" M="${S}" > ERROR=0 > > [ -z "${1}" ] && ERROR=1 >@@ -182,8 +182,11 @@ > > # We use nonfatal because we want the caller to take care of things #373151 > [[ ${EAPI:-0} == [0123] ]] && nonfatal() { "$@"; } >+ case ${EBUILD_PHASE_FUNC} in >+ pkg_info|pkg_nofetch|pkg_pretend) M="${T}" ;; >+ esac > echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \ >- nonfatal emake -C "${basedname}" M="${S}" ${BUILD_FIXES} -s -f - 2>/dev/null >+ nonfatal emake -C "${basedname}" M="${M}" ${BUILD_FIXES} -s -f - 2>/dev/null > > ARCH=${myARCH} > fi
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 469210
:
368664
|
375020
|
376574
|
376580
| 377912