]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
github: Use newer gperf version on macOS
authorTobias Brunner <tobias@strongswan.org>
Mon, 15 Jan 2024 14:14:46 +0000 (15:14 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 16 Jan 2024 10:00:29 +0000 (11:00 +0100)
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

index 0f39f26dfa6a9e1e7288ddfcd2a2363f2018b161..23c40029115b05ad940b856e459d2774d2ff4ec3 100755 (executable)
@@ -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