From 4c94b0e2a1f279a1e19f8a393d4cf1e3d54f9a64 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 26 Sep 2022 03:35:19 +0100 Subject: [PATCH] app-admin/watchfolder: fix implicit function decls Closes: https://bugs.gentoo.org/870433 Signed-off-by: Sam James --- .../watchfolder/files/0.3.3-implicit-decl.patch | 14 ++++++++++++++ ...0.3.3-r1.ebuild => watchfolder-0.3.3-r2.ebuild} | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) rename app-admin/watchfolder/{watchfolder-0.3.3-r1.ebuild => watchfolder-0.3.3-r2.ebuild} (96%) diff --git a/app-admin/watchfolder/files/0.3.3-implicit-decl.patch b/app-admin/watchfolder/files/0.3.3-implicit-decl.patch index 1b8e72d72bf8e..f2fc0b367d48c 100644 --- a/app-admin/watchfolder/files/0.3.3-implicit-decl.patch +++ b/app-admin/watchfolder/files/0.3.3-implicit-decl.patch @@ -38,3 +38,17 @@ #include #include #include +diff --git a/watchd.c b/watchd.c +index 842e186..49edb64 100644 +--- a/watchd.c ++++ b/watchd.c +@@ -52,6 +52,9 @@ Syntax : watchd + #define FL_LOG_MAIL 256 + #define FL_LOG_ALWAYS 512 + ++int isdir(char *name); ++void ini_close(inifile *i); ++ + typedef struct Twatchfolder + { + char* runprg; diff --git a/app-admin/watchfolder/watchfolder-0.3.3-r1.ebuild b/app-admin/watchfolder/watchfolder-0.3.3-r2.ebuild similarity index 96% rename from app-admin/watchfolder/watchfolder-0.3.3-r1.ebuild rename to app-admin/watchfolder/watchfolder-0.3.3-r2.ebuild index 1622add191e40..9a93d1579f8ad 100644 --- a/app-admin/watchfolder/watchfolder-0.3.3-r1.ebuild +++ b/app-admin/watchfolder/watchfolder-0.3.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7