community/afpfs-ng: fix build with gcc 14

This commit is contained in:
Jingyun Hua 2024-09-12 09:42:20 +00:00 committed by Patrycja Rosa
parent 42f4f2d361
commit bc8d00f01b

View File

@ -2,7 +2,7 @@
# Maintainer: # Maintainer:
pkgname=afpfs-ng pkgname=afpfs-ng
pkgver=0.8.1 pkgver=0.8.1
pkgrel=11 pkgrel=12
pkgdesc="A client for the Apple Filing Protocol (AFP)" pkgdesc="A client for the Apple Filing Protocol (AFP)"
url="http://alexthepuffin.googlepages.com/" url="http://alexthepuffin.googlepages.com/"
arch="all" arch="all"
@ -36,7 +36,7 @@ prepare() {
} }
build() { build() {
CFLAGS="$CFLAGS -Wno-error=format-security" \ CFLAGS="$CFLAGS -Wno-error=format-security -std=gnu89" \
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \