pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/snappy



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Feb 26 08:41:17 UTC 2017

Modified Files:
        pkgsrc/devel/snappy: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/snappy/patches: patch-snappy__unittest.cc
Removed Files:
        pkgsrc/devel/snappy/patches: patch-aa

Log Message:
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%.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/snappy/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/snappy/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/snappy/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/snappy/patches/patch-aa
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/snappy/patches/patch-snappy__unittest.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/snappy/Makefile
diff -u pkgsrc/devel/snappy/Makefile:1.6 pkgsrc/devel/snappy/Makefile:1.7
--- pkgsrc/devel/snappy/Makefile:1.6    Mon Sep 19 09:30:36 2016
+++ pkgsrc/devel/snappy/Makefile        Sun Feb 26 08:41:17 2017
@@ -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/}
 

Index: pkgsrc/devel/snappy/PLIST
diff -u pkgsrc/devel/snappy/PLIST:1.2 pkgsrc/devel/snappy/PLIST:1.3
--- pkgsrc/devel/snappy/PLIST:1.2       Wed Mar 14 18:15:27 2012
+++ pkgsrc/devel/snappy/PLIST   Sun Feb 26 08:41:17 2017
@@ -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

Index: pkgsrc/devel/snappy/distinfo
diff -u pkgsrc/devel/snappy/distinfo:1.5 pkgsrc/devel/snappy/distinfo:1.6
--- pkgsrc/devel/snappy/distinfo:1.5    Mon Sep 19 09:30:36 2016
+++ pkgsrc/devel/snappy/distinfo        Sun Feb 26 08:41:17 2017
@@ -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

Added files:

Index: pkgsrc/devel/snappy/patches/patch-snappy__unittest.cc
diff -u /dev/null pkgsrc/devel/snappy/patches/patch-snappy__unittest.cc:1.1
--- /dev/null   Sun Feb 26 08:41:17 2017
+++ pkgsrc/devel/snappy/patches/patch-snappy__unittest.cc       Sun Feb 26 08:41:17 2017
@@ -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