Files
telephony/net/asterisk-chan-sccp/patches/02-autoconf-2.70.patch
Sebastian Kemper 3b0a9ac8c8 asterisk-chan-sccp: autoconf fixes
Since OpenWrt updated autoconf to 2.71 configure fails, because
"$ac_dir" is now empty when configure attempts to run
"./tools/versioncheck". With previous autoconf "$ac_dir" contained
"autoconf" at this point in the script.

As a workaround "$ac_dir" is replaced with "$ac_aux_dir", which
incidentally contains "autoconf".

Also a build dependency is added for gettext-full, as it provides
iconv.m4. Previously this was provided by libiconv, but not anymore.
Without iconv.m4 autoreconf fails.

Some patches were refreshed to allow CI to pass.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2023-03-18 17:52:05 +01:00

12 lines
289 B
Diff

--- a/autoconf/acinclude.m4
+++ b/autoconf/acinclude.m4
@@ -497,7 +497,7 @@ AC_DEFUN([CS_GET_VERSION], [
SCCP_REVISION="unknown"
CURRENT=`pwd`
- BASE=`dirname $ac_dir`
+ BASE=`dirname $ac_aux_dir`
cd $BASE >/dev/null
. ./tools/versioncheck silent
cd $CURRENT >/dev/null