diff options
author | Sven 'sleipnir' Rebhan <odinshorse@googlemail.com> | 2009-02-15 20:19:37 +0000 |
---|---|---|
committer | Sven 'sleipnir' Rebhan <odinshorse@googlemail.com> | 2009-02-15 20:19:37 +0000 |
commit | c6191121d29df5dee97e2e4dbfdbe16225d81fc7 (patch) | |
tree | 9352a28b0c9754ecaca7e8eb873fa508245b69a5 /sys-devel/libtool/files | |
parent | fix tslib compilation via adding -D_FORTIFY_SOURCE=0, (thanks jc) (diff) | |
download | embedded-cross-c6191121d29df5dee97e2e4dbfdbe16225d81fc7.tar.gz embedded-cross-c6191121d29df5dee97e2e4dbfdbe16225d81fc7.tar.bz2 embedded-cross-c6191121d29df5dee97e2e4dbfdbe16225d81fc7.zip |
Fix for libtool to no longer trash our builds with "-L${libdir}"
Diffstat (limited to 'sys-devel/libtool/files')
3 files changed, 97 insertions, 0 deletions
diff --git a/sys-devel/libtool/files/1.5.20/libtool-1.5.20-use-linux-version-in-fbsd.patch b/sys-devel/libtool/files/1.5.20/libtool-1.5.20-use-linux-version-in-fbsd.patch new file mode 100644 index 0000000..cc9d8b8 --- /dev/null +++ b/sys-devel/libtool/files/1.5.20/libtool-1.5.20-use-linux-version-in-fbsd.patch @@ -0,0 +1,38 @@ +Force linux-style versioning when generating shared libraries on +Gentoo/FreeBSD hosts only. + +Patch by Diego Pettenò + +http://bugs.gentoo.org/109105 + +--- libtool-1.5.20/libtool.m4 ++++ libtool-1.5.20/libtool.m4 +@@ -1375,7 +1375,14 @@ freebsd* | dragonfly*) + *) objformat=elf ;; + esac + fi +- version_type=freebsd-$objformat ++ # Handle Gentoo/FreeBSD as it was Linux ++ case $host_vendor in ++ gentoo) ++ version_type=linux ;; ++ *) ++ version_type=freebsd-$objformat ;; ++ esac ++ + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' +@@ -1386,6 +1392,12 @@ freebsd* | dragonfly*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; ++ linux) ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ need_lib_prefix=no ++ need_version=no ++ ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in diff --git a/sys-devel/libtool/files/2.2.6a/libtool-2.2.6a-add-cross-compile-root-to-libdir.patch b/sys-devel/libtool/files/2.2.6a/libtool-2.2.6a-add-cross-compile-root-to-libdir.patch new file mode 100644 index 0000000..3c7d99b --- /dev/null +++ b/sys-devel/libtool/files/2.2.6a/libtool-2.2.6a-add-cross-compile-root-to-libdir.patch @@ -0,0 +1,20 @@ +--- 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 --git a/sys-devel/libtool/files/2.2.6a/libtool-2.2.6a-gnuinfo.patch b/sys-devel/libtool/files/2.2.6a/libtool-2.2.6a-gnuinfo.patch new file mode 100644 index 0000000..3027dd9 --- /dev/null +++ b/sys-devel/libtool/files/2.2.6a/libtool-2.2.6a-gnuinfo.patch @@ -0,0 +1,39 @@ +Fix broken Info files produced by texinfo 4.11 +http://bugs.gentoo.org/249168 + +--- libtool-2.2.6/doc/libtool.info ++++ libtool-2.2.6/doc/libtool.info +@@ -1,7 +1,7 @@ ++This is libtool.info, produced by makeinfo version 4.11 from /Users/gary/Devo/libtool/doc/libtool.texi. ++ + INFO-DIR-SECTION GNU programming tools + START-INFO-DIR-ENTRY +-This is libtool.info, produced by makeinfo version 4.11 from /Users/gary/Devo/libtool/doc/libtool.texi. +- + * Libtool: (libtool). Generic shared library support script. + END-INFO-DIR-ENTRY + +--- libtool-2.2.6/doc/libtool.info-1 ++++ libtool-2.2.6/doc/libtool.info-1 +@@ -1,7 +1,7 @@ ++This is libtool.info, produced by makeinfo version 4.11 from /Users/gary/Devo/libtool/doc/libtool.texi. ++ + INFO-DIR-SECTION GNU programming tools + START-INFO-DIR-ENTRY +-This is libtool.info, produced by makeinfo version 4.11 from /Users/gary/Devo/libtool/doc/libtool.texi. +- + * Libtool: (libtool). Generic shared library support script. + END-INFO-DIR-ENTRY + +--- libtool-2.2.6/doc/libtool.info-2 ++++ libtool-2.2.6/doc/libtool.info-2 +@@ -1,7 +1,7 @@ ++This is libtool.info, produced by makeinfo version 4.11 from /Users/gary/Devo/libtool/doc/libtool.texi. ++ + INFO-DIR-SECTION GNU programming tools + START-INFO-DIR-ENTRY +-This is libtool.info, produced by makeinfo version 4.11 from /Users/gary/Devo/libtool/doc/libtool.texi. +- + * Libtool: (libtool). Generic shared library support script. + END-INFO-DIR-ENTRY + |