Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/quickjs lang/quickjs: update to 2020-04-12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f7fc74ea266
branches:  trunk
changeset: 431195:1f7fc74ea266
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun May 10 10:17:05 2020 +0000

description:
lang/quickjs: update to 2020-04-12

Changes since 2020-01-19:

2020-04-12:

- added cross realm support
- added AggregateError and Promise.any
- added env, uid and gid options in os.exec()
- misc bug fixes

2020-03-16:

- reworked error handling in std and os libraries: suppressed I/O
  exceptions in std FILE functions and return a positive errno value
  when it is explicit
- output exception messages to stderr
- added std.loadFile(), std.strerror(), std.FILE.prototype.tello()
- added JS_GetRuntimeOpaque(), JS_SetRuntimeOpaque(), JS_NewUint32()
- updated to Unicode 13.0.0
- misc bug fixes

diffstat:

 lang/quickjs/Makefile                     |   5 ++---
 lang/quickjs/distinfo                     |  12 ++++++------
 lang/quickjs/patches/patch-quickjs-libc.c |  15 ++++++++++++---
 3 files changed, 20 insertions(+), 12 deletions(-)

diffs (70 lines):

diff -r 35a23028453c -r 1f7fc74ea266 lang/quickjs/Makefile
--- a/lang/quickjs/Makefile     Sun May 10 07:48:10 2020 +0000
+++ b/lang/quickjs/Makefile     Sun May 10 10:17:05 2020 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2020/02/10 13:06:08 he Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/10 10:17:05 rillig Exp $
 
 NAME=          quickjs
-QJS_DATE=      2020-01-19
+QJS_DATE=      2020-04-12
 VERSION=       ${QJS_DATE:S/-//g}
 DISTNAME=      ${NAME}-${QJS_DATE}
 PKGNAME=       ${NAME}-${VERSION}
-PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  https://bellard.org/quickjs/
 EXTRACT_SUFX=  .tar.xz
diff -r 35a23028453c -r 1f7fc74ea266 lang/quickjs/distinfo
--- a/lang/quickjs/distinfo     Sun May 10 07:48:10 2020 +0000
+++ b/lang/quickjs/distinfo     Sun May 10 10:17:05 2020 +0000
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.5 2020/02/10 13:06:08 he Exp $
+$NetBSD: distinfo,v 1.6 2020/05/10 10:17:05 rillig Exp $
 
-SHA1 (quickjs-2020-01-19.tar.xz) = a33a7abb4471d566da39df90d0b688d120a8a2c4
-RMD160 (quickjs-2020-01-19.tar.xz) = 0de6489bf915c3e3d558c39bf5e7b264249b57a5
-SHA512 (quickjs-2020-01-19.tar.xz) = 6bbd271a3a3adfd612c9723f98d04c7a62b9f8c44ca5ae2134d34baa077f6fdba3ac65d43f8c573fdc5af23309cde7ada8cc12caf73236d2a9286fecdf677cf2
-Size (quickjs-2020-01-19.tar.xz) = 735868 bytes
+SHA1 (quickjs-2020-04-12.tar.xz) = 5fc6872e8cf307b32dd8245ca96949acde77b1ba
+RMD160 (quickjs-2020-04-12.tar.xz) = b1e011bc5a5ec6a5769e7d0ab00948c4f67b293b
+SHA512 (quickjs-2020-04-12.tar.xz) = ed15bb159fa05a7c7749e34f346d426803adf34f1ee83eb23c1a9acce037402537fb52ff0c54135da13d7908a71043eb00b5688fe13488eca356a0713d4a65a3
+Size (quickjs-2020-04-12.tar.xz) = 741060 bytes
 SHA1 (patch-Makefile) = c31015842b53368344e07eb39873fa496e5f79f1
 SHA1 (patch-cutils.h) = db3fad2bd422d2886538819ef778d13a391d6935
 SHA1 (patch-qjs.c) = 2a2d778bb43540dc5289f84cd9df43162c1ce291
 SHA1 (patch-qjsc.c) = 9a70bde5e19b65942d9f23c10d0b7b3e2741bfaa
-SHA1 (patch-quickjs-libc.c) = 8a82afa9f13c9f7d53f8a94e377fbb4aa4471947
+SHA1 (patch-quickjs-libc.c) = d07010eb2c572d8e2de8e212ab8ac34a8bcdf3bd
 SHA1 (patch-quickjs.c) = 7337eaac4ac5336db5205fa06d6cefd22a78cbf6
 SHA1 (patch-tests_test__builtin.js) = 762d201adfe15e7ab63dc0146040a7679229b10c
diff -r 35a23028453c -r 1f7fc74ea266 lang/quickjs/patches/patch-quickjs-libc.c
--- a/lang/quickjs/patches/patch-quickjs-libc.c Sun May 10 07:48:10 2020 +0000
+++ b/lang/quickjs/patches/patch-quickjs-libc.c Sun May 10 10:17:05 2020 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-quickjs-libc.c,v 1.1 2019/11/14 21:20:04 rillig Exp $
+$NetBSD: patch-quickjs-libc.c,v 1.2 2020/05/10 10:17:06 rillig Exp $
 
 Portability patch for NetBSD.
 
---- quickjs-libc.c.orig        2019-10-27 10:55:35.000000000 +0000
+--- quickjs-libc.c.orig        2020-04-12 13:18:13.000000000 +0000
 +++ quickjs-libc.c
-@@ -1652,7 +1652,7 @@ static void os_signal_handler(int sig_nu
+@@ -1712,7 +1712,7 @@ static void os_signal_handler(int sig_nu
      os_pending_signals |= ((uint64_t)1 << sig_num);
  }
  
@@ -13,3 +13,12 @@
  typedef void (*sighandler_t)(int sig_num);
  #endif
  
+@@ -2442,6 +2442,8 @@ static int my_execvpe(const char *filena
+     return -1;
+ }
+ 
++extern char **environ; /* Needed at least for NetBSD-8.0-x86_64. */
++
+ /* exec(args[, options]) -> exitcode */
+ static JSValue js_os_exec(JSContext *ctx, JSValueConst this_val,
+                           int argc, JSValueConst *argv)



Home | Main Index | Thread Index | Old Index