From: Tobias Brunner Date: Mon, 15 Jan 2024 14:14:46 +0000 (+0100) Subject: github: Use newer gperf version on macOS X-Git-Tag: android-2.5.0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=798e25f313bff61f197a3d57604b6b63d8b4968c;p=thirdparty%2Fstrongswan.git github: Use newer gperf version on macOS The gperf version that's already available on the system generates function declarations with K&R syntax (separate arguments) for which newer compilers produce a warning as C23 doesn't support that syntax anymore. --- diff --git a/scripts/test.sh b/scripts/test.sh index 0f39f26dfa..23c4002911 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -340,7 +340,7 @@ macos) --enable-socket-default --enable-sshkey --enable-stroke --enable-swanctl --enable-unity --enable-updown --enable-x509 --enable-xauth-generic" - DEPS="automake autoconf libtool bison gettext pkg-config openssl@1.1 curl" + DEPS="automake autoconf libtool bison gettext gperf pkg-config openssl@1.1 curl" BREW_PREFIX=$(brew --prefix) export PATH=$BREW_PREFIX/opt/bison/bin:$PATH export ACLOCAL_PATH=$BREW_PREFIX/opt/gettext/share/aclocal:$ACLOCAL_PATH