diff options
Diffstat (limited to 'lang/quickjs-ng')
-rw-r--r-- | lang/quickjs-ng/Makefile | 2 | ||||
-rw-r--r-- | lang/quickjs-ng/distinfo | 6 | ||||
-rw-r--r-- | lang/quickjs-ng/files/patch-CMakeLists.txt | 23 |
3 files changed, 24 insertions, 7 deletions
diff --git a/lang/quickjs-ng/Makefile b/lang/quickjs-ng/Makefile index e1689f7f08a3..401c3af51810 100644 --- a/lang/quickjs-ng/Makefile +++ b/lang/quickjs-ng/Makefile @@ -1,5 +1,5 @@ PORTNAME= quickjs -DISTVERSION= 0.9.0 +DISTVERSION= 0.10.0 DISTVERSIONPREFIX= v CATEGORIES= lang devel PKGNAMESUFFIX= -ng diff --git a/lang/quickjs-ng/distinfo b/lang/quickjs-ng/distinfo index 9c1178f5337b..c1ce7d5bc652 100644 --- a/lang/quickjs-ng/distinfo +++ b/lang/quickjs-ng/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1746032333 -SHA256 (quickjs-ng-quickjs-v0.9.0_GH0.tar.gz) = 77f9e79b42e2e7cff9517bae612431af47e120730286cb1dcfad0753bc160f10 -SIZE (quickjs-ng-quickjs-v0.9.0_GH0.tar.gz) = 816194 +TIMESTAMP = 1746467397 +SHA256 (quickjs-ng-quickjs-v0.10.0_GH0.tar.gz) = c54007e6ce9893b0074d53feac47c64a362900df20493110800c9e1f5c43427b +SIZE (quickjs-ng-quickjs-v0.10.0_GH0.tar.gz) = 783751 diff --git a/lang/quickjs-ng/files/patch-CMakeLists.txt b/lang/quickjs-ng/files/patch-CMakeLists.txt index b8ce45e00734..72d0174b9d0e 100644 --- a/lang/quickjs-ng/files/patch-CMakeLists.txt +++ b/lang/quickjs-ng/files/patch-CMakeLists.txt @@ -1,11 +1,28 @@ ---- CMakeLists.txt.orig 2025-01-28 23:42:03 UTC +--- CMakeLists.txt.orig 2025-05-01 21:30:10 UTC +++ CMakeLists.txt -@@ -28,8 +28,6 @@ if(NOT MSVC AND NOT IOS) +@@ -39,8 +39,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(-Wformat=2) xcheck_add_c_compiler_flag(-Wno-implicit-fallthrough) - xcheck_add_c_compiler_flag(-Wno-sign-compare) +@@ -418,10 +416,12 @@ if(NOT IOS) + + if(NOT IOS) + file(STRINGS quickjs.h quickjs_h REGEX QJS_VERSION) +- string(REGEX MATCHALL "([0-9])" QJS_VERSION "${quickjs_h}") +- list(GET QJS_VERSION 0 QJS_VERSION_MAJOR) +- list(GET QJS_VERSION 1 QJS_VERSION_MINOR) +- list(GET QJS_VERSION 2 QJS_VERSION_PATCH) ++ string(REGEX MATCH "QJS_VERSION_MAJOR ([0-9]*)" _ "${quickjs_h}") ++ set(QJS_VERSION_MAJOR ${CMAKE_MATCH_1}) ++ string(REGEX MATCH "QJS_VERSION_MINOR ([0-9]*)" _ "${quickjs_h}") ++ set(QJS_VERSION_MINOR ${CMAKE_MATCH_1}) ++ string(REGEX MATCH "QJS_VERSION_PATCH ([0-9]*)" _ "${quickjs_h}") ++ set(QJS_VERSION_PATCH ${CMAKE_MATCH_1}) + set_target_properties(qjs PROPERTIES + VERSION ${QJS_VERSION_MAJOR}.${QJS_VERSION_MINOR}.${QJS_VERSION_PATCH} + SOVERSION ${QJS_VERSION_MAJOR} |