pkgsrc-WIP-changes archive

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

Update quickjs to 2019-08-10 version.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Tue Aug 13 20:59:05 2019 +0200
Changeset:	8de8f840a4d1dc4a7c1559286c24028000276da2

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

Log Message:
Update quickjs to 2019-08-10 version.

Pkgsrc changes:
 * Adjust patches to match line numbers.

Upstream changes:
 * added public class fields and private class fields, methods and
   accessors (TC39 proposal)
 * changed JS_ToCStringLen() prototype
 * qjsc: handle '-' in module names and modules with the same filename
 * added std.urlGet
 * exported JS_GetOwnPropertyNames() and JS_GetOwnProperty()
 * exported some bigint C functions
 * added support for eshost in run-test262
 * misc bug fixes

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

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                     | 14 +++++++-------
 quickjs/patches/patch-qjsc.c         |  4 ++--
 quickjs/patches/patch-quickjs-libc.c |  6 +++---
 quickjs/patches/patch-quickjs.c      |  8 ++++----
 5 files changed, 17 insertions(+), 17 deletions(-)

diffs:
diff --git a/quickjs/Makefile b/quickjs/Makefile
index d2f02d6569..f0b3a1774c 100644
--- a/quickjs/Makefile
+++ b/quickjs/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 #
 
-DISTNAME=	quickjs-2019-07-28
+DISTNAME=	quickjs-2019-08-10
 CATEGORIES=	lang
 MASTER_SITES=	https://bellard.org/quickjs/
 EXTRACT_SUFX=	.tar.xz
diff --git a/quickjs/distinfo b/quickjs/distinfo
index 0f5400b68b..3e97e2be02 100644
--- a/quickjs/distinfo
+++ b/quickjs/distinfo
@@ -1,12 +1,12 @@
 $NetBSD$
 
-SHA1 (quickjs-2019-07-28.tar.xz) = b9ee09293e2a5cb14e8bccd1a583a62665d50555
-RMD160 (quickjs-2019-07-28.tar.xz) = 70672f5eba9d0ebfd6a7bbee029fdc243027abfb
-SHA512 (quickjs-2019-07-28.tar.xz) = f975aee2a54454eeda922130010bdcf2daf4889080e4c1b90fa15b66275bc6cb5b6321af6a14ce3432ddea53eca7ed2a733152690e20b9cb8f6707c6029c5fc7
-Size (quickjs-2019-07-28.tar.xz) = 739740 bytes
+SHA1 (quickjs-2019-08-10.tar.xz) = 4e4056e051f6ddfee33276f4854174de00c8c7ef
+RMD160 (quickjs-2019-08-10.tar.xz) = c83484700194911d047e79f53b66bd8ca858a1e8
+SHA512 (quickjs-2019-08-10.tar.xz) = ddae8aa29e1039b1fce5f3294775881d51899d4e46b33c0dc1cb4d050805ce8e414f87e8956b6291e15f1c10af82fa983a426f3ba0807d50205a35462cc3a3bc
+Size (quickjs-2019-08-10.tar.xz) = 752224 bytes
 SHA1 (patch-Makefile) = d96c2a797bb9bc7becc7f1217fc3d3457527d55f
 SHA1 (patch-cutils.h) = 9719a77add566ce6443af1ac2ba1d1ea61e5c248
 SHA1 (patch-qjs.c) = d26b8ac0f7bf84bdb17fb4784f637dcb012cbd93
-SHA1 (patch-qjsc.c) = 58733721d4e4647737d111e8835b4c1016ea2889
-SHA1 (patch-quickjs-libc.c) = 2257ad069d9a9232d6a3e1c5ae0530d08a1b1010
-SHA1 (patch-quickjs.c) = 39e06961e016765af4f703b59c0c9e65c9d45ec3
+SHA1 (patch-qjsc.c) = 9a1f46b46807d9ff0393cd7944416a5bb082bbbb
+SHA1 (patch-quickjs-libc.c) = ac56623b0e590d4bc1b4e8fa8a778ebf34f329b4
+SHA1 (patch-quickjs.c) = bfd2a8ca87ba64e1437a866ef05241c6da498d31
diff --git a/quickjs/patches/patch-qjsc.c b/quickjs/patches/patch-qjsc.c
index f7ee53670e..3bcd16bbd2 100644
--- a/quickjs/patches/patch-qjsc.c
+++ b/quickjs/patches/patch-qjsc.c
@@ -2,9 +2,9 @@ $NetBSD$
 
 Adapt to NetBSD.
 
---- qjsc.c.orig	2019-07-09 17:49:47.000000000 +0000
+--- qjsc.c.orig	2019-08-10 10:58:42.000000000 +0000
 +++ qjsc.c
-@@ -399,7 +399,9 @@ static int output_executable(const char 
+@@ -429,7 +429,9 @@ static int output_executable(const char 
               lib_dir, bn_suffix, lto_suffix);
      *arg++ = libjsname;
      *arg++ = "-lm";
diff --git a/quickjs/patches/patch-quickjs-libc.c b/quickjs/patches/patch-quickjs-libc.c
index 5c12942ff4..a4285ac12b 100644
--- a/quickjs/patches/patch-quickjs-libc.c
+++ b/quickjs/patches/patch-quickjs-libc.c
@@ -2,9 +2,9 @@ $NetBSD$
 
 Adapt to NetBSD.
 
---- quickjs-libc.c.orig	2019-07-09 17:49:47.000000000 +0000
+--- quickjs-libc.c.orig	2019-08-10 10:58:42.000000000 +0000
 +++ quickjs-libc.c
-@@ -1303,7 +1303,7 @@ static void os_signal_handler(int sig_nu
+@@ -1496,7 +1496,7 @@ static void os_signal_handler(int sig_nu
      os_pending_signals |= ((uint64_t)1 << sig_num);
  }
  
@@ -13,7 +13,7 @@ Adapt to NetBSD.
  typedef void (*sighandler_t)(int sig_num);
  #endif
  
-@@ -1624,6 +1624,8 @@ static int js_os_poll(JSContext *ctx)
+@@ -1821,6 +1821,8 @@ static int js_os_poll(JSContext *ctx)
  #define OS_PLATFORM "darwin"
  #elif defined(EMSCRIPTEN)
  #define OS_PLATFORM "js"
diff --git a/quickjs/patches/patch-quickjs.c b/quickjs/patches/patch-quickjs.c
index e33d003f35..751af6d57f 100644
--- a/quickjs/patches/patch-quickjs.c
+++ b/quickjs/patches/patch-quickjs.c
@@ -2,9 +2,9 @@ $NetBSD$
 
 Adapt to NetBSD.
 
---- quickjs.c.orig	2019-07-28 15:03:03.000000000 +0000
+--- quickjs.c.orig	2019-08-10 10:58:42.000000000 +0000
 +++ quickjs.c
-@@ -106,6 +106,14 @@
+@@ -105,6 +105,14 @@
  #include <pthread.h>
  #include <stdatomic.h>
  #include <errno.h>
@@ -19,7 +19,7 @@ Adapt to NetBSD.
  #endif
  
  enum {
-@@ -1293,6 +1301,8 @@ static inline size_t js_def_malloc_usabl
+@@ -1335,6 +1343,8 @@ static inline size_t js_def_malloc_usabl
      return 0;
  #elif defined(__linux__)
      return malloc_usable_size(ptr);
@@ -28,7 +28,7 @@ Adapt to NetBSD.
  #else
      /* change this to `return 0;` if compilation fails */
      return malloc_usable_size(ptr);
-@@ -1367,6 +1377,8 @@ static const JSMallocFunctions def_mallo
+@@ -1409,6 +1419,8 @@ static const JSMallocFunctions def_mallo
      NULL,
  #elif defined(__linux__)
      (size_t (*)(const void *))malloc_usable_size,


Home | Main Index | Thread Index | Old Index