pkgsrc-WIP-changes archive

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

Update quickjs to version 2019-10-27



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Sat Nov 2 23:32:16 2019 +0100
Changeset:	35392a429e070a388ed5d4a38efea472e3733a67

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

Log Message:
Update quickjs to version 2019-10-27

Pkgsrc changes:
 * Adapt to upstream changes (Makefile patch adjustment)

Upstream changes:
2019-10-27:

- added example of C class in a module (examples/test_point.js)
- added JS_GetTypedArrayBuffer()
- 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=35392a429e070a388ed5d4a38efea472e3733a67

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                | 12 ++++++------
 quickjs/patches/patch-Makefile  |  6 +++---
 quickjs/patches/patch-quickjs.c |  6 +++---
 4 files changed, 13 insertions(+), 13 deletions(-)

diffs:
diff --git a/quickjs/Makefile b/quickjs/Makefile
index 789d018cba..8996ecca30 100644
--- a/quickjs/Makefile
+++ b/quickjs/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 #
 
-DISTNAME=	quickjs-2019-09-18
+DISTNAME=	quickjs-2019-10-27
 CATEGORIES=	lang
 MASTER_SITES=	https://bellard.org/quickjs/
 EXTRACT_SUFX=	.tar.xz
diff --git a/quickjs/distinfo b/quickjs/distinfo
index 030ba3312f..f1a6721d9b 100644
--- a/quickjs/distinfo
+++ b/quickjs/distinfo
@@ -1,12 +1,12 @@
 $NetBSD$
 
-SHA1 (quickjs-2019-09-18.tar.xz) = 024534cf52fb7799dc28a6fcfd580274ffd5357b
-RMD160 (quickjs-2019-09-18.tar.xz) = fa1433a512cc2c44af8916eda473c4b8a4acb7de
-SHA512 (quickjs-2019-09-18.tar.xz) = 7afa8e327af5775fcea10922a2c684c24690ceb89690a26d0df3628ea36817c5f8b839c5cd9e27e92bec54f08c633e1f9c27620cbcf9757fd40db546bc477872
-Size (quickjs-2019-09-18.tar.xz) = 761448 bytes
-SHA1 (patch-Makefile) = 5c6b9dcc722f030c78a8809aabbca8c640452e2b
+SHA1 (quickjs-2019-10-27.tar.xz) = 6d10526eecc6bbbd13f33262f796f30090195974
+RMD160 (quickjs-2019-10-27.tar.xz) = 4cd24d0d6c6c9fd23c2bc66d1e724e7e43985b22
+SHA512 (quickjs-2019-10-27.tar.xz) = 3654c8998b6c99fb42387c785e2be138b46b644025b2da5f26ecc6c1d58f32ef89b274763b0bcc5d25d86bbae217ec52576d13bf4e9cd81c6c2af46b692b73e9
+Size (quickjs-2019-10-27.tar.xz) = 763012 bytes
+SHA1 (patch-Makefile) = 57ddddb7246be7dbe96bcdc8775e7ccbf8bf4b18
 SHA1 (patch-cutils.h) = 9719a77add566ce6443af1ac2ba1d1ea61e5c248
 SHA1 (patch-qjs.c) = d26b8ac0f7bf84bdb17fb4784f637dcb012cbd93
 SHA1 (patch-qjsc.c) = 9a1f46b46807d9ff0393cd7944416a5bb082bbbb
 SHA1 (patch-quickjs-libc.c) = ac56623b0e590d4bc1b4e8fa8a778ebf34f329b4
-SHA1 (patch-quickjs.c) = bfd2a8ca87ba64e1437a866ef05241c6da498d31
+SHA1 (patch-quickjs.c) = 930c2549a0244ecfa8e2cccf96b981ffafb8f17c
diff --git a/quickjs/patches/patch-Makefile b/quickjs/patches/patch-Makefile
index 2f05fd8727..9822f34411 100644
--- a/quickjs/patches/patch-Makefile
+++ b/quickjs/patches/patch-Makefile
@@ -2,7 +2,7 @@ $NetBSD$
 
 Adapt for NetBSD & pkgsrc.
 
---- Makefile.orig	2019-07-09 17:49:47.000000000 +0000
+--- Makefile.orig	2019-10-27 10:55:35.000000000 +0000
 +++ Makefile
 @@ -25,10 +25,17 @@
  ifeq ($(shell uname -s),Darwin)
@@ -22,7 +22,7 @@ Adapt for NetBSD & pkgsrc.
  # consider warnings as errors (for development)
  #CONFIG_WERROR=y
  # force 32 bit build for some utilities
-@@ -162,8 +169,10 @@ QJSBN_OBJS=$(OBJDIR)/qjs.bn.o $(OBJDIR)/
+@@ -165,8 +172,10 @@ QJSBN_OBJS=$(OBJDIR)/qjs.bn.o $(OBJDIR)/
  
  LIBS=-lm
  ifndef CONFIG_WIN32
@@ -32,4 +32,4 @@ Adapt for NetBSD & pkgsrc.
 +endif
  
  $(OBJDIR):
- 	mkdir -p $(OBJDIR)
+ 	mkdir -p $(OBJDIR) $(OBJDIR)/examples $(OBJDIR)/tests
diff --git a/quickjs/patches/patch-quickjs.c b/quickjs/patches/patch-quickjs.c
index 751af6d57f..f3845c6d59 100644
--- a/quickjs/patches/patch-quickjs.c
+++ b/quickjs/patches/patch-quickjs.c
@@ -2,7 +2,7 @@ $NetBSD$
 
 Adapt to NetBSD.
 
---- quickjs.c.orig	2019-08-10 10:58:42.000000000 +0000
+--- quickjs.c.orig	2019-10-27 10:55:35.000000000 +0000
 +++ quickjs.c
 @@ -105,6 +105,14 @@
  #include <pthread.h>
@@ -19,7 +19,7 @@ Adapt to NetBSD.
  #endif
  
  enum {
-@@ -1335,6 +1343,8 @@ static inline size_t js_def_malloc_usabl
+@@ -1347,6 +1355,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);
-@@ -1409,6 +1419,8 @@ static const JSMallocFunctions def_mallo
+@@ -1421,6 +1431,8 @@ static const JSMallocFunctions def_mallo
      NULL,
  #elif defined(__linux__)
      (size_t (*)(const void *))malloc_usable_size,


Home | Main Index | Thread Index | Old Index