Diff
Modified: trunk/dports/security/policykit/files/patch-src-polkit-dbus-polkit-resolve-exe-helper.c.diff (53173 => 53174)
--- trunk/dports/security/policykit/files/patch-src-polkit-dbus-polkit-resolve-exe-helper.c.diff 2009-06-30 19:28:36 UTC (rev 53173)
+++ trunk/dports/security/policykit/files/patch-src-polkit-dbus-polkit-resolve-exe-helper.c.diff 2009-06-30 19:49:45 UTC (rev 53174)
@@ -4,7 +4,7 @@
#ifdef HAVE_FREEBSD
#include <sys/param.h>
#endif
-+#ifdef __APPLE__
++#if defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060
+#include <pam/pam_appl.h>
+#else
#include <security/pam_appl.h>
Modified: trunk/dports/security/policykit/files/patch-src-polkit-grant-polkit-grant-helper-pam.c.diff (53173 => 53174)
--- trunk/dports/security/policykit/files/patch-src-polkit-grant-polkit-grant-helper-pam.c.diff 2009-06-30 19:28:36 UTC (rev 53173)
+++ trunk/dports/security/policykit/files/patch-src-polkit-grant-polkit-grant-helper-pam.c.diff 2009-06-30 19:49:45 UTC (rev 53174)
@@ -4,7 +4,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <syslog.h>
-+#ifdef __APPLE__
++#if defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060
+#include <pam/pam_appl.h>
+#else
#include <security/pam_appl.h>
Modified: trunk/dports/security/policykit/files/patch-src-polkit-grant-polkit-grant-helper.c.diff (53173 => 53174)
--- trunk/dports/security/policykit/files/patch-src-polkit-grant-polkit-grant-helper.c.diff 2009-06-30 19:28:36 UTC (rev 53173)
+++ trunk/dports/security/policykit/files/patch-src-polkit-grant-polkit-grant-helper.c.diff 2009-06-30 19:49:45 UTC (rev 53174)
@@ -4,7 +4,7 @@
#include <sys/stat.h>
#ifdef POLKIT_AUTHFW_PAM
-+#ifdef __APPLE__
++#if defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060
+#include <pam/pam_appl.h>
+#else
#include <security/pam_appl.h>