git: cd0102f62ac5 - main - graphics/goxel: update the port to version 0.13.0

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sun, 31 Dec 2023 17:54:17 UTC
The branch main has been updated by danfe:

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

commit cd0102f62ac51c47c35f6d8d6295f2175e688586
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-12-31 17:53:24 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-12-31 17:53:24 +0000

    graphics/goxel: update the port to version 0.13.0
    
      - Some fixes for glTF export
      - Added shortcuts for Add/Sub/Paint
      - Allow to simplify exported glTF
    
    Reported by:    portscout
---
 graphics/goxel/Makefile                                      |  3 +--
 graphics/goxel/distinfo                                      |  6 +++---
 graphics/goxel/files/patch-SConstruct                        |  2 +-
 graphics/goxel/files/patch-ext__src_yocto_ext_filesystem.hpp | 11 -----------
 4 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/graphics/goxel/Makefile b/graphics/goxel/Makefile
index d01dc3a16bf6..da578d77d189 100644
--- a/graphics/goxel/Makefile
+++ b/graphics/goxel/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	goxel
-PORTVERSION=	0.12.0
+PORTVERSION=	0.13.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
 CATEGORIES=	graphics
 
 MAINTAINER=	danfe@FreeBSD.org
diff --git a/graphics/goxel/distinfo b/graphics/goxel/distinfo
index 0bf9d3f90236..774ed67475e1 100644
--- a/graphics/goxel/distinfo
+++ b/graphics/goxel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680336268
-SHA256 (guillaumechereau-goxel-v0.12.0_GH0.tar.gz) = e3825625e1af9f58593695b0129e39f68a8f3c7d5696c096b8ed2d8b9ac69430
-SIZE (guillaumechereau-goxel-v0.12.0_GH0.tar.gz) = 3276773
+TIMESTAMP = 1703647244
+SHA256 (guillaumechereau-goxel-v0.13.0_GH0.tar.gz) = 33f92578bbd53c426ab577411aeba971f5164a0b7853ace1bad60386ebbb589e
+SIZE (guillaumechereau-goxel-v0.13.0_GH0.tar.gz) = 3087165
diff --git a/graphics/goxel/files/patch-SConstruct b/graphics/goxel/files/patch-SConstruct
index 4c6f80575996..4714c01d0b9b 100644
--- a/graphics/goxel/files/patch-SConstruct
+++ b/graphics/goxel/files/patch-SConstruct
@@ -20,7 +20,7 @@
  # Linux compilation support.
  if target_os == 'posix':
 +    env.Append(CPPDEFINES='HAVE_LIBPNG=1')
-     env.Append(LIBS=['GL', 'm'])
+     env.Append(LIBS=['GL', 'm', 'dl'])
      # Note: add '--static' to link with all the libs needed by glfw3.
      env.ParseConfig('pkg-config --libs glfw3')
      env.ParseConfig('pkg-config --cflags --libs gtk+-3.0')
diff --git a/graphics/goxel/files/patch-ext__src_yocto_ext_filesystem.hpp b/graphics/goxel/files/patch-ext__src_yocto_ext_filesystem.hpp
deleted file mode 100644
index 36a411cc8cc7..000000000000
--- a/graphics/goxel/files/patch-ext__src_yocto_ext_filesystem.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- ext_src/yocto/ext/filesystem.hpp.orig	2022-08-16 08:30:35 UTC
-+++ ext_src/yocto/ext/filesystem.hpp
-@@ -1525,7 +1525,7 @@ GHC_INLINE std::string systemErrorText(ErrorNumber cod
-     std::string msg = toUtf8(std::wstring((LPWSTR)msgBuf));
-     LocalFree(msgBuf);
-     return msg;
--#elif defined(GHC_OS_MACOS) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE)) || (defined(GHC_OS_ANDROID) && __ANDROID_API__ < 23) || defined(EMSCRIPTEN)
-+#elif defined(GHC_OS_MACOS) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE)) || (defined(GHC_OS_ANDROID) && __ANDROID_API__ < 23) || defined(EMSCRIPTEN) || defined(__FreeBSD__)
-     char buffer[512];
-     int rc = strerror_r(code ? code : errno, buffer, sizeof(buffer));
-     return rc == 0 ? (const char*)buffer : "Error in strerror_r!";