summaryrefslogtreecommitdiff
path: root/security/pam-af
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-06-01 08:09:38 +0000
committerobache <obache@pkgsrc.org>2008-06-01 08:09:38 +0000
commit604ecba71a0d51dede4d834bdc79f10b75b6929b (patch)
treeed2346295c05b1f3e7e77657abf1763eab1883f9 /security/pam-af
parent8962094851a63e6edcad176499b56d7446fe93c3 (diff)
downloadpkgsrc-604ecba71a0d51dede4d834bdc79f10b75b6929b.tar.gz
Try to fix build failure on Solaris, it does not have LOG_AUTHPRIV.
Diffstat (limited to 'security/pam-af')
-rw-r--r--security/pam-af/distinfo3
-rw-r--r--security/pam-af/patches/patch-ab14
2 files changed, 16 insertions, 1 deletions
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 <fcntl.h>
+ #include <time.h>
+ #include <syslog.h>
++#ifndef LOG_AUTHPRIV
++#define LOG_AUTHPRIV LOG_AUTH
++#endif
+ #include <assert.h>
+ #include <ndbm.h>
+