summaryrefslogtreecommitdiff
path: root/security/PAM/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'security/PAM/patches/patch-ac')
-rw-r--r--security/PAM/patches/patch-ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/security/PAM/patches/patch-ac b/security/PAM/patches/patch-ac
new file mode 100644
index 00000000000..40b2111e579
--- /dev/null
+++ b/security/PAM/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/10/21 18:41:54 rh Exp $
+
+--- modules/pam_access/Makefile.orig Sat Oct 21 15:23:02 2000
++++ modules/pam_access/Makefile
+@@ -6,7 +6,7 @@
+ #
+
+ TITLE=pam_access
+-CONFD=$(CONFIGED)/security
++CONFD=$(CONFIGED)/pam
+ export CONFD
+ CONFILE=$(CONFD)/access.conf
+ export CONFILE
+@@ -17,7 +17,7 @@
+ export DYNAMIC=-DPAM_DYNAMIC
+ export CC=gcc
+ export CFLAGS=-O2 -Dlinux -DLINUX_PAM \
+- -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \
++ -ansi -Wall -Wwrite-strings \
+ -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional \
+ -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline \
+ -Wshadow -pedantic -fPIC