lftp 4.4.9

Remove patch for Snow Leopard zlib; it was integrated upstream

Closes Homebrew/homebrew#22114.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Christopher Eby 2013-08-24 16:35:39 -05:00 committed by Adam Vandenberg
parent d8c99c46aa
commit cc303984d8

View file

@ -2,9 +2,9 @@ require 'formula'
class Lftp < Formula
homepage 'http://lftp.yar.ru/'
url 'http://ftp.yar.ru/pub/source/lftp/lftp-4.4.8.tar.bz2'
mirror 'ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/lftp-4.4.8.tar.bz2'
sha1 'c825849d90b8132ed43ea5b73fdbb6a63f3e44de'
url 'http://lftp.yar.ru/ftp/lftp-4.4.9.tar.bz2'
mirror 'ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/lftp-4.4.9.tar.bz2'
sha1 'f7035e0c558222654511f17db3213262bc4b53fd'
# https://github.com/mxcl/homebrew/issues/18749
env :std
@ -13,13 +13,6 @@ class Lftp < Formula
depends_on 'readline'
depends_on 'gnutls'
# Hotfix for compiling on Snow Leopard; check if still needed in next release
# https://github.com/mxcl/homebrew/pull/20435
# http://comments.gmane.org/gmane.network.lftp.user/2253
def patches
DATA
end
def install
# Bus error
# TODO what are the more specific circumstances?
@ -30,16 +23,3 @@ class Lftp < Formula
system "make install"
end
end
__END__
diff --git a/src/buffer_zlib.cc b/src/buffer_zlib.cc
index 2ceaee9..ef79e6f 100644
--- a/src/buffer_zlib.cc
+++ b/src/buffer_zlib.cc
@@ -87,5 +87,5 @@ DataInflator::~DataInflator()
}
void DataInflator::ResetTranslation()
{
- z_err = inflateReset2(&z, 16+MAX_WBITS);
+ z_err = inflateReset(&z);
}