aboutsummaryrefslogtreecommitdiffstats
path: root/main/snappy/fix-GetHashTable.patch
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2018-06-23 21:10:00 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-22 14:28:46 +0200
commit5220530cc587c8cebc12e88b8013dddba10bca81 (patch)
tree2775cdcb4cf59b9b976ce062d570be3db0af3e4f /main/snappy/fix-GetHashTable.patch
parent154a02a72aef756304d0b7ac575a06a08913cd73 (diff)
downloadaports-5220530cc587c8cebc12e88b8013dddba10bca81.tar.bz2
aports-5220530cc587c8cebc12e88b8013dddba10bca81.tar.xz
main/snappy: upgrade to 1.1.7 and rebuild dependent packages
Diffstat (limited to 'main/snappy/fix-GetHashTable.patch')
-rw-r--r--main/snappy/fix-GetHashTable.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/main/snappy/fix-GetHashTable.patch b/main/snappy/fix-GetHashTable.patch
deleted file mode 100644
index 0fdf88e472..0000000000
--- a/main/snappy/fix-GetHashTable.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Fix for armhf.
-
-See: https://groups.google.com/d/msg/snappy-compression/uhELq553TrI/J34d3D8_BwAJ
- https://bugs.alpinelinux.org/issues/8921
-
---- a/snappy.cc
-+++ b/snappy.cc
-@@ -323,7 +323,7 @@
- *table_size = 256;
- } else {
- // Since table size must be a power of 2, round up to the next power of 2.
-- *table_size = 1 << (std::numeric_limits<size_t>::digits -
-+ *table_size = 1 << std::max(1, std::numeric_limits<size_t>::digits -
- __builtin_clzll(input_size - 1));
- }
- if (*table_size <= ARRAYSIZE(small_table_)) {