pkgsrc-WIP-changes archive

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

Update quickjs to version 2019-09-18.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Mon Sep 30 11:14:28 2019 +0200
Changeset:	f2354b343b2f0526a7907169b9ca9b3cf0538240

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

Log Message:
Update quickjs to version 2019-09-18.

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

Upstream changes:
  2019-09-18:
  - added os.exec and other system calls
  - exported JS_ValueToAtom()
  - qjsc: added 'qjsc_' prefix to the generated C identifiers
  - added cross-compilation support
  - misc bug fixes

  2019-09-01:
  - added globalThis
  - documented JS_EVAL_FLAG_COMPILE_ONLY
  - added import.meta.url and import.meta.main
  - added 'debugger' statement
  - 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=f2354b343b2f0526a7907169b9ca9b3cf0538240

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               | 10 +++++-----
 quickjs/patches/patch-Makefile | 39 ++-------------------------------------
 3 files changed, 8 insertions(+), 43 deletions(-)

diffs:
diff --git a/quickjs/Makefile b/quickjs/Makefile
index f20c8abfe5..789d018cba 100644
--- a/quickjs/Makefile
+++ b/quickjs/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 #
 
-DISTNAME=	quickjs-2019-08-18
+DISTNAME=	quickjs-2019-09-18
 CATEGORIES=	lang
 MASTER_SITES=	https://bellard.org/quickjs/
 EXTRACT_SUFX=	.tar.xz
diff --git a/quickjs/distinfo b/quickjs/distinfo
index 55b37b21f9..030ba3312f 100644
--- a/quickjs/distinfo
+++ b/quickjs/distinfo
@@ -1,10 +1,10 @@
 $NetBSD$
 
-SHA1 (quickjs-2019-08-18.tar.xz) = ce503cb4ef2930c95fe3b2c74fb3688e08012253
-RMD160 (quickjs-2019-08-18.tar.xz) = 19a95f6289b2544a9ae658a1227fd6e785798b55
-SHA512 (quickjs-2019-08-18.tar.xz) = bc189a27ce82e8c0a5581b073dce39ea052111f7df098570e6ce9d161b7cecd9f16e586826e83c157278d25ec25d754da7ea0a1b9dd802fb56ca777b5b8f98a5
-Size (quickjs-2019-08-18.tar.xz) = 757856 bytes
-SHA1 (patch-Makefile) = d96c2a797bb9bc7becc7f1217fc3d3457527d55f
+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 (patch-cutils.h) = 9719a77add566ce6443af1ac2ba1d1ea61e5c248
 SHA1 (patch-qjs.c) = d26b8ac0f7bf84bdb17fb4784f637dcb012cbd93
 SHA1 (patch-qjsc.c) = 9a1f46b46807d9ff0393cd7944416a5bb082bbbb
diff --git a/quickjs/patches/patch-Makefile b/quickjs/patches/patch-Makefile
index 77d1cbc3ad..2f05fd8727 100644
--- a/quickjs/patches/patch-Makefile
+++ b/quickjs/patches/patch-Makefile
@@ -1,11 +1,10 @@
 $NetBSD$
 
 Adapt for NetBSD & pkgsrc.
-Avoid to build 32 bit utilities: aarch64 gcc does not support `-m32'.
 
 --- Makefile.orig	2019-07-09 17:49:47.000000000 +0000
 +++ Makefile
-@@ -25,17 +25,26 @@
+@@ -25,10 +25,17 @@
  ifeq ($(shell uname -s),Darwin)
  CONFIG_DARWIN=y
  endif
@@ -22,17 +21,8 @@ Avoid to build 32 bit utilities: aarch64 gcc does not support `-m32'.
 +endif
  # consider warnings as errors (for development)
  #CONFIG_WERROR=y
- 
- ifndef CONFIG_WIN32
-+ifndef CONFIG_NETBSD
  # force 32 bit build for some utilities
- CONFIG_M32=y
- endif
-+endif
- ifdef CONFIG_DARWIN
- # use clang instead of gcc
- CONFIG_CLANG=y
-@@ -150,8 +159,10 @@ QJSBN_OBJS=$(OBJDIR)/qjs.bn.o $(OBJDIR)/
+@@ -162,8 +169,10 @@ QJSBN_OBJS=$(OBJDIR)/qjs.bn.o $(OBJDIR)/
  
  LIBS=-lm
  ifndef CONFIG_WIN32
@@ -43,28 +33,3 @@ Avoid to build 32 bit utilities: aarch64 gcc does not support `-m32'.
  
  $(OBJDIR):
  	mkdir -p $(OBJDIR)
-@@ -300,16 +311,16 @@ clean:
- 	rm -rf run-test262-debug run-test262-32 run-test262-bn32
- 
- install: all
--	mkdir -p "$(prefix)/bin"
--	install -m755 -s qjs qjsc qjsbn qjsbnc "$(prefix)/bin"
--	ln -sf qjsbn "$(prefix)/bin/qjscalc"
--	mkdir -p "$(prefix)/lib/quickjs"
--	install -m755 libquickjs.a libquickjs.bn.a "$(prefix)/lib/quickjs"
-+	mkdir -p "${DESTDIR}$(prefix)/bin"
-+	install -m755 -s qjs qjsc qjsbn qjsbnc "${DESTDIR}$(prefix)/bin"
-+	ln -sf qjsbn "${DESTDIR}$(prefix)/bin/qjscalc"
-+	mkdir -p "${DESTDIR}$(prefix)/lib/quickjs"
-+	install -m755 libquickjs.a libquickjs.bn.a "${DESTDIR}$(prefix)/lib/quickjs"
- ifdef CONFIG_LTO
--	install -m755 libquickjs.lto.a libquickjs.bn.lto.a "$(prefix)/lib/quickjs"
-+	install -m755 libquickjs.lto.a libquickjs.bn.lto.a "${DESTDIR}$(prefix)/lib/quickjs"
- endif
--	mkdir -p "$(prefix)/include/quickjs"
--	install -m755 quickjs.h quickjs-libc.h "$(prefix)/include/quickjs"
-+	mkdir -p "${DESTDIR}$(prefix)/include/quickjs"
-+	install -m755 quickjs.h quickjs-libc.h "${DESTDIR}$(prefix)/include/quickjs"
- 
- 
- ###############################################################################


Home | Main Index | Thread Index | Old Index