aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/alpine.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-08 21:36:47 -0800
committerAdam Vandenberg2012-02-08 21:36:47 -0800
commit14a7aa3353274041a975472e34442b23c21ddd84 (patch)
tree6ce99e1e92cecacb5aa8fc91188f4b576b5bb5d8 /Library/Formula/alpine.rb
parent1fd7ec39e413571f0db20faa88357fb4ffcb392d (diff)
downloadhomebrew-14a7aa3353274041a975472e34442b23c21ddd84.tar.bz2
alpine: source patch from MacPorts
Diffstat (limited to 'Library/Formula/alpine.rb')
-rw-r--r--Library/Formula/alpine.rb42
1 files changed, 7 insertions, 35 deletions
diff --git a/Library/Formula/alpine.rb b/Library/Formula/alpine.rb
index 9d48abc42..fd4743e24 100644
--- a/Library/Formula/alpine.rb
+++ b/Library/Formula/alpine.rb
@@ -5,9 +5,14 @@ class Alpine < Formula
homepage 'http://www.washington.edu/alpine/'
md5 '0f4757167baf5c73aa44f2ffa4860093'
+ # Upstream builds are broken on Snow Leopard due to a hack put in
+ # for prior versions of OS X. See:
+ # http://trac.macports.org/ticket/20971
def patches
- DATA if MacOS.snow_leopard?
- end
+ { :p1 =>
+ "https://trac.macports.org/export/89747/trunk/dports/mail/alpine/files/alpine-osx-10.6.patch"
+ }
+ end if MacOS.snow_leopard?
def install
ENV.j1
@@ -17,36 +22,3 @@ class Alpine < Formula
system "make install"
end
end
-
-__END__
-diff -rc alpine-2.00/imap/Makefile alpine-2.00-10.6/imap/Makefile
-*** alpine-2.00/imap/Makefile 2008-06-04 19:43:35.000000000 +0100
---- alpine-2.00-10.6/imap/Makefile 2009-09-02 10:55:38.000000000 +0100
-***************
-*** 418,424 ****
- $(TOUCH) ip6
- $(BUILD) BUILDTYPE=osx IP=$(IP6) EXTRAAUTHENTICATORS="$(EXTRAAUTHENTICATORS) gss" \
- PASSWDTYPE=pam \
-- EXTRACFLAGS="$(EXTRACFLAGS) -DMAC_OSX_KLUDGE=1" \
- SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMDLFLAGS=-lpam"
-
- osx: osxok an
---- 418,423 ----
-diff -rc alpine-2.00/imap/src/osdep/unix/ckp_pam.c alpine-2.00-10.6/imap/src/osdep/unix/ckp_pam.c
-*** alpine-2.00/imap/src/osdep/unix/ckp_pam.c 2008-06-04 19:18:34.000000000 +0100
---- alpine-2.00-10.6/imap/src/osdep/unix/ckp_pam.c 2009-09-02 10:56:36.000000000 +0100
-***************
-*** 27,37 ****
- */
-
-
-- #ifdef MAC_OSX_KLUDGE /* why can't Apple be compatible? */
-- #include <pam/pam_appl.h>
-- #else
- #include <security/pam_appl.h>
-- #endif
-
- struct checkpw_cred {
- char *uname; /* user name */
---- 27,33 ----
-