[61697] trunk/dports/net

jmr at macports.org jmr at macports.org
Fri Dec 18 18:46:26 PST 2009


Revision: 61697
          http://trac.macports.org/changeset/61697
Author:   jmr at macports.org
Date:     2009-12-18 18:46:23 -0800 (Fri, 18 Dec 2009)
Log Message:
-----------
squid, squid3: fix buildfix

Modified Paths:
--------------
    trunk/dports/net/squid/files/patch-pam_auth.c.diff
    trunk/dports/net/squid3/files/patch-pam_auth.c.diff

Modified: trunk/dports/net/squid/files/patch-pam_auth.c.diff
===================================================================
--- trunk/dports/net/squid/files/patch-pam_auth.c.diff	2009-12-19 01:54:26 UTC (rev 61696)
+++ trunk/dports/net/squid/files/patch-pam_auth.c.diff	2009-12-19 02:46:23 UTC (rev 61697)
@@ -1,10 +1,14 @@
 --- helpers/basic_auth/PAM/pam_auth.c.orig	2005-05-18 02:56:25.000000000 +1000
 +++ helpers/basic_auth/PAM/pam_auth.c	2009-12-19 12:19:07.000000000 +1100
-@@ -71,7 +71,11 @@
+@@ -71,7 +71,15 @@
  #include <time.h>
  #include <unistd.h>
  
-+#if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1060
++#if defined(__APPLE__)
++#include <AvailabilityMacros.h>
++#endif
++
++#if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED < 1060
 +#include <pam/pam_appl.h>
 +#else
  #include <security/pam_appl.h>

Modified: trunk/dports/net/squid3/files/patch-pam_auth.c.diff
===================================================================
--- trunk/dports/net/squid3/files/patch-pam_auth.c.diff	2009-12-19 01:54:26 UTC (rev 61696)
+++ trunk/dports/net/squid3/files/patch-pam_auth.c.diff	2009-12-19 02:46:23 UTC (rev 61697)
@@ -1,10 +1,14 @@
 --- helpers/basic_auth/PAM/pam_auth.c.orig	2009-10-29 21:05:38.000000000 +1100
 +++ helpers/basic_auth/PAM/pam_auth.c	2009-12-19 11:56:26.000000000 +1100
-@@ -73,7 +73,11 @@
+@@ -73,7 +73,15 @@
  #include <time.h>
  #include <unistd.h>
  
-+#if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1060
++#if defined(__APPLE__)
++#include <AvailabilityMacros.h>
++#endif
++
++#if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED < 1060
 +#include <pam/pam_appl.h>
 +#else
  #include <security/pam_appl.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091218/7d8b736a/attachment-0001.html>


More information about the macports-changes mailing list