git: 31bf272f7233 - main - lang/quickjs-ng: update the port to fix several issues (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jan 2025 00:01:37 UTC
The branch main has been updated by osa:
URL: https://cgit.FreeBSD.org/ports/commit/?id=31bf272f7233dd73e2b3b6c4ecad5c59e7007e9d
commit 31bf272f7233dd73e2b3b6c4ecad5c59e7007e9d
Author: Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2025-01-28 23:56:24 +0000
Commit: Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2025-01-29 00:01:31 +0000
lang/quickjs-ng: update the port to fix several issues (+)
- usage GITHUB* family variables
- remove needless options from the USES variable
- add a quick patch to fix a build issue on some platform
Reported by: diizzy
Reviewed by: diizzy
Fixes: 6c458c3785dfc12064350c2e0aee9105105a5fd4
Bump PORTREVISION.
---
lang/quickjs-ng/Makefile | 5 +++--
lang/quickjs-ng/files/patch-CMakeLists.txt | 11 +++++++++++
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/lang/quickjs-ng/Makefile b/lang/quickjs-ng/Makefile
index 0141051cbfb4..ebfce23126c9 100644
--- a/lang/quickjs-ng/Makefile
+++ b/lang/quickjs-ng/Makefile
@@ -1,6 +1,7 @@
PORTNAME= quickjs
-PORTVERSION= 0.8.0
+DISTVERSION= 0.8.0
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= lang devel
PKGNAMESUFFIX= -ng
@@ -11,7 +12,7 @@ WWW= https://quickjs-ng.github.io/quickjs/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= compiler:c11 cmake:testing,noninja cmake cpe tar:xz
+USES= cmake:testing,noninja compiler:c11 cpe
USE_LDCONFIG= yes
USE_GITHUB= yes
diff --git a/lang/quickjs-ng/files/patch-CMakeLists.txt b/lang/quickjs-ng/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..b8ce45e00734
--- /dev/null
+++ b/lang/quickjs-ng/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2025-01-28 23:42:03 UTC
++++ CMakeLists.txt
+@@ -28,8 +28,6 @@ if(NOT MSVC AND NOT IOS)
+
+ xcheck_add_c_compiler_flag(-Wall)
+ if(NOT MSVC AND NOT IOS)
+- xcheck_add_c_compiler_flag(-Werror)
+- xcheck_add_c_compiler_flag(-Wextra)
+ endif()
+ xcheck_add_c_compiler_flag(-Wno-implicit-fallthrough)
+ xcheck_add_c_compiler_flag(-Wno-sign-compare)