File gnome-keyring-fix-pam-module-build.patch of Package gnome-keyring
Index: gnome-keyring-2.31.91/configure
===================================================================
--- gnome-keyring-2.31.91.orig/configure
+++ gnome-keyring-2.31.91/configure
@@ -14762,7 +14762,7 @@ fi
pam_status="no"
if test "$enable_pam" != "no"; then
- for ac_header in security/pam_modules.h pam/pam_modules.h
+ for ac_header in security/pam_modules.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
Index: gnome-keyring-2.31.91/configure.in
===================================================================
--- gnome-keyring-2.31.91.orig/configure.in
+++ gnome-keyring-2.31.91/configure.in
@@ -251,7 +251,7 @@ AC_ARG_ENABLE(pam,
pam_status="no"
if test "$enable_pam" != "no"; then
- AC_CHECK_HEADERS(security/pam_modules.h pam/pam_modules.h, have_pam=yes, have_pam=no)
+ AC_CHECK_HEADERS(security/pam_modules.h, have_pam=yes, have_pam=no)
if test "$enable_pam" = "yes" -a "$have_pam" = "no"; then
AC_MSG_ERROR(The PAM headers are missing)
elif test "$have_pam" = "yes"; then