From 36f3ac84349cdc8910c7eefca09e24a1ead5fa03 Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 1 Jun 2008 08:09:38 +0000 Subject: Try to fix build failure on Solaris, it does not have LOG_AUTHPRIV. --- security/pam-af/distinfo | 3 ++- security/pam-af/patches/patch-ab | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 security/pam-af/patches/patch-ab (limited to 'security/pam-af') diff --git a/security/pam-af/distinfo b/security/pam-af/distinfo index dfc6a850f56..05ab7c75767 100644 --- a/security/pam-af/distinfo +++ b/security/pam-af/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/01/08 05:49:01 obache Exp $ +$NetBSD: distinfo,v 1.2 2008/06/01 08:09:38 obache Exp $ SHA1 (pam_af-1.0.1.tar.bz2) = f953e50791db0d13f124ce0346f1db43b9d0bafa RMD160 (pam_af-1.0.1.tar.bz2) = 6fd33ef36b810eac58a59cd6ae0eb918548205e3 Size (pam_af-1.0.1.tar.bz2) = 18006 bytes SHA1 (patch-aa) = 57b60fc8b7860c476451d33112aa67ac756ede5a +SHA1 (patch-ab) = 160c9a9a43506389abaccd7d5aa6c16f96511a46 diff --git a/security/pam-af/patches/patch-ab b/security/pam-af/patches/patch-ab new file mode 100644 index 00000000000..148385d1e8b --- /dev/null +++ b/security/pam-af/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1 2008/06/01 08:09:38 obache Exp $ + +--- pam_af.c.orig 2006-11-07 00:05:53.000000000 +0000 ++++ pam_af.c +@@ -41,6 +41,9 @@ + #include + #include + #include ++#ifndef LOG_AUTHPRIV ++#define LOG_AUTHPRIV LOG_AUTH ++#endif + #include + #include + -- cgit v1.2.3