ports/security/sssd/files/patch-src__util__util.h
Fernando Apesteguía a4a3b5185b security/sssd: fix package with SMB=on
When the option SMB is ON, the port fails to package.

While here:

 * Reorder Makefile variables
 * Change obsolete @unexec to @postexec
 * Rework patches to comply with makepatch format

PR:	244778
Submitted by:	tommyhp2@gmail.com
Approved by:	lukas.slebodnik@intrak.sk (maintainer, timeout)
2020-03-29 18:16:30 +00:00

18 lines
669 B
C

--- src/util/util.h.orig 2014-09-17 13:01:37 UTC
+++ src/util/util.h
@@ -227,8 +227,6 @@ void sig_term(int sig);
#include <signal.h>
void BlockSignals(bool block, int signum);
void (*CatchSignal(int signum,void (*handler)(int )))(int);
-void CatchChild(void);
-void CatchChildLeaveStatus(void);
/* from memory.c */
typedef int (void_destructor_fn_t)(void *);
@@ -542,5 +540,6 @@ char * sss_replace_space(TALLOC_CTX *mem_ctx,
char * sss_reverse_replace_space(TALLOC_CTX *mem_ctx,
const char *orig_name,
const char replace_char);
+#include "util/sss_bsd_errno.h"
#endif /* __SSSD_UTIL_H__ */