summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-13 04:38:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-13 04:38:24 +0000
commitbb752e3306bcfb711e837d5aa855acbdee75e2c2 (patch)
tree3fd79bd1d4587e1fccdd5197270629cce4f5acfa /sys-devel/libtool/files
parentarm/hppa/ia64/s390 lovin (diff)
downloadgentoo-2-bb752e3306bcfb711e837d5aa855acbdee75e2c2.tar.gz
gentoo-2-bb752e3306bcfb711e837d5aa855acbdee75e2c2.tar.bz2
gentoo-2-bb752e3306bcfb711e837d5aa855acbdee75e2c2.zip
Version bump.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r--sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch33
-rw-r--r--sys-devel/libtool/files/digest-libtool-1.5.141
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch b/sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch
new file mode 100644
index 000000000000..74de9cfb8abf
--- /dev/null
+++ b/sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch
@@ -0,0 +1,33 @@
+--- libtool-1.5.14/ltmain.in
++++ libtool-1.5.14/ltmain.in
+@@ -136,6 +136,30 @@
+ lo2o="s/\\.lo\$/.${objext}/"
+ o2lo="s/\\.${objext}\$/.lo/"
+ quote_scanset='[[~#^*{};<>?'"'"' ]'
++
++if test -z "$max_cmd_len"; then
++ i=0
++ testring="ABCD"
++ new_result=
++
++ # If test is not a shell built-in, we'll probably end up computing a
++ # maximum length that is only half of the actual maximum length, but
++ # we can't tell.
++ while (test "X"`$SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
++ = "XX$testring") >/dev/null 2>&1 &&
++ new_result=`expr "X$testring" : ".*" 2>&1` &&
++ max_cmd_len="$new_result" &&
++ test "$i" != 17 # 1/2 MB should be enough
++ do
++ i=`expr $i + 1`
++ testring="$testring$testring"
++ done
++ testring=
++ # Add a significant safety factor because C++ compilers can tack on massive
++ # amounts of additional arguments before passing them to the linker.
++ # It appears as though 1/2 is a usable value.
++ max_cmd_len=`expr $max_cmd_len \/ 2`
++fi
+
+ #####################################
+ # Shell function definitions:
diff --git a/sys-devel/libtool/files/digest-libtool-1.5.14 b/sys-devel/libtool/files/digest-libtool-1.5.14
new file mode 100644
index 000000000000..780f57ad9279
--- /dev/null
+++ b/sys-devel/libtool/files/digest-libtool-1.5.14
@@ -0,0 +1 @@
+MD5 049bf67de9b0eb75cd943dafe3d749ec libtool-1.5.14.tar.gz 2732031