git: b85fabe2047e - main - devel/xbyak: Update 6.04 -> 6.041

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 18:04:43 UTC
The branch main has been updated by yuri:

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

commit b85fabe2047e4cac0796edce422d0d23ac4e8e0a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-04-22 18:04:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-04-22 18:04:38 +0000

    devel/xbyak: Update 6.04 -> 6.041
    
    Reported by:    portscout
---
 devel/xbyak/Makefile                 |  5 +++--
 devel/xbyak/distinfo                 |  6 +++---
 devel/xbyak/files/patch-gen_Makefile | 23 +++++++++++++++++++++++
 3 files changed, 29 insertions(+), 5 deletions(-)

diff --git a/devel/xbyak/Makefile b/devel/xbyak/Makefile
index ccc3f480d93d..1eb728bc75bf 100644
--- a/devel/xbyak/Makefile
+++ b/devel/xbyak/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xbyak
 DISTVERSIONPREFIX=	v
-DISTVERSION=	6.04
+DISTVERSION=	6.041
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -9,7 +9,8 @@ COMMENT=	Header-only JIT assembler for x86/x64 SIMD
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-TEST_DEPENDS=	gmake:devel/gmake
+TEST_DEPENDS=	gmake:devel/gmake \
+		gsed:textproc/gsed
 
 USES=		cmake
 
diff --git a/devel/xbyak/distinfo b/devel/xbyak/distinfo
index 3f0ecb50f1a5..8283a7105e39 100644
--- a/devel/xbyak/distinfo
+++ b/devel/xbyak/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1649399853
-SHA256 (herumi-xbyak-v6.04_GH0.tar.gz) = 9caf1f1cf1ef0f948b311d3d4948a3436332ac0830e42b0b3436a2e114cf7afd
-SIZE (herumi-xbyak-v6.04_GH0.tar.gz) = 239303
+TIMESTAMP = 1650649665
+SHA256 (herumi-xbyak-v6.041_GH0.tar.gz) = 679d027a9086479757b13889b1d0da5febe25f643196c0fe33cd13c9802cc428
+SIZE (herumi-xbyak-v6.041_GH0.tar.gz) = 242970
diff --git a/devel/xbyak/files/patch-gen_Makefile b/devel/xbyak/files/patch-gen_Makefile
new file mode 100644
index 000000000000..b170de664f5f
--- /dev/null
+++ b/devel/xbyak/files/patch-gen_Makefile
@@ -0,0 +1,23 @@
+--- gen/Makefile.orig	2022-04-22 18:01:34 UTC
++++ gen/Makefile
+@@ -24,16 +24,16 @@ $(TARGET): $(BIN)
+ 
+ VER=$(shell head -n 1 ../xbyak/xbyak_mnemonic.h|grep -o "[0-9.]*")
+ ../CMakeLists.txt: $(TARGET)
+-	sed -i -e 's/CXX VERSION [0-9.]*/CXX VERSION $(VER)/' $@
++	gsed -i -e 's/CXX VERSION [0-9.]*/CXX VERSION $(VER)/' $@
+ 
+ ../meson.build: $(TARGET)
+-	sed -i -e "s/version: '[0-9.]*',/version: '$(VER)',/" $@
++	gsed -i -e "s/version: '[0-9.]*',/version: '$(VER)',/" $@
+ 
+ ../readme.md: $(TARGET)
+-	sed -l 2 -i -e "s/Xbyak [0-9.]*/Xbyak $(VER)/" $@
++	gsed -l 2 -i -e "s/Xbyak [0-9.]*/Xbyak $(VER)/" $@
+ 
+ ../readme.txt: $(TARGET)
+-	sed -l 2 -i -e "s/Xbyak [0-9.]*/Xbyak $(VER)/" $@
++	gsed -l 2 -i -e "s/Xbyak [0-9.]*/Xbyak $(VER)/" $@
+ 
+ clean:
+ 	$(RM) $(BIN) $(TARGET)