Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 55978 Details for
Bug 88276
bogofilter fails to emerge
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make create_ml_includes produce absolute links
multilib_eclass-ml_includes.patch (text/plain), 1.14 KB, created by
Herbie Hopkins (RETIRED)
on 2005-04-11 05:16:42 UTC
(
hide
)
Description:
make create_ml_includes produce absolute links
Filename:
MIME Type:
Creator:
Herbie Hopkins (RETIRED)
Created:
2005-04-11 05:16:42 UTC
Size:
1.14 KB
patch
obsolete
>--- multilib.eclass.orig 2005-04-11 11:11:55.000000000 +0100 >+++ multilib.eclass 2005-04-11 11:54:32.000000000 +0100 >@@ -405,7 +405,7 @@ > else > echo "#ifdef ${sym}" > fi >- echo "#include \"$(create_ml_includes-relative_between ${dest}/$(dirname ${file}) ${dir}/${file})\"" >+ echo "#include <$(create_ml_includes-absolute ${dir}/${file})>" > echo "#endif /* ${sym} */" > echo "" > fi >@@ -417,25 +417,19 @@ > } > > # Helper function for create_ml_includes >-create_ml_includes-relative_between() { >- local src="$(create_ml_includes-tidy_path ${1})" >- local dst="$(create_ml_includes-tidy_path ${2})" >+create_ml_includes-absolute() { >+ local dst="$(create_ml_includes-tidy_path ${1})" > >- src=(${src//\// }) > dst=(${dst//\// }) > > local i >- for ((i=0; i<${#src[*]}; i++)); do >- [ "${dst[i]}" != "${src[i]}" ] && break >+ for ((i=0; i<${#dst[*]}; i++)); do >+ [ "${dst[i]}" == "include" ] && break > done > >- local common=$i >+ local strip_upto=$i > >- for ((i=${#src[*]}; i>common; i--)); do >- echo -n ../ >- done >- >- for ((i=common; i<${#dst[*]}-1; i++)); do >+ for ((i=strip_upto+1; i<${#dst[*]}-1; i++)); do > echo -n ${dst[i]}/ > done >
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 88276
:
55581
| 55978