diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-02 05:06:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-02 05:06:09 +0000 |
commit | 2dfd1622cf1b60eb12eefa15f9e1a37b429f3181 (patch) | |
tree | 02a38174ee16d2f432f198d51559c6325d86e001 /sys-devel/libtool/files | |
parent | Add support for FreeBSD #103388 by Diego Pettenò. (diff) | |
download | historical-2dfd1622cf1b60eb12eefa15f9e1a37b429f3181.tar.gz historical-2dfd1622cf1b60eb12eefa15f9e1a37b429f3181.tar.bz2 historical-2dfd1622cf1b60eb12eefa15f9e1a37b429f3181.zip |
Version bump.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r-- | sys-devel/libtool/files/1.5.20/libtool-1.5.20-ltmain_sh-max_cmd_len.patch | 33 | ||||
-rw-r--r-- | sys-devel/libtool/files/digest-libtool-1.5.20 | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-devel/libtool/files/1.5.20/libtool-1.5.20-ltmain_sh-max_cmd_len.patch b/sys-devel/libtool/files/1.5.20/libtool-1.5.20-ltmain_sh-max_cmd_len.patch new file mode 100644 index 000000000000..d676c2b8defb --- /dev/null +++ b/sys-devel/libtool/files/1.5.20/libtool-1.5.20-ltmain_sh-max_cmd_len.patch @@ -0,0 +1,33 @@ +--- libtool-1.5.20/ltmain.in ++++ libtool-1.5.20/ltmain.in +@@ -136,6 +136,30 @@ + execute_dlfiles= + lo2o="s/\\.lo\$/.${objext}/" + o2lo="s/\\.${objext}\$/.lo/" ++ ++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.20 b/sys-devel/libtool/files/digest-libtool-1.5.20 new file mode 100644 index 000000000000..4fab72c472e9 --- /dev/null +++ b/sys-devel/libtool/files/digest-libtool-1.5.20 @@ -0,0 +1 @@ +MD5 fc3b564700aebcb19de841c1c2d66e99 libtool-1.5.20.tar.gz 2789331 |