Bring compat functions decls in scope and fix build with clang 15

This commit is contained in:
jca 2023-01-10 17:55:31 +00:00
parent 3eb3ec3955
commit a88895410f
2 changed files with 14 additions and 0 deletions

View File

@ -1,6 +1,7 @@
COMMENT= utilities for jailing a user or process
DISTNAME= jailkit-2.19
REVISION= 0
CATEGORIES= security sysutils
HOMEPAGE= http://olivier.sessink.nl/jailkit/

View File

@ -0,0 +1,13 @@
Proper include to access local compat functions.
Index: src/jk_procmailwrapper.c
--- src/jk_procmailwrapper.c.orig
+++ src/jk_procmailwrapper.c
@@ -49,6 +49,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <errno.h>
#include <grp.h>
+#include "utils.h"
#include "jk_lib.h"
#define PROGRAMNAME "jk_procmailwrapper"