summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-11 15:19:30 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-11 15:19:30 +0000
commitd02364e3464e3c478465e21a38cd709e3e4bf910 (patch)
tree3d7e6b54cc76bbb34c5f24eb6b5849494e982160 /eclass/ELT-patches
parentadded blockers for new gnat-gxx compilers as they are about to be unmasked (diff)
downloadgentoo-2-d02364e3464e3c478465e21a38cd709e3e4bf910.tar.gz
gentoo-2-d02364e3464e3c478465e21a38cd709e3e4bf910.tar.bz2
gentoo-2-d02364e3464e3c478465e21a38cd709e3e4bf910.zip
Add patch for 1.4a version (coming from where I do not know) of ltconfig as used by binutils.
Diffstat (limited to 'eclass/ELT-patches')
-rw-r--r--eclass/ELT-patches/fbsd-ltconf/1.4a32
1 files changed, 32 insertions, 0 deletions
diff --git a/eclass/ELT-patches/fbsd-ltconf/1.4a b/eclass/ELT-patches/fbsd-ltconf/1.4a
new file mode 100644
index 000000000000..00084070dfb7
--- /dev/null
+++ b/eclass/ELT-patches/fbsd-ltconf/1.4a
@@ -0,0 +1,32 @@
+Index: binutils-2.16.1/ltconfig
+===================================================================
+--- binutils-2.16.1.orig/ltconfig
++++ binutils-2.16.1/ltconfig
+@@ -1129,7 +1129,13 @@ freebsd1*)
+
+ freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+- version_type=freebsd-$objformat
++ case $host_vendor in
++ gentoo)
++ version_type=linux ;;
++ *)
++ version_type=freebsd-$objformat ;;
++ esac
++
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+@@ -1141,6 +1147,12 @@ freebsd*)
+ library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
+ need_version=yes
+ ;;
++ linux)
++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}.so'
++ soname_spec='${libname}${release}.so$major'
++ need_lib_prefix=no
++ need_version=no
++ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in