7194N/AOn Solaris, pam_appl.h must be included to use pam_modules.h.
7194N/AAdditionally, for platforms that have the pam header files in a different
7194N/Alocation, the include paths need to be based on the result of configure.
7194N/A
7194N/ANeed to file upstream bug
7194N/A
7194N/A--- gnome-keyring-3.16.0/configure.ac 2015-04-08 05:09:11.000000000 -0700
7194N/A+++ gnome-keyring-3.16.0/configure.ac 2015-07-06 13:41:06.760980131 -0700
7194N/A@@ -254,7 +254,15 @@
7194N/A
7194N/A pam_status="no"
7194N/A if test "$enable_pam" != "no"; then
7194N/A- AC_CHECK_HEADERS(security/pam_modules.h pam/pam_modules.h, [have_pam=yes; break], have_pam=no)
7194N/A+ AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)
7194N/A+ AC_CHECK_HEADERS(security/pam_modules.h pam/pam_modules.h, [have_pam=yes; break], have_pam=no,
7194N/A+[#ifdef HAVE_SECURITY_PAM_APPL_H
7194N/A+#include <security/pam_appl.h>
7194N/A+#endif
7194N/A+#ifdef HAVE_PAM_PAM_APPL_H
7194N/A+#include <pam/pam_appl.h>
7194N/A+#endif
7194N/A+])
7194N/A if test "$enable_pam" = "yes" -a "$have_pam" = "no"; then
7194N/A AC_MSG_ERROR(The PAM headers are missing)
7194N/A elif test "$have_pam" = "yes"; then
7194N/A--- gnome-keyring-3.16.0/pam/gkr-pam-module.c 2014-09-23 00:45:13.000000000 -0700
7194N/A+++ gnome-keyring-3.16.0/pam/gkr-pam-module.c 2015-07-06 13:46:40.611562409 -0700
7194N/A@@ -32,8 +32,13 @@
7194N/A
7194N/A #include "daemon/control/gkd-control-codes.h"
7194N/A
7194N/A+#ifdef HAVE_PAM_PAM_APPL_H
7194N/A+#include <pam/pam_appl.h>
7194N/A+#include <pam/pam_modules.h>
7194N/A+#else
7194N/A #include <security/pam_appl.h>
7194N/A #include <security/pam_modules.h>
7194N/A+#endif
7194N/A
7194N/A #include <sys/types.h>
7194N/A #include <sys/stat.h>
7194N/A--- gnome-keyring-3.16.0/pam/mock-pam.c 2014-09-23 00:45:13.000000000 -0700
7194N/A+++ gnome-keyring-3.16.0/pam/mock-pam.c 2015-07-06 13:46:19.879319092 -0700
7194N/A@@ -20,8 +20,13 @@
7194N/A
7194N/A #include "config.h"
7194N/A
7194N/A+#ifdef HAVE_PAM_PAM_APPL_H
7194N/A+#include <pam/pam_appl.h>
7194N/A+#include <pam/pam_modules.h>
7194N/A+#else
7194N/A #include <security/pam_appl.h>
7194N/A #include <security/pam_modules.h>
7194N/A+#endif
7194N/A
7194N/A #include <stdlib.h>
7194N/A #include <string.h>
7194N/A--- gnome-keyring-3.16.0/pam/test-pam.c 2014-10-14 08:55:45.000000000 -0700
7194N/A+++ gnome-keyring-3.16.0/pam/test-pam.c 2015-07-06 13:46:16.817220995 -0700
7194N/A@@ -26,7 +26,11 @@
7194N/A #include "egg/egg-testing.h"
7194N/A #include "egg/egg-secure-memory.h"
7194N/A
7194N/A+#ifdef HAVE_PAM_PAM_APPL_H
7194N/A+#include <pam/pam_appl.h>
7194N/A+#else
7194N/A #include <security/pam_appl.h>
7194N/A+#endif
7194N/A
7194N/A #include <glib.h>
7194N/A #include <glib/gstdio.h>