summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2017-09-06 21:25:52 +0200
committerDavid Seifert <soap@gentoo.org>2017-09-16 12:13:02 +0200
commit4f7edebf8bc8d3cbd90b9dbb3a2a87162b815018 (patch)
tree70dba877debb7a8501472e09f1da5ac671f79a68 /net-p2p/airdcpp-webclient/files
parentwww-apps/airdcpp-webui: remove old (diff)
downloadgentoo-4f7edebf8bc8d3cbd90b9dbb3a2a87162b815018.tar.gz
gentoo-4f7edebf8bc8d3cbd90b9dbb3a2a87162b815018.tar.bz2
gentoo-4f7edebf8bc8d3cbd90b9dbb3a2a87162b815018.zip
net-p2p/airdcpp-webclient: remove old
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'net-p2p/airdcpp-webclient/files')
-rw-r--r--net-p2p/airdcpp-webclient/files/airdcpp-webclient-1.4.1-fix-zlib-errors.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/net-p2p/airdcpp-webclient/files/airdcpp-webclient-1.4.1-fix-zlib-errors.patch b/net-p2p/airdcpp-webclient/files/airdcpp-webclient-1.4.1-fix-zlib-errors.patch
deleted file mode 100644
index ad5a379c201a..000000000000
--- a/net-p2p/airdcpp-webclient/files/airdcpp-webclient-1.4.1-fix-zlib-errors.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/airdcpp-core/airdcpp/ZUtils.cpp b/airdcpp-core/airdcpp/ZUtils.cpp
-index 73217f71..8dbbf293 100644
---- a/airdcpp-core/airdcpp/ZUtils.cpp
-+++ b/airdcpp-core/airdcpp/ZUtils.cpp
-@@ -33,7 +33,7 @@ const double ZFilter::MIN_COMPRESSION_LEVEL = 0.9;
- ZFilter::ZFilter() : totalIn(0), totalOut(0), compressing(true) {
- memset(&zs, 0, sizeof(zs));
-
-- if(deflateInit(&zs, 3) != Z_OK) {
-+ if(deflateInit(&zs, SETTING(MAX_COMPRESSION)) != Z_OK) {
- throw Exception(STRING(COMPRESSION_ERROR));
- }
- }
-@@ -54,7 +54,8 @@ bool ZFilter::operator()(const void* in, size_t& insize, void* out, size_t& outs
- if(compressing && insize > 0 && outsize > 16 && (totalIn > (64*1024)) && ((static_cast<double>(totalOut) / totalIn) > 0.95)) {
- zs.avail_in = 0;
- zs.avail_out = outsize;
-- if(deflateParams(&zs, 0, Z_DEFAULT_STRATEGY) != Z_OK) {
-+ auto err = ::deflateParams(&zs, 0, Z_DEFAULT_STRATEGY);
-+ if (err == Z_STREAM_ERROR) {
- throw Exception(STRING(COMPRESSION_ERROR));
- }
- zs.avail_in = insize;