git: 4452c178c27a - main - archivers/vbz-compression: Update to 1.0.2

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Fri, 29 Apr 2022 12:41:51 UTC
The branch main has been updated by jwb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4452c178c27afb3e0116dd4a5bbb62b8ac20b5bc

commit 4452c178c27afb3e0116dd4a5bbb62b8ac20b5bc
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2022-04-29 12:41:01 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2022-04-29 12:41:01 +0000

    archivers/vbz-compression: Update to 1.0.2
    
    Upstream support for Apple silicon and static libs
    
    Reported by:    portscout
---
 archivers/vbz-compression/Makefile                       | 3 +--
 archivers/vbz-compression/distinfo                       | 6 +++---
 archivers/vbz-compression/files/patch-vbz_CMakeLists.txt | 8 ++++----
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/archivers/vbz-compression/Makefile b/archivers/vbz-compression/Makefile
index db7a778e88ba..22103bd71678 100644
--- a/archivers/vbz-compression/Makefile
+++ b/archivers/vbz-compression/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	vbz-compression
-DISTVERSIONPREFIX=	v
-DISTVERSION=	1.0.1
+DISTVERSION=	1.0.2
 CATEGORIES=	archivers
 
 MAINTAINER=	jwb@FreeBSD.org
diff --git a/archivers/vbz-compression/distinfo b/archivers/vbz-compression/distinfo
index 38af63eba95a..83ab921d3c1c 100644
--- a/archivers/vbz-compression/distinfo
+++ b/archivers/vbz-compression/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1628777147
-SHA256 (nanoporetech-vbz_compression-v1.0.1_GH0.tar.gz) = 3c140fb4f60f8451db68768457c59b10aadba4c33f1b1a1eadb4439345b68192
-SIZE (nanoporetech-vbz_compression-v1.0.1_GH0.tar.gz) = 5292519
+TIMESTAMP = 1651234735
+SHA256 (nanoporetech-vbz_compression-1.0.2_GH0.tar.gz) = f803929c79dbf04c041768bf9d3c351e79eb13b8b8f01c63258f8a514d6aad5d
+SIZE (nanoporetech-vbz_compression-1.0.2_GH0.tar.gz) = 5339733
diff --git a/archivers/vbz-compression/files/patch-vbz_CMakeLists.txt b/archivers/vbz-compression/files/patch-vbz_CMakeLists.txt
index fe9d4131a9f9..f52461b2119c 100644
--- a/archivers/vbz-compression/files/patch-vbz_CMakeLists.txt
+++ b/archivers/vbz-compression/files/patch-vbz_CMakeLists.txt
@@ -1,4 +1,4 @@
---- vbz/CMakeLists.txt.orig	2020-06-19 15:45:38 UTC
+--- vbz/CMakeLists.txt.orig	2022-04-29 12:18:23 UTC
 +++ vbz/CMakeLists.txt
 @@ -25,12 +25,6 @@ target_include_directories(vbz
          ${STREAMVBYTE_INSTALL_DIR}/include
@@ -10,6 +10,6 @@
 -    streamvbyte
 -)
 -
- if (WIN32 OR APPLE OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
-     if(NOT MSVC)
-         target_compile_options(vbz PRIVATE -mssse3)
+ if (WIN32 OR 
+     (APPLE AND NOT "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm64") OR
+     "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")