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.
This commit is contained in:
Tobias Brunner 2024-01-15 15:14:46 +01:00
parent fea02fb297
commit 798e25f313

View File

@ -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