opnsense-ports/security/sshguard/files/patch-configure.ac
Franco Fichtner d99f41fff7 */*: sync with upstream
Taken from: FreeBSD
2023-11-14 11:02:03 +01:00

11 lines
507 B
Text

--- configure.ac.orig 2023-06-28 19:03:42 UTC
+++ configure.ac
@@ -21,7 +21,7 @@ AM_PROG_LEX
AS_BOX([Headers, Types, and Compiler Checks])
AC_CHECK_HEADERS([getopt.h])
-AC_CHECK_HEADERS([capsicum_helpers.h libcasper.h], capsicum_found=candidate)
+AC_CHECK_HEADERS([casper/cap_net.h], capsicum_found=candidate)
AS_IF([test "$capsicum_found" == "candidate"],
[AC_SEARCH_LIBS([cap_init], [casper], [capsicum_found=yes])]
[AC_SEARCH_LIBS([cap_getaddrinfo], [cap_net], [capsicum_found=yes])])