From c933386b2798755c094fff3b1c4622f01267614e Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Tue, 29 Jul 2025 11:47:38 +0800 Subject: lang/p5-JavaScript-QuickJS: Fix build after ce0601fbfa5fce9d43ef0ca9231ebfd82a166895 Obtained from: https://github.com/FGasper/p5-JavaScript-QuickJS/issues/13 https://github.com/FGasper/p5-JavaScript-QuickJS/tree/quickjs_2025_04 --- lang/p5-JavaScript-QuickJS/files/patch-QuickJS.xs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lang/p5-JavaScript-QuickJS/files/patch-QuickJS.xs (limited to 'lang/p5-JavaScript-QuickJS') diff --git a/lang/p5-JavaScript-QuickJS/files/patch-QuickJS.xs b/lang/p5-JavaScript-QuickJS/files/patch-QuickJS.xs new file mode 100644 index 000000000000..546d51021497 --- /dev/null +++ b/lang/p5-JavaScript-QuickJS/files/patch-QuickJS.xs @@ -0,0 +1,16 @@ +Obtained from: https://github.com/FGasper/p5-JavaScript-QuickJS/issues/13 + https://github.com/FGasper/p5-JavaScript-QuickJS/tree/quickjs_2025_04 + +--- QuickJS.xs.orig 2024-02-12 14:21:20 UTC ++++ QuickJS.xs +@@ -44,9 +44,8 @@ const char* __jstype_name_back[] = { + } ctx_opaque_s; + + const char* __jstype_name_back[] = { +- [JS_TAG_BIG_DECIMAL - JS_TAG_FIRST] = "big decimal", ++ [JS_TAG_SHORT_BIG_INT - JS_TAG_FIRST] = "short big integer", + [JS_TAG_BIG_INT - JS_TAG_FIRST] = "big integer", +- [JS_TAG_BIG_FLOAT - JS_TAG_FIRST] = "big float", + [JS_TAG_SYMBOL - JS_TAG_FIRST] = "symbol", + [JS_TAG_MODULE - JS_TAG_FIRST] = "module", + [JS_TAG_OBJECT - JS_TAG_FIRST] = "object", -- cgit v1.2.3