1 |
commit: 4c94b0e2a1f279a1e19f8a393d4cf1e3d54f9a64 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 26 02:35:19 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 26 02:35:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c94b0e2 |
7 |
|
8 |
app-admin/watchfolder: fix implicit function decls |
9 |
|
10 |
Closes: https://bugs.gentoo.org/870433 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
app-admin/watchfolder/files/0.3.3-implicit-decl.patch | 14 ++++++++++++++ |
14 |
...hfolder-0.3.3-r1.ebuild => watchfolder-0.3.3-r2.ebuild} | 2 +- |
15 |
2 files changed, 15 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-admin/watchfolder/files/0.3.3-implicit-decl.patch b/app-admin/watchfolder/files/0.3.3-implicit-decl.patch |
18 |
index 1b8e72d72bf8..f2fc0b367d48 100644 |
19 |
--- a/app-admin/watchfolder/files/0.3.3-implicit-decl.patch |
20 |
+++ b/app-admin/watchfolder/files/0.3.3-implicit-decl.patch |
21 |
@@ -38,3 +38,17 @@ |
22 |
#include <sys/wait.h> |
23 |
#include <stdio.h> |
24 |
#include <stdlib.h> |
25 |
+diff --git a/watchd.c b/watchd.c |
26 |
+index 842e186..49edb64 100644 |
27 |
+--- a/watchd.c |
28 |
++++ b/watchd.c |
29 |
+@@ -52,6 +52,9 @@ Syntax : watchd |
30 |
+ #define FL_LOG_MAIL 256 |
31 |
+ #define FL_LOG_ALWAYS 512 |
32 |
+ |
33 |
++int isdir(char *name); |
34 |
++void ini_close(inifile *i); |
35 |
++ |
36 |
+ typedef struct Twatchfolder |
37 |
+ { |
38 |
+ char* runprg; |
39 |
|
40 |
diff --git a/app-admin/watchfolder/watchfolder-0.3.3-r1.ebuild b/app-admin/watchfolder/watchfolder-0.3.3-r2.ebuild |
41 |
similarity index 96% |
42 |
rename from app-admin/watchfolder/watchfolder-0.3.3-r1.ebuild |
43 |
rename to app-admin/watchfolder/watchfolder-0.3.3-r2.ebuild |
44 |
index 1622add191e4..9a93d1579f8a 100644 |
45 |
--- a/app-admin/watchfolder/watchfolder-0.3.3-r1.ebuild |
46 |
+++ b/app-admin/watchfolder/watchfolder-0.3.3-r2.ebuild |
47 |
@@ -1,4 +1,4 @@ |
48 |
-# Copyright 1999-2021 Gentoo Authors |
49 |
+# Copyright 1999-2022 Gentoo Authors |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
|
52 |
EAPI=7 |