freebsd-ports/mail/anubis/files/patch-src_headers.h
Jason E. Hale 94c39798c4 Add TEST option to toggle regression tests. They were previously running
by default and causing aarch64 builds to fail, presumably due to an emulation
issue. [1]

Add EMACS option to install emacs lisp files. Previously, if emacs was
already installed on the system, it would install these files in STAGEDIR
and would cause check-plist to error.

Convert USE_MYSQL to USES=mysql
Convert CPPFLAGS/LDFLAGS to USES=localbase
Add some missing dependencies reported by stage-qa
Remake patches
Bump PORTREVISION

Reported by:	linimon (via private mail) [1]
2016-11-09 15:28:55 +00:00

27 lines
962 B
C

--- src/headers.h.orig 2014-05-22 05:42:44 UTC
+++ src/headers.h
@@ -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)