opnsense-ports/mail/anubis/files/patch-src__headers.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

27 lines
1,014 B
C

--- ./src/headers.h.orig 2008-12-16 11:21:54.000000000 -0500
+++ ./src/headers.h 2011-02-09 20:52:34.000000000 -0500
@@ -43,11 +43,11 @@
# define HAVE_PCRE
# endif /* HAVE_PCRE_H or HAVE_PCRE_PCRE_H */
# endif /* HAVE_LIBPCRE */
-# if defined(HAVE_LIBPAM) && defined(HAVE_LIBPAM_MISC)
-# if defined(HAVE_SECURITY_PAM_APPL_H) && defined(HAVE_SECURITY_PAM_MISC_H)
+# if defined(HAVE_LIBPAM)
+# if defined(HAVE_SECURITY_PAM_APPL_H) && defined(HAVE_SECURITY_OPENPAM_H)
# define HAVE_PAM
-# endif /* HAVE_SECURITY_PAM_APPL_H and HAVE_SECURITY_PAM_MISC_H */
-# endif /* HAVE_LIBPAM and HAVE_LIBPAM_MISC */
+# endif /* HAVE_SECURITY_PAM_APPL_H and HAVE_SECURITY_OPENPAM_H */
+# endif /* HAVE_LIBPAM */
# if defined(HAVE_LIBWRAP) && defined(HAVE_TCPD_H)
# define USE_LIBWRAP
# endif /* HAVE_LIBWRAP and HAVE_TCPD_H */
@@ -111,7 +111,7 @@
#ifdef HAVE_PAM
# include <security/pam_appl.h>
-# include <security/pam_misc.h>
+# include <security/openpam.h>
#endif /* HAVE_PAM */
#if defined(WITH_GSASL)