From bc8d00f01b98e542084d226217829d28166cdd08 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Thu, 12 Sep 2024 09:42:20 +0000
Subject: [PATCH] community/afpfs-ng: fix build with gcc 14

---
 community/afpfs-ng/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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