git: 3d5c9e551653 - main - devel/highway: switch to upstream build fix

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 29 Aug 2022 20:18:56 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3d5c9e55165378b7554b5d4c920a2a64bcb86b72

commit 3d5c9e55165378b7554b5d4c920a2a64bcb86b72
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-08-29 19:44:52 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-08-29 20:17:54 +0000

    devel/highway: switch to upstream build fix
---
 devel/highway/Makefile                   |  3 +++
 devel/highway/distinfo                   |  2 ++
 devel/highway/files/patch-CMakeLists.txt | 13 -------------
 3 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/devel/highway/Makefile b/devel/highway/Makefile
index 1f3ddb68e0e6..2e36d0b3e0a2 100644
--- a/devel/highway/Makefile
+++ b/devel/highway/Makefile
@@ -2,6 +2,9 @@ PORTNAME=	highway
 DISTVERSION=	1.0.1
 CATEGORIES=	devel
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	6a822e2a9ae3.patch:-p1 # https://github.com/google/highway/issues/946
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Performance-portable, length-agnostic SIMD with runtime dispatch
 
diff --git a/devel/highway/distinfo b/devel/highway/distinfo
index 0056f169583b..28bfcfd4c118 100644
--- a/devel/highway/distinfo
+++ b/devel/highway/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1661360790
 SHA256 (google-highway-1.0.1_GH0.tar.gz) = 7ca6af7dc2e3e054de9e17b9dfd88609a7fd202812b1c216f43cc41647c97311
 SIZE (google-highway-1.0.1_GH0.tar.gz) = 1730746
+SHA256 (6a822e2a9ae3.patch) = dcc115c8daad2dfeea3101d0945f25f96c2aa3cc27a50c8c048fd8abcb7a6dc4
+SIZE (6a822e2a9ae3.patch) = 960
diff --git a/devel/highway/files/patch-CMakeLists.txt b/devel/highway/files/patch-CMakeLists.txt
deleted file mode 100644
index 31d2e65bba3e..000000000000
--- a/devel/highway/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-https://github.com/google/highway/issues/946
-
---- CMakeLists.txt.orig	2022-08-24 16:31:11 UTC
-+++ CMakeLists.txt
-@@ -278,7 +278,7 @@ if(UNIX AND NOT APPLE)
- set_target_properties(hwy PROPERTIES
-   LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/hwy/hwy.version)
- if(UNIX AND NOT APPLE)
--  if(NOT HWY_EMSCRIPTEN)
-+  if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
-     # For GCC __atomic_store_8, see #887
-     target_link_libraries(hwy atomic)
-   endif()