Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 423960 Details for
Bug 572038
libtool.eclass fails to apply the cross/link-ROOT patch for libtool versions 2.4.4 and later
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
For elibtoolize calls, base libraries at sysroot, and remove sysroot from rpaths
portage-libtool.patch (text/plain), 3.97 KB, created by
popham
on 2016-01-27 02:13:55 UTC
(
hide
)
Description:
For elibtoolize calls, base libraries at sysroot, and remove sysroot from rpaths
Filename:
MIME Type:
Creator:
popham
Created:
2016-01-27 02:13:55 UTC
Size:
3.97 KB
patch
obsolete
>diff -ruN a/eclass/ELT-patches/cross/link-ROOT b/eclass/ELT-patches/cross/link-ROOT >--- a/eclass/ELT-patches/cross/link-ROOT 2015-08-09 20:34:51.000000000 +0000 >+++ b/eclass/ELT-patches/cross/link-ROOT 1970-01-01 00:00:00.000000000 +0000 >@@ -1,20 +0,0 @@ >---- libltdl/config/ltmain.sh 2008-09-07 19:56:33.000000000 +0200 >-+++ libltdl/config/ltmain.sh.new 2009-02-15 20:37:47.000000000 +0100 >-@@ -5768,7 +5768,7 @@ >- test "$hardcode_direct_absolute" = no; then >- add="$libdir/$linklib" >- elif test "$hardcode_minus_L" = yes; then >-- add_dir="-L$libdir" >-+ add_dir="-L$ROOT/$libdir" >- add="-l$name" >- elif test "$hardcode_shlibpath_var" = yes; then >- case :$finalize_shlibpath: in >-@@ -5785,7 +5785,7 @@ >- fi >- else >- # We cannot seem to hardcode it, guess we'll fake it. >-- add_dir="-L$libdir" >-+ add_dir="-L$ROOT/$libdir" >- # Try looking first in the location we're being installed to. >- if test -n "$inst_prefix_dir"; then >- case $libdir in >diff -ruN a/eclass/ELT-patches/cross/link-ROOT-2.4.2 b/eclass/ELT-patches/cross/link-ROOT-2.4.2 >--- a/eclass/ELT-patches/cross/link-ROOT-2.4.2 1970-01-01 00:00:00.000000000 +0000 >+++ b/eclass/ELT-patches/cross/link-ROOT-2.4.2 2016-01-26 20:35:08.604635872 +0000 >@@ -0,0 +1,33 @@ >+--- ltmain.sh 2011-10-17 03:19:35.000000000 -0700 >++++ ltmain.sh.new 2016-01-26 12:24:48.668164073 -0800 >+@@ -6901,7 +6901,7 @@ >+ test "$hardcode_direct_absolute" = no; then >+ add="$libdir/$linklib" >+ elif test "$hardcode_minus_L" = yes; then >+- add_dir="-L$libdir" >++ add_dir="-L$lt_sysroot$libdir" >+ add="-l$name" >+ elif test "$hardcode_shlibpath_var" = yes; then >+ case :$finalize_shlibpath: in >+@@ -6918,7 +6918,7 @@ >+ fi >+ else >+ # We cannot seem to hardcode it, guess we'll fake it. >+- add_dir="-L$libdir" >++ add_dir="-L$lt_sysroot$libdir" >+ # Try looking first in the location we're being installed to. >+ if test -n "$inst_prefix_dir"; then >+ case $libdir in >+@@ -8064,7 +8064,12 @@ >+ esac >+ fi >+ else >++ local sysrooted_libdir >++ sysrooted_libdir=$libdir >++ func_stripname "$lt_sysroot" '' "$libdir" >++ libdir=$func_stripname_result >+ eval flag=\"$hardcode_libdir_flag_spec\" >++ libdir=sysrooted_libdir >+ func_append dep_rpath " $flag" >+ fi >+ elif test -n "$runpath_var"; then >diff -ruN a/eclass/ELT-patches/cross/link-ROOT-2.4.4 b/eclass/ELT-patches/cross/link-ROOT-2.4.4 >--- a/eclass/ELT-patches/cross/link-ROOT-2.4.4 1970-01-01 00:00:00.000000000 +0000 >+++ b/eclass/ELT-patches/cross/link-ROOT-2.4.4 2016-01-26 20:29:01.828032288 +0000 >@@ -0,0 +1,33 @@ >+--- ltmain.sh 2016-01-25 10:03:55.914625270 +0000 >++++ ltmain.sh.new 2016-01-26 09:44:01.434783649 +0000 >+@@ -8367,7 +8367,7 @@ >+ test no = "$hardcode_direct_absolute"; then >+ add=$libdir/$linklib >+ elif test yes = "$hardcode_minus_L"; then >+- add_dir=-L$libdir >++ add_dir=-L$lt_sysroot$libdir >+ add=-l$name >+ elif test yes = "$hardcode_shlibpath_var"; then >+ case :$finalize_shlibpath: in >+@@ -8384,7 +8384,7 @@ >+ fi >+ else >+ # We cannot seem to hardcode it, guess we'll fake it. >+- add_dir=-L$libdir >++ add_dir=-L$lt_sysroot$libdir >+ # Try looking first in the location we're being installed to. >+ if test -n "$inst_prefix_dir"; then >+ case $libdir in >+@@ -9579,7 +9579,11 @@ >+ esac >+ fi >+ else >++ local sysrooted_libdir >++ sysrooted_libdir=$libdir >++ func_stripname "$lt_sysroot" '' "$libdir" >++ libdir=$func_stripname_result >+ eval flag=\"$hardcode_libdir_flag_spec\" >++ libdir=sysrooted_libdir >+ func_append dep_rpath " $flag" >+ fi >+ elif test -n "$runpath_var"; 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 572038
:
423008
|
423412
|
423414
|
423958
|
423960
|
423962
|
424190
|
908676