From 798e25f313bff61f197a3d57604b6b63d8b4968c Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 15 Jan 2024 15:14:46 +0100 Subject: [PATCH] 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. --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2