imap-uw: remove Leopard patch

This commit is contained in:
FX Coudert 2017-05-06 10:48:14 +02:00 committed by ilovezfs
parent 982c616b7b
commit 2f81d0ce2f

View file

@ -25,7 +25,7 @@ class ImapUw < Formula
"SSLINCLUDE=#{Formula["openssl"].opt_include}/openssl"
s.gsub! "SSLLIB=/usr/lib",
"SSLLIB=#{Formula["openssl"].opt_lib}"
s.gsub! "-DMAC_OSX_KLUDGE=1", "" if MacOS.version >= :snow_leopard
s.gsub! "-DMAC_OSX_KLUDGE=1", ""
end
inreplace "src/osdep/unix/ssl_unix.c", "#include <x509v3.h>\n#include <ssl.h>",
"#include <ssl.h>\n#include <x509v3.h>"