pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/quickjs



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun May 10 10:17:06 UTC 2020

Modified Files:
        pkgsrc/lang/quickjs: Makefile distinfo
        pkgsrc/lang/quickjs/patches: patch-quickjs-libc.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/quickjs/Makefile \
    pkgsrc/lang/quickjs/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/quickjs/patches/patch-quickjs-libc.c

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

Modified files:

Index: pkgsrc/lang/quickjs/Makefile
diff -u pkgsrc/lang/quickjs/Makefile:1.5 pkgsrc/lang/quickjs/Makefile:1.6
--- pkgsrc/lang/quickjs/Makefile:1.5    Mon Feb 10 13:06:08 2020
+++ pkgsrc/lang/quickjs/Makefile        Sun May 10 10:17:05 2020
@@ -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
Index: pkgsrc/lang/quickjs/distinfo
diff -u pkgsrc/lang/quickjs/distinfo:1.5 pkgsrc/lang/quickjs/distinfo:1.6
--- pkgsrc/lang/quickjs/distinfo:1.5    Mon Feb 10 13:06:08 2020
+++ pkgsrc/lang/quickjs/distinfo        Sun May 10 10:17:05 2020
@@ -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

Index: pkgsrc/lang/quickjs/patches/patch-quickjs-libc.c
diff -u pkgsrc/lang/quickjs/patches/patch-quickjs-libc.c:1.1 pkgsrc/lang/quickjs/patches/patch-quickjs-libc.c:1.2
--- pkgsrc/lang/quickjs/patches/patch-quickjs-libc.c:1.1        Thu Nov 14 21:20:04 2019
+++ pkgsrc/lang/quickjs/patches/patch-quickjs-libc.c    Sun May 10 10:17:06 2020
@@ -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 @@ Portability patch for NetBSD.
  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