commit: 4c94b0e2a1f279a1e19f8a393d4cf1e3d54f9a64 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Sep 26 02:35:19 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Sep 26 02:35:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c94b0e2
app-admin/watchfolder: fix implicit function decls Closes: https://bugs.gentoo.org/870433 Signed-off-by: Sam James <sam <AT> gentoo.org> app-admin/watchfolder/files/0.3.3-implicit-decl.patch | 14 ++++++++++++++ ...hfolder-0.3.3-r1.ebuild => watchfolder-0.3.3-r2.ebuild} | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) 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 1b8e72d72bf8..f2fc0b367d48 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 <sys/wait.h> #include <stdio.h> #include <stdlib.h> +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 1622add191e4..9a93d1579f8a 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
