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:           Wed Mar 15 13:29:58 UTC 2023

Modified Files:
        pkgsrc/devel/snappy: Makefile distinfo
Added Files:
        pkgsrc/devel/snappy/patches: patch-CMakeLists.txt
Removed Files:
        pkgsrc/devel/snappy/patches: patch-snappy.cc

Log Message:
snappy: updated to 1.1.10

Snappy 1.1.10
Performance improvements
Compilation fixes for various environments


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/snappy/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/snappy/distinfo
cvs rdiff -u -r0 -r1.6 pkgsrc/devel/snappy/patches/patch-CMakeLists.txt
cvs rdiff -u -r1.3 -r0 pkgsrc/devel/snappy/patches/patch-snappy.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.17 pkgsrc/devel/snappy/Makefile:1.18
--- pkgsrc/devel/snappy/Makefile:1.17   Tue Jan 24 18:36:24 2023
+++ pkgsrc/devel/snappy/Makefile        Wed Mar 15 13:29:58 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2023/01/24 18:36:24 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2023/03/15 13:29:58 adam Exp $
 
-DISTNAME=      snappy-1.1.9
+DISTNAME=      snappy-1.1.10
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
 GITHUB_TAG=    ${PKGVERSION_NOREV}
@@ -10,13 +10,13 @@ HOMEPAGE=   https://google.github.io/snapp
 COMMENT=       General purpose data compression library
 LICENSE=       apache-2.0
 
-USE_LANGUAGES=         c c++
+USE_LANGUAGES= c c++
 
-CMAKE_ARGS+=           -DSNAPPY_BUILD_TESTS:BOOL=OFF
-CMAKE_ARGS+=           -DSNAPPY_BUILD_BENCHMARKS:BOOL=OFF
-CMAKE_ARGS+=           -DBUILD_SHARED_LIBS=ON
+CMAKE_ARGS+=   -DSNAPPY_BUILD_TESTS=OFF
+CMAKE_ARGS+=   -DSNAPPY_BUILD_BENCHMARKS=OFF
+CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
 
-.include "../../devel/cmake/build.mk"
 .include "../../archivers/lzo/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/snappy/distinfo
diff -u pkgsrc/devel/snappy/distinfo:1.14 pkgsrc/devel/snappy/distinfo:1.15
--- pkgsrc/devel/snappy/distinfo:1.14   Tue Oct 26 10:19:56 2021
+++ pkgsrc/devel/snappy/distinfo        Wed Mar 15 13:29:58 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 10:19:56 nia Exp $
+$NetBSD: distinfo,v 1.15 2023/03/15 13:29:58 adam Exp $
 
-BLAKE2s (snappy-1.1.9.tar.gz) = 2914838b75cb14f972caaaa3cf3344e7b6424ba4bae531ed36319bd8c98aa7a6
-SHA512 (snappy-1.1.9.tar.gz) = f1f8a90f5f7f23310423574b1d8c9acb84c66ea620f3999d1060395205e5760883476837aba02f0aa913af60819e34c625d8308c18a5d7a9c4e190f35968b024
-Size (snappy-1.1.9.tar.gz) = 1102382 bytes
-SHA1 (patch-snappy.cc) = fd4860a363193dce2af697ee7a87740a74c21e05
+BLAKE2s (snappy-1.1.10.tar.gz) = 84a128717b35d7fcd8ce52e03d2efcd71d5928fc19ac5bf0ed3ee99656413541
+SHA512 (snappy-1.1.10.tar.gz) = 3578597f1d4ec09104ce0296b825b013590351230dfe56c635081fd282ce7a13a34caf2c283ac77bd24065e2d27af6db068d1f84b98cec2fd39a0e37a0d77070
+Size (snappy-1.1.10.tar.gz) = 1105312 bytes
+SHA1 (patch-CMakeLists.txt) = ecc43cc15cd58ef8bc7f2fe9ce87322474ee4741

Added files:

Index: pkgsrc/devel/snappy/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/devel/snappy/patches/patch-CMakeLists.txt:1.6
--- /dev/null   Wed Mar 15 13:29:58 2023
+++ pkgsrc/devel/snappy/patches/patch-CMakeLists.txt    Wed Mar 15 13:29:58 2023
@@ -0,0 +1,19 @@
+$NetBSD: patch-CMakeLists.txt,v 1.6 2023/03/15 13:29:58 adam Exp $
+
+Avoid -Werror.
+
+--- CMakeLists.txt.orig        2023-03-15 13:20:25.399932889 +0000
++++ CMakeLists.txt
+@@ -66,12 +66,6 @@ else(CMAKE_CXX_COMPILER_ID STREQUAL "MSV
+     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra")
+   endif(NOT CMAKE_CXX_FLAGS MATCHES "-Wextra")
+ 
+-  # Use -Werror for clang only.
+-  if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+-    if(NOT CMAKE_CXX_FLAGS MATCHES "-Werror")
+-      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
+-    endif(NOT CMAKE_CXX_FLAGS MATCHES "-Werror")
+-  endif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+ 
+   # Disable C++ exceptions.
+   string(REGEX REPLACE "-fexceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")



Home | Main Index | Thread Index | Old Index