diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-13 04:38:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-13 04:38:24 +0000 |
commit | 11c8e5135d45bb8dcd0eb24b0b49aed1346344c9 (patch) | |
tree | caea708229ac4e4caf94b7cd2d6f04edbc870dde /sys-devel/libtool/files | |
parent | arm/hppa/ia64/s390 lovin (diff) | |
download | historical-11c8e5135d45bb8dcd0eb24b0b49aed1346344c9.tar.gz historical-11c8e5135d45bb8dcd0eb24b0b49aed1346344c9.tar.bz2 historical-11c8e5135d45bb8dcd0eb24b0b49aed1346344c9.zip |
Version bump.
Package-Manager: portage-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.patch | 33 | ||||
-rw-r--r-- | sys-devel/libtool/files/digest-libtool-1.5.14 | 1 |
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 |