Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2023 09:18:45 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 262a4ce04157 - main - graphics/goxel: update the port to version 0.12.0
Message-ID:  <202304020918.3329IjQk059331@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

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

commit 262a4ce04157fae2f0d58abe940e2ddbdc6d3e63
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-04-02 09:17:40 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-04-02 09:17:40 +0000

    graphics/goxel: update the port to version 0.12.0
    
    Reported by:    portscout
---
 graphics/goxel/Makefile                                    |  3 +--
 graphics/goxel/distinfo                                    |  6 +++---
 graphics/goxel/files/patch-SConstruct                      | 11 -----------
 graphics/goxel/files/patch-ext__src_quickjs_quickjs-libc.c | 13 +++++++++++++
 4 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/graphics/goxel/Makefile b/graphics/goxel/Makefile
index 7468a9da7edd..293f4e78d9d7 100644
--- a/graphics/goxel/Makefile
+++ b/graphics/goxel/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	goxel
-PORTVERSION=	0.11.0
+PORTVERSION=	0.12.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
 CATEGORIES=	graphics
 
 MAINTAINER=	danfe@FreeBSD.org
diff --git a/graphics/goxel/distinfo b/graphics/goxel/distinfo
index 0bf33d32dba8..0bf9d3f90236 100644
--- a/graphics/goxel/distinfo
+++ b/graphics/goxel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660638635
-SHA256 (guillaumechereau-goxel-v0.11.0_GH0.tar.gz) = 660030e1b3b33a3e909d8189780a192cba059774af57b042ecb63297f2a6d0fc
-SIZE (guillaumechereau-goxel-v0.11.0_GH0.tar.gz) = 2718621
+TIMESTAMP = 1680336268
+SHA256 (guillaumechereau-goxel-v0.12.0_GH0.tar.gz) = e3825625e1af9f58593695b0129e39f68a8f3c7d5696c096b8ed2d8b9ac69430
+SIZE (guillaumechereau-goxel-v0.12.0_GH0.tar.gz) = 3276773
diff --git a/graphics/goxel/files/patch-SConstruct b/graphics/goxel/files/patch-SConstruct
index 58485b0130ac..4c6f80575996 100644
--- a/graphics/goxel/files/patch-SConstruct
+++ b/graphics/goxel/files/patch-SConstruct
@@ -1,16 +1,5 @@
 --- SConstruct.orig	2022-08-16 08:30:35 UTC
 +++ SConstruct
-@@ -45,10 +45,6 @@ if os.environ.get('CC') == 'clang':
- if os.environ.get('CC') == 'clang':
-     env.Replace(CC='clang', CXX='clang++')
- 
--# Hack for gcc <= 5, since pragma diagnostic push doesn't seem to work.
--if env['CCVERSION'] and int(env['CCVERSION'].split('.')[0]) <= 5:
--    env.Append(CCFLAGS=['-Wno-unused-function'])
--
- # Asan & Ubsan (need to come first).
- if env['mode'] == 'debug' and target_os == 'posix':
-     env.Append(CCFLAGS=['-fsanitize=address', '-fsanitize=undefined'],
 @@ -70,7 +66,7 @@ if env['mode'] not in ['debug', 'analyze']:
      env.Append(CCFLAGS='-Werror')
  
diff --git a/graphics/goxel/files/patch-ext__src_quickjs_quickjs-libc.c b/graphics/goxel/files/patch-ext__src_quickjs_quickjs-libc.c
new file mode 100644
index 000000000000..7d072a65ff09
--- /dev/null
+++ b/graphics/goxel/files/patch-ext__src_quickjs_quickjs-libc.c
@@ -0,0 +1,13 @@
+--- ext_src/quickjs/quickjs-libc.c.orig	2023-04-01 08:04:28 UTC
++++ ext_src/quickjs/quickjs-libc.c
+@@ -47,6 +47,10 @@
+ #include <sys/ioctl.h>
+ #include <sys/wait.h>
+ 
++#if defined(__FreeBSD__)
++typedef sig_t sighandler_t;
++extern char **environ;
++#endif
+ #if defined(__APPLE__)
+ typedef sig_t sighandler_t;
+ #if !defined(environ)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304020918.3329IjQk059331>