pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/snappy Changes 1.1.4:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54d9b4565ce7
branches:  trunk
changeset: 359055:54d9b4565ce7
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Feb 26 08:41:17 2017 +0000

description:
Changes 1.1.4:
Fix a 1% performance regression when snappy is used in PIE executables.
Improve compression performance by 5%.
Improve decompression performance by 20%.

diffstat:

 devel/snappy/Makefile                          |   4 ++--
 devel/snappy/PLIST                             |   3 ++-
 devel/snappy/distinfo                          |  12 ++++++------
 devel/snappy/patches/patch-aa                  |  26 --------------------------
 devel/snappy/patches/patch-snappy__unittest.cc |  26 ++++++++++++++++++++++++++
 5 files changed, 36 insertions(+), 35 deletions(-)

diffs (104 lines):

diff -r 10afcb09e3bf -r 54d9b4565ce7 devel/snappy/Makefile
--- a/devel/snappy/Makefile     Sun Feb 26 08:37:46 2017 +0000
+++ b/devel/snappy/Makefile     Sun Feb 26 08:41:17 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2016/09/19 09:30:36 fhajny Exp $
+# $NetBSD: Makefile,v 1.7 2017/02/26 08:41:17 adam Exp $
 
-DISTNAME=      snappy-1.1.3
+DISTNAME=      snappy-1.1.4
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
 
diff -r 10afcb09e3bf -r 54d9b4565ce7 devel/snappy/PLIST
--- a/devel/snappy/PLIST        Sun Feb 26 08:37:46 2017 +0000
+++ b/devel/snappy/PLIST        Sun Feb 26 08:41:17 2017 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2012/03/14 18:15:27 abs Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/02/26 08:41:17 adam Exp $
 include/snappy-c.h
 include/snappy-sinksource.h
 include/snappy-stubs-public.h
 include/snappy.h
 lib/libsnappy.la
+lib/pkgconfig/snappy.pc
 share/doc/snappy/COPYING
 share/doc/snappy/ChangeLog
 share/doc/snappy/INSTALL
diff -r 10afcb09e3bf -r 54d9b4565ce7 devel/snappy/distinfo
--- a/devel/snappy/distinfo     Sun Feb 26 08:37:46 2017 +0000
+++ b/devel/snappy/distinfo     Sun Feb 26 08:41:17 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2016/09/19 09:30:36 fhajny Exp $
+$NetBSD: distinfo,v 1.6 2017/02/26 08:41:17 adam Exp $
 
-SHA1 (snappy-1.1.3.tar.gz) = 63f7a3d2c865a6a39aca9bc5d3412a8b2d607bb4
-RMD160 (snappy-1.1.3.tar.gz) = a075be8b9e69f9c6ce30b12e44503abf7bca231f
-SHA512 (snappy-1.1.3.tar.gz) = 4c4f47c657a072989179be9df0e5e98d14f4a67c27ec7ae0e5a15d14289a75d4e266bc6c5c89723f3e9860408ffcc7138a815f8ad9299407c4a1946fc00ab5bf
-Size (snappy-1.1.3.tar.gz) = 1509026 bytes
-SHA1 (patch-aa) = eeed92f6abad5e5aefdb6917abc212ba86f461a4
+SHA1 (snappy-1.1.4.tar.gz) = 0fac144661573c747ad612c01d03a89e0a2280c7
+RMD160 (snappy-1.1.4.tar.gz) = 58fe5003fdbf3f731d6414ea90550fd64cae40e3
+SHA512 (snappy-1.1.4.tar.gz) = 4f522f1d541e3f00d82ccaf6dda5c6ede28d4db19c53717003d8057261fe8630516ed6ff2a28615da032e0de9c6200b560ed5fce4f8714df9916d50d6a7c2178
+Size (snappy-1.1.4.tar.gz) = 1491767 bytes
+SHA1 (patch-snappy__unittest.cc) = b761c7ea6490896ea5aabb425c5a18309e1d7e90
diff -r 10afcb09e3bf -r 54d9b4565ce7 devel/snappy/patches/patch-aa
--- a/devel/snappy/patches/patch-aa     Sun Feb 26 08:37:46 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2012/03/14 18:15:27 abs Exp $
-
-Depending on the definition of LZF_STATE_ARG, lzf can grow an extra arg.
-Accommodate.
-
---- snappy_unittest.cc.orig    2012-02-24 15:46:14.000000000 +0000
-+++ snappy_unittest.cc
-@@ -216,10 +216,17 @@ static bool Compress(const char* input, 
- 
- #ifdef LZF_VERSION
-     case LIBLZF: {
-+#  ifdef LZF_STATE_ARG
-+      LZF_STATE htab;
-+#  endif
-       int destlen = lzf_compress(input,
-                                  input_size,
-                                  string_as_array(compressed),
--                                 input_size);
-+                                 input_size
-+#  ifdef LZF_STATE_ARG
-+                               , htab
-+#  endif
-+                               );
-       if (destlen == 0) {
-         // lzf *can* cause lots of blowup when compressing, so they
-         // recommend to limit outsize to insize, and just not compress
diff -r 10afcb09e3bf -r 54d9b4565ce7 devel/snappy/patches/patch-snappy__unittest.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/snappy/patches/patch-snappy__unittest.cc    Sun Feb 26 08:41:17 2017 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-snappy__unittest.cc,v 1.1 2017/02/26 08:41:17 adam Exp $
+
+Depending on the definition of LZF_STATE_ARG, lzf can grow an extra arg.
+Accommodate.
+
+--- snappy_unittest.cc.orig    1980-01-01 08:00:00.000000000 +0000
++++ snappy_unittest.cc
+@@ -219,10 +219,17 @@ static bool Compress(const char* input, 
+ 
+ #ifdef LZF_VERSION
+     case LIBLZF: {
++#  ifdef LZF_STATE_ARG
++      LZF_STATE htab;
++#  endif
+       int destlen = lzf_compress(input,
+                                  input_size,
+                                  string_as_array(compressed),
+-                                 input_size);
++                                 input_size
++#  ifdef LZF_STATE_ARG
++                               , htab
++#  endif
++                               );
+       if (destlen == 0) {
+         // lzf *can* cause lots of blowup when compressing, so they
+         // recommend to limit outsize to insize, and just not compress



Home | Main Index | Thread Index | Old Index