Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 425394 Details for
Bug 574626
eapply broken in BSD environment
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for bin/phase-helpers.sh
portage-2.2.27-eapi6-patch.patch (text/plain), 822 bytes, created by
Yuta SATOH
on 2016-02-13 11:39:24 UTC
(
hide
)
Description:
sample patch for bin/phase-helpers.sh
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2016-02-13 11:39:24 UTC
Size:
822 bytes
patch
obsolete
>diff --git a/portage-2.2.27/bin/phase-helpers.sh b/portage-2.2.27/bin/phase-helpers.sh >index 80f5946..69dfe4b 100644 >--- a/portage-2.2.27/bin/phase-helpers.sh >+++ b/portage-2.2.27/bin/phase-helpers.sh >@@ -987,6 +987,9 @@ if ___eapi_has_eapply; then > _eapply_patch() { > local f=${1} > local prefix=${2} >+ local prepend="" >+ >+ type -P gpatch > /dev/null && prepend="g" > > started_applying=1 > ebegin "${prefix:-Applying }${f##*/}" >@@ -995,7 +998,7 @@ if ___eapi_has_eapply; then > # -s to silence progress output > # -g0 to guarantee no VCS interaction > # --no-backup-if-mismatch not to pollute the sources >- patch -p1 -f -s -g0 --no-backup-if-mismatch \ >+ ${prepend}patch -p1 -f -s -g0 --no-backup-if-mismatch \ > "${patch_options[@]}" < "${f}" > failed=${?} > if ! eend "${failed}"; then
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 574626
: 425394 |
437930