From 8bae16eea5d8cacb0e489e66f84a59458818e07a 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] yaz: fix -Wimplicit-function-declaration --- .../yaz/patches/implicit-function-decl.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/yaz/patches/implicit-function-decl.patch diff --git a/srcpkgs/yaz/patches/implicit-function-decl.patch b/srcpkgs/yaz/patches/implicit-function-decl.patch new file mode 100644 index 00000000000..d5f0b1269e2 --- /dev/null +++ b/srcpkgs/yaz/patches/implicit-function-decl.patch @@ -0,0 +1,20 @@ +--- a/src/record_conv.c ++++ b/src/record_conv.c +@@ -11,6 +11,7 @@ + #include + #endif + ++#include + #include + #include + #include +--- a/src/xmlquery.c ++++ b/src/xmlquery.c +@@ -10,6 +10,7 @@ + #endif + + #include ++#include + #include + #include +