summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-05-21 11:22:10 +0000
committerRoy Marples <uberlord@gentoo.org>2007-05-21 11:22:10 +0000
commitf04fc6ff8d7eaf5ff1a421c5bc8805b98d3a817c (patch)
tree9489500dc78b7f2a139c53fa1054c90c8be09133 /eclass/ELT-patches
parentalpha stable wrt #169094 (diff)
downloadhistorical-f04fc6ff8d7eaf5ff1a421c5bc8805b98d3a817c.tar.gz
historical-f04fc6ff8d7eaf5ff1a421c5bc8805b98d3a817c.tar.bz2
historical-f04fc6ff8d7eaf5ff1a421c5bc8805b98d3a817c.zip
Add 1.4a-GCC3.0 to the fbsd-ltconf patchset for gcc-4.2
Diffstat (limited to 'eclass/ELT-patches')
-rw-r--r--eclass/ELT-patches/fbsd-ltconf/1.4a-GCC3.032
1 files changed, 32 insertions, 0 deletions
diff --git a/eclass/ELT-patches/fbsd-ltconf/1.4a-GCC3.0 b/eclass/ELT-patches/fbsd-ltconf/1.4a-GCC3.0
new file mode 100644
index 000000000000..e88bb4582aed
--- /dev/null
+++ b/eclass/ELT-patches/fbsd-ltconf/1.4a-GCC3.0
@@ -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 elf`
+- 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