From d035c56bb4ae7841ac48a619f20df4e6845d4167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 20 Feb 2024 08:20:51 +0700 Subject: [PATCH] xar: fix -Wimplicit-function-declaration --- .../xar/patches/implicit-function-decl.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/xar/patches/implicit-function-decl.patch diff --git a/srcpkgs/xar/patches/implicit-function-decl.patch b/srcpkgs/xar/patches/implicit-function-decl.patch new file mode 100644 index 00000000000..83c1a84bc47 --- /dev/null +++ b/srcpkgs/xar/patches/implicit-function-decl.patch @@ -0,0 +1,20 @@ +--- a/xar/lib/ext2.c ++++ b/xar/lib/ext2.c +@@ -41,6 +41,7 @@ + #include "asprintf.h" + #endif + #include ++#include + #include + #include "xar.h" + #include "arcmod.h" +--- a/xar/lib/linuxattr.c ++++ b/xar/lib/linuxattr.c +@@ -37,6 +37,7 @@ + + #include "config.h" + #include ++#include + #include + #include + #include "xar.h"