tools/libtool: bump to 2.4.6
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Mon, 13 Sep 2021 21:08:55 +0000 (18:08 -0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 13 Mar 2023 21:53:41 +0000 (22:53 +0100)
commit0d0cfe9f2d086404093b547b89afec822c32bd76
tree7ca3845eeecf542c61a42c33523c2bbe8cc649ab
parenta22c54e39f8cb668ea5d717a51359fe2409fa336
tools/libtool: bump to 2.4.6

This updates libtool to its current release, from 2015.  Current patches
were renumbered and given a description text.  The fix in
160-passthrough-ssp.patch is no longer needed.

A patch to speed up build was cherry-picked, and another openwrt
specific patch was needed to not use quotes in $(SHELL), to acommodate
our "SHELL=/usr/bin/env bash" usage.

The already present call to ./bootstrap ensures that generated files are
refreshed, so the patches are applied only to their sources.  Also, that
bootstrap call was adjusted to run at the appropriate time when QUILT=1.

References below are relevant commits to upstream libtool
regarding some of the changes to patches.

This commit is being reapplied after previous revertion, and after some editing.
The fix for the issue that prompted reverting is the parent of this commit.

Ref: 435cb8d71 ("libtoolize: simplify runtime by substituting pkgauxdir")
Ref: 3cf11cfe2 ("libtoolize: rewritten over funclib.sh instead of general.m4sh")
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
[refactored to simplify patch changes, expanded patches, added upstream references]
Signed-off-by: Michael Pratt <mcpratt@pm.me>
tools/libtool/Makefile
tools/libtool/patches/000-relocatable.patch
tools/libtool/patches/100-libdir-fixes.patch
tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch
tools/libtool/patches/120-strip-unsafe-dirs-for-relinking.patch
tools/libtool/patches/130-trailingslash.patch [new file with mode: 0644]
tools/libtool/patches/140-don-t-quote-SHELL-in-Makefile.am.patch [new file with mode: 0644]
tools/libtool/patches/150-libtool-mitigate-the-sed_quote_subst-slowdown.patch [new file with mode: 0644]
tools/libtool/patches/150-trailingslash.patch [deleted file]
tools/libtool/patches/160-passthrough-ssp.patch [deleted file]
tools/libtool/patches/200-openwrt-branding.patch