summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-09 21:23:12 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-09 21:23:12 +0000
commitee63d8fa0e9a82e894d1f55c7d07ead014186c40 (patch)
tree43818aff6ef66a6b81b39e7dfcb446f7c9c27517 /sys-devel/libtool/files
parentVersion bump, closes bug #70499. (diff)
downloadhistorical-ee63d8fa0e9a82e894d1f55c7d07ead014186c40.tar.gz
historical-ee63d8fa0e9a82e894d1f55c7d07ead014186c40.tar.bz2
historical-ee63d8fa0e9a82e894d1f55c7d07ead014186c40.zip
Update the .so and tag guessing patches.
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r--sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch14
-rw-r--r--sys-devel/libtool/files/1.5.6/libtool-1.5.6-libtool_m4-shared_ext.patch35
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch b/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch
new file mode 100644
index 000000000000..ccaa25f7264c
--- /dev/null
+++ b/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch
@@ -0,0 +1,14 @@
+--- libtool-1.5.10/ltmain.in.orig 2004-11-09 13:43:24.290875562 -0500
++++ libtool-1.5.10/ltmain.in 2004-11-09 13:45:51.250048464 -0500
+@@ -242,7 +242,11 @@
+ esac
+ CC_quoted="$CC_quoted $arg"
+ done
++ # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
++ trimedcc="${CC/${host}-}"
+ case "$@ " in
++ "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*) tagname=CC ; break ;;
++ "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*|\
+ " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
+ # The compiler in the base compile command matches
+ # the one in the tagged configuration.
diff --git a/sys-devel/libtool/files/1.5.6/libtool-1.5.6-libtool_m4-shared_ext.patch b/sys-devel/libtool/files/1.5.6/libtool-1.5.6-libtool_m4-shared_ext.patch
new file mode 100644
index 000000000000..ba46f009af18
--- /dev/null
+++ b/sys-devel/libtool/files/1.5.6/libtool-1.5.6-libtool_m4-shared_ext.patch
@@ -0,0 +1,35 @@
+--- libtool-1.5.2/libtool.m4 2004-02-10 00:23:58.000000000 +0200
++++ libtool-1.5.2.shared_ext/libtool.m4 2004-02-10 23:32:08.364266152 +0200
+@@ -229,6 +229,7 @@
+ tagname=
+ AC_LIBTOOL_LANG_C_CONFIG
+ _LT_AC_TAGCONFIG
++_LT_AC_SHARED_EXT
+ ])# AC_LIBTOOL_SETUP
+
+
+@@ -1788,6 +1789,24 @@
+ fi
+ ])# _LT_AC_TAGCONFIG
+
++# _LT_AC_SHARED_EXT
++# ----------------
++AC_DEFUN([_LT_AC_SHARED_EXT],[
++ if test ! -f "${ofile}"; then
++ AC_MSG_WARN([output file `$ofile' does not exist])
++ fi
++ if test -z "`grep -e 'shared_ext.*shrext_cmds' $ofile`"; then
++ # Make sure $shared_ext gets set to $shrext_cmds
++ if sed -e 's/shared_ext/shrext_cmds/g' "$ofile" > "${ofile}T"; then
++ mv "${ofile}T" "$ofile"
++ chmod +x "$ofile"
++ else
++ rm -f "${ofile}T"
++ AC_MSG_ERROR([unable to update shared_ext.])
++ fi
++ fi
++])# _LT_AC_SHARED_EXT
++
+
+ # AC_LIBTOOL_DLOPEN
+ # -----------------