git: 83497f9a5f92 - main - graphics/bgfx: Update 1.121.8534-453 → 1.121.8558-454

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 02 Aug 2023 07:49:58 UTC
The branch main has been updated by yuri:

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

commit 83497f9a5f92bd1bd7fd66a81efc82b5efbdd150
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-08-02 06:33:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-08-02 07:49:49 +0000

    graphics/bgfx: Update 1.121.8534-453 → 1.121.8558-454
    
    Reported by:    portscout
---
 graphics/bgfx/Makefile                             |  8 ++++----
 graphics/bgfx/distinfo                             | 14 +++++++-------
 graphics/bgfx/files/patch-bx_include_bx_platform.h | 11 +++++++++++
 3 files changed, 22 insertions(+), 11 deletions(-)

diff --git a/graphics/bgfx/Makefile b/graphics/bgfx/Makefile
index 873c263c30f2..b4bfa5910bf1 100644
--- a/graphics/bgfx/Makefile
+++ b/graphics/bgfx/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bgfx
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.121.8534-453
+DISTVERSION=	1.121.8558-454
 CATEGORIES=	graphics
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -10,16 +10,16 @@ WWW=		https://bkaradzic.github.io/bgfx/overview.html
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake:testing compiler:c++14-lang gl localbase:ldflags xorg
+USES=		cmake:testing compiler:c++17-lang gl localbase:ldflags xorg
 USE_GL=		glu opengl
 USE_XORG=	ice x11 xext sm
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	bkaradzic
 GH_PROJECT=	bgfx.cmake
-GH_TUPLE=	bkaradzic:bgfx:e2c5b1d:bgfx/bgfx \
+GH_TUPLE=	bkaradzic:bgfx:8b6a6bd:bgfx/bgfx \
 		bkaradzic:bimg:ec02df8:bimg/bimg \
-		bkaradzic:bx:96748d9:bx/bx
+		bkaradzic:bx:198cd12:bx/bx
 
 CMAKE_OFF=	BGFX_BUILD_EXAMPLES BGFX_INSTALL_EXAMPLES \
 		BGFX_CUSTOM_TARGETS
diff --git a/graphics/bgfx/distinfo b/graphics/bgfx/distinfo
index 8281d0451639..ad5fac00ec1e 100644
--- a/graphics/bgfx/distinfo
+++ b/graphics/bgfx/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1689482100
-SHA256 (bkaradzic-bgfx.cmake-v1.121.8534-453_GH0.tar.gz) = e604f77e8e9ba0b0fa810b65a2b019cbc04367a964a019d6b3d3bbec181d541c
-SIZE (bkaradzic-bgfx.cmake-v1.121.8534-453_GH0.tar.gz) = 32767
-SHA256 (bkaradzic-bgfx-e2c5b1d_GH0.tar.gz) = 269fe39ee6b269533c197dd17349d140f1c1bca205ea722b073d617cc4ebfea1
-SIZE (bkaradzic-bgfx-e2c5b1d_GH0.tar.gz) = 103039558
+TIMESTAMP = 1690955330
+SHA256 (bkaradzic-bgfx.cmake-v1.121.8558-454_GH0.tar.gz) = e8cd069998303e5d30d3c24d42c66d3a1248bbb4407299f1e3db073583d1b8f1
+SIZE (bkaradzic-bgfx.cmake-v1.121.8558-454_GH0.tar.gz) = 32759
+SHA256 (bkaradzic-bgfx-8b6a6bd_GH0.tar.gz) = ff6b15fd99d2c8f1adaf5df409a5fba9fb7eccc86f29f80182f7679badbd32d8
+SIZE (bkaradzic-bgfx-8b6a6bd_GH0.tar.gz) = 103033373
 SHA256 (bkaradzic-bimg-ec02df8_GH0.tar.gz) = 0828e01e22129caf877afeed060308a58c39a49d7d242e2f921fc10910e97315
 SIZE (bkaradzic-bimg-ec02df8_GH0.tar.gz) = 760301
-SHA256 (bkaradzic-bx-96748d9_GH0.tar.gz) = 399670505f594042f074b780db784664e14d705ccfdca064fffa3961326bb83d
-SIZE (bkaradzic-bx-96748d9_GH0.tar.gz) = 1591803
+SHA256 (bkaradzic-bx-198cd12_GH0.tar.gz) = d98149f907e61dbbad6710c75a268a26a36fc911b06966eae11def09772d590b
+SIZE (bkaradzic-bx-198cd12_GH0.tar.gz) = 1591739
diff --git a/graphics/bgfx/files/patch-bx_include_bx_platform.h b/graphics/bgfx/files/patch-bx_include_bx_platform.h
new file mode 100644
index 000000000000..d94ffa1425ba
--- /dev/null
+++ b/graphics/bgfx/files/patch-bx_include_bx_platform.h
@@ -0,0 +1,11 @@
+--- bx/include/bx/platform.h.orig	2023-08-02 05:50:26 UTC
++++ bx/include/bx/platform.h
+@@ -464,7 +464,7 @@
+ #if BX_PLATFORM_BSD   \
+  || BX_PLATFORM_HAIKU \
+  || BX_PLATFORM_HURD
+-static_assert(false, "\n\n"
++static_assert(true, "\n\n"
+ 	"\t** IMPORTANT! **\n\n"
+ 	"\tYou're compiling for unsupported platform!\n"
+ 	"\tIf you wish to support this platform, make your own fork, and modify code for _yourself_.\n"