tools/autoconf: Fix relocatable patch
authorHannu Nyman <hannu.nyman@iki.fi>
Sat, 22 Feb 2025 16:47:52 +0000 (18:47 +0200)
committerRobert Marko <robimarko@gmail.com>
Mon, 24 Feb 2025 13:12:47 +0000 (14:12 +0100)
commite03676a9ba3a7bb82a0a5d27d7bdb974ce3633e1
tree301b2a58d75d214c8325037ef01aff79413f0b62
parent15c27ce9f0a86635ec336c89fcb11c1d02e46613
tools/autoconf: Fix relocatable patch

Fix the 000-relocatable.patch broken by e0f5ce9. The patch segment about
detecting STAGING_DIR_HOST was erroneously removed, as upstream had
deleted the previous bin/autoconf.as and had implemented it in perl
in bin/autoconf.in. Re-create the previous functionality in that.

Fixes: #18059
Fixes: e0f5ce974 ("tools/autoconf: bump to 2.72")
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/18073
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/autoconf/patches/000-relocatable.patch