pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update QuickJS to version 2019-07-21.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%uninett.no@localhost>
Pushed By:	he
Date:		Wed Jul 24 09:29:52 2019 +0200
Changeset:	2388bbae4db84b9e6ae56b5af85d39ac2a9e64ad

Modified Files:
	quickjs/Makefile
	quickjs/distinfo
Removed Files:
	quickjs/patches/patch-libregexp.c

Log Message:
Update QuickJS to version 2019-07-21.

Pkgsrc changes:
 * Remove patch adopted upstream.

Upstream changes:
- updated test262 tests
- updated to Unicode version 12.1.0
- fixed missing Date object in qjsc
- fixed multi-context creation
- misc ES2020 related fixes
- simplified power and division operators in bignum extension
- fixed several crash conditions

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2388bbae4db84b9e6ae56b5af85d39ac2a9e64ad

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 quickjs/Makefile                  |  2 +-
 quickjs/distinfo                  |  9 ++++-----
 quickjs/patches/patch-libregexp.c | 24 ------------------------
 3 files changed, 5 insertions(+), 30 deletions(-)

diffs:
diff --git a/quickjs/Makefile b/quickjs/Makefile
index dbba5a4602..232155752c 100644
--- a/quickjs/Makefile
+++ b/quickjs/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 #
 
-DISTNAME=	quickjs-2019-07-09
+DISTNAME=	quickjs-2019-07-21
 CATEGORIES=	lang
 MASTER_SITES=	https://bellard.org/quickjs/
 EXTRACT_SUFX=	.tar.xz
diff --git a/quickjs/distinfo b/quickjs/distinfo
index 40661884fc..39f8410539 100644
--- a/quickjs/distinfo
+++ b/quickjs/distinfo
@@ -1,12 +1,11 @@
 $NetBSD$
 
-SHA1 (quickjs-2019-07-09.tar.xz) = f225a1815a462f2613390d3d98c66575f519d133
-RMD160 (quickjs-2019-07-09.tar.xz) = 63f444e699a25b3d5b7c0870778843cad352cd13
-SHA512 (quickjs-2019-07-09.tar.xz) = db2498659ae1c22e5c0a24e0f2d582db6003e18a182a80f407b1ee8779edddff473572bcfecd1584281c65af8c428b2794d1c7aae90ec87e4338f7bbd9a61b7c
-Size (quickjs-2019-07-09.tar.xz) = 737248 bytes
+SHA1 (quickjs-2019-07-21.tar.xz) = d021612ace5c35bc0a93d004991c6b577dffc846
+RMD160 (quickjs-2019-07-21.tar.xz) = 1537d855157c905dcd3f17ab4c2ca64600e0bd9a
+SHA512 (quickjs-2019-07-21.tar.xz) = 09c625b43051a4919f5acabe498b5ba41101592cfb42b4bc677d949a438d1fac5cead17b335bf7adf5b270a35fb289bc5345895e3ebf69ee6c10b4af61ee21c6
+Size (quickjs-2019-07-21.tar.xz) = 738032 bytes
 SHA1 (patch-Makefile) = d96c2a797bb9bc7becc7f1217fc3d3457527d55f
 SHA1 (patch-cutils.h) = 9719a77add566ce6443af1ac2ba1d1ea61e5c248
-SHA1 (patch-libregexp.c) = f22297908deae0a04625478ba6c0134cbb3394a8
 SHA1 (patch-qjs.c) = d26b8ac0f7bf84bdb17fb4784f637dcb012cbd93
 SHA1 (patch-qjsc.c) = 58733721d4e4647737d111e8835b4c1016ea2889
 SHA1 (patch-quickjs-libc.c) = 2257ad069d9a9232d6a3e1c5ae0530d08a1b1010
diff --git a/quickjs/patches/patch-libregexp.c b/quickjs/patches/patch-libregexp.c
deleted file mode 100644
index 0dbc0630fe..0000000000
--- a/quickjs/patches/patch-libregexp.c
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD$
-
-Fix issue found on 32-bit ports, where pointers could end up
-as negative values when cast to intptr_t.
-
---- libregexp.c.orig	2019-07-09 17:49:47.000000000 +0000
-+++ libregexp.c
-@@ -2027,6 +2027,7 @@ static int push_state(REExecContext *s,
-     return 0;
- }
- 
-+/* Comment is misleading: can also return int'ed pointer */
- /* return 1 if match, 0 if not match or -1 if error. */
- static intptr_t lre_exec_backtrack(REExecContext *s, uint8_t **capture,
-                                    StackInt *stack, int stack_len,
-@@ -2407,7 +2408,7 @@ static intptr_t lre_exec_backtrack(REExe
-                 for(;;) {
-                     res = lre_exec_backtrack(s, capture, stack, stack_len,
-                                              pc1, cptr, TRUE);
--                    if (res < 0)
-+                    if (res == -1)
-                         return res;
-                     if (!res)
-                         break;


Home | Main Index | Thread Index | Old Index