Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/mail/anubis/files/patch-src_headers.h
16462 views
1
--- src/headers.h.orig 2014-05-22 05:42:44 UTC
2
+++ src/headers.h
3
@@ -43,11 +43,11 @@
4
# define HAVE_PCRE
5
# endif /* HAVE_PCRE_H or HAVE_PCRE_PCRE_H */
6
# endif /* HAVE_LIBPCRE */
7
-# if defined(HAVE_LIBPAM) && defined(HAVE_LIBPAM_MISC)
8
-# if defined(HAVE_SECURITY_PAM_APPL_H) && defined(HAVE_SECURITY_PAM_MISC_H)
9
+# if defined(HAVE_LIBPAM)
10
+# if defined(HAVE_SECURITY_PAM_APPL_H) && defined(HAVE_SECURITY_OPENPAM_H)
11
# define HAVE_PAM
12
-# endif /* HAVE_SECURITY_PAM_APPL_H and HAVE_SECURITY_PAM_MISC_H */
13
-# endif /* HAVE_LIBPAM and HAVE_LIBPAM_MISC */
14
+# endif /* HAVE_SECURITY_PAM_APPL_H and HAVE_SECURITY_OPENPAM_H */
15
+# endif /* HAVE_LIBPAM */
16
# if defined(HAVE_LIBWRAP) && defined(HAVE_TCPD_H)
17
# define USE_LIBWRAP
18
# endif /* HAVE_LIBWRAP and HAVE_TCPD_H */
19
@@ -111,7 +111,7 @@
20
21
#ifdef HAVE_PAM
22
# include <security/pam_appl.h>
23
-# include <security/pam_misc.h>
24
+# include <security/openpam.h>
25
#endif /* HAVE_PAM */
26
27
#if defined(WITH_GSASL)
28
29