git: bc1ccf65d981 - main - devel/binaryen: Upstream reroll

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 04 Feb 2025 00:32:58 UTC
The branch main has been updated by eduardo:

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

commit bc1ccf65d981c43d4227af132f1c36b35c5338bf
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2025-02-04 00:30:57 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-02-04 00:32:46 +0000

    devel/binaryen: Upstream reroll
    
    ChangeLog: https://github.com/WebAssembly/binaryen/releases/tag/version_122
---
 devel/binaryen/Makefile                            |  1 +
 devel/binaryen/distinfo                            |  6 ++---
 .../files/patch-third__party_CMakeLists.txt        | 28 ++++++++++++----------
 3 files changed, 19 insertions(+), 16 deletions(-)

diff --git a/devel/binaryen/Makefile b/devel/binaryen/Makefile
index e3ba7731b3a0..430b42ff0c72 100644
--- a/devel/binaryen/Makefile
+++ b/devel/binaryen/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	binaryen
 DISTVERSIONPREFIX=	version_
 DISTVERSION=	122
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	eduardo@FreeBSD.org
diff --git a/devel/binaryen/distinfo b/devel/binaryen/distinfo
index 71bcf8a0d3e7..27f7d35a6bb0 100644
--- a/devel/binaryen/distinfo
+++ b/devel/binaryen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738193378
-SHA256 (WebAssembly-binaryen-version_122_GH0.tar.gz) = 5c068b100cf3c1aa2e26f159a6a1896f2b7825ee8f2cf917d385f4b87cee95e3
-SIZE (WebAssembly-binaryen-version_122_GH0.tar.gz) = 5174049
+TIMESTAMP = 1738626761
+SHA256 (WebAssembly-binaryen-version_122_GH0.tar.gz) = 53f01137c3c420e691f4e7fc781896c24eb4da2bc064a5c8a7495d073c3740e2
+SIZE (WebAssembly-binaryen-version_122_GH0.tar.gz) = 5183585
diff --git a/devel/binaryen/files/patch-third__party_CMakeLists.txt b/devel/binaryen/files/patch-third__party_CMakeLists.txt
index 1b93ea866abe..9ed02802bcc6 100644
--- a/devel/binaryen/files/patch-third__party_CMakeLists.txt
+++ b/devel/binaryen/files/patch-third__party_CMakeLists.txt
@@ -1,18 +1,20 @@
 Don't attempt to build a local copy of GoogleTest.
 
---- third_party/CMakeLists.txt.orig	2023-09-14 17:41:15 UTC
+--- third_party/CMakeLists.txt.orig	2025-02-03 23:57:26 UTC
 +++ third_party/CMakeLists.txt
-@@ -1,13 +1,3 @@ endif()
- if(BUILD_LLVM_DWARF)
-   add_subdirectory(llvm-project)
- endif()
--
--include_directories(
--  googletest/googletest
--  googletest/googletest/include
--)
--
--if(BUILD_TESTS)
+@@ -1,15 +1,5 @@ if(BUILD_FUZZTEST)
+ if(BUILD_FUZZTEST)
+   add_subdirectory(fuzztest)
+-elseif(BUILD_TESTS)
+-  # fuzztest includes gtest, but if we're not building fuzztest, build gtest ourselves.
 -  add_library(gtest STATIC googletest/googletest/src/gtest-all.cc)
 -  add_library(gtest_main STATIC googletest/googletest/src/gtest_main.cc)
--endif()
+-  target_compile_options(gtest PRIVATE "-fno-rtti")
+-  target_compile_options(gtest_main PRIVATE "-fno-rtti")
+-  include_directories(
+-    googletest/googletest
+-    googletest/googletest/include
+-  )
+ endif()
+ 
+ if(BUILD_LLVM_DWARF)