summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-21 11:04:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-21 11:04:39 +0000
commit8bfe5e503d501be1a4bb2ffcea6e9ad6f8d04ef7 (patch)
tree4e153136f7ec2a13749edcb10fc719d598997721 /sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch
parentremoved masks on new gnat compiers - ready to roll.. (diff)
downloadgentoo-2-8bfe5e503d501be1a4bb2ffcea6e9ad6f8d04ef7.tar.gz
gentoo-2-8bfe5e503d501be1a4bb2ffcea6e9ad6f8d04ef7.tar.bz2
gentoo-2-8bfe5e503d501be1a4bb2ffcea6e9ad6f8d04ef7.zip
Add first try to get a newer version of Linux-PAM in the tree, version 0.99.3.0. Notable regression: no RedHat patches, thus no pam_stack.so. This might change in future revision. Not for production systems.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch')
-rw-r--r--sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch b/sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch
new file mode 100644
index 000000000000..99a391a3149b
--- /dev/null
+++ b/sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch
@@ -0,0 +1,23 @@
+Index: Linux-PAM-0.99.3.0/configure.in
+===================================================================
+--- Linux-PAM-0.99.3.0.orig/configure.in
++++ Linux-PAM-0.99.3.0/configure.in
+@@ -175,9 +175,15 @@ dnl
+ dnl options and defaults
+ dnl
+
+-AM_PATH_LIBPRELUDE([0.9.0])
+-if test "$LIBPRELUDE_CONFIG" != "no" ; then
+- LIBPRELUDE_CFLAGS="$LIBPRELUDE_CFLAGS -DPRELUDE=1"
++AC_ARG_ENABLE([prelude],
++ AS_HELP_STRING([--disable-prelude],
++ [Disable building of prelude support (default: check)]))
++
++if test "x$enable_prelude" != "xno"; then
++ AM_PATH_LIBPRELUDE([0.9.0])
++ if test "$LIBPRELUDE_CONFIG" != "no" ; then
++ LIBPRELUDE_CFLAGS="$LIBPRELUDE_CFLAGS -DPRELUDE=1"
++ fi
+ fi
+
+ dnl lots of debugging information goes to /var/run/pam-debug.log