lang/quickjs: Update 2019.10.27 -> 2020.04.12

This commit is contained in:
Yuri Victorovich
2020-05-30 05:36:57 +00:00
parent 3dd9016e8e
commit a37af3fc46
5 changed files with 14 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= quickjs
DISTVERSION= 2019.10.27
DISTVERSION= 2020.04.12
CATEGORIES= lang devel
MASTER_SITES= https://bellard.org/${PORTNAME}/
DISTNAME= ${PORTNAME}-${DISTVERSION:S/./-/g}

View File

@@ -1,3 +1,3 @@
TIMESTAMP = 1575699043
SHA256 (quickjs-2019-10-27.tar.xz) = 51cdca4eb7851d2eb8b28d442dfaa36213920171a0cf0ebc046802369434a176
SIZE (quickjs-2019-10-27.tar.xz) = 763012
TIMESTAMP = 1590816786
SHA256 (quickjs-2020-04-12.tar.xz) = 22b15f2cc910289821379dc8d314d35ef492f6d69d4419c9bcb1b2263e9d71c8
SIZE (quickjs-2020-04-12.tar.xz) = 741060

View File

@@ -1,6 +1,6 @@
--- quickjs-libc.c.orig 2019-09-18 18:34:20 UTC
--- quickjs-libc.c.orig 2020-04-12 13:18:13 UTC
+++ quickjs-libc.c
@@ -45,7 +45,7 @@
@@ -45,9 +45,13 @@
#include <termios.h>
#include <sys/ioctl.h>
#include <sys/wait.h>
@@ -8,4 +8,10 @@
+#if defined(__APPLE__) || defined(__FreeBSD__)
typedef sig_t sighandler_t;
#endif
+#endif
+
+#if defined(__FreeBSD__)
+extern char **environ;
#endif
#include "cutils.h"

View File

@@ -1,6 +1,6 @@
--- quickjs.c.orig 2019-09-18 18:34:20 UTC
--- quickjs.c.orig 2020-04-12 13:18:13 UTC
+++ quickjs.c
@@ -1423,7 +1423,7 @@ static const JSMallocFunctions def_malloc_funcs = {
@@ -1694,7 +1694,7 @@ static const JSMallocFunctions def_malloc_funcs = {
(size_t (*)(const void *))malloc_usable_size,
#else
/* change this to `NULL,` if compilation fails */

View File

@@ -1,9 +1,6 @@
bin/qjs
bin/qjsbn
bin/qjsbnc
bin/qjsc
bin/qjscalc
include/quickjs/quickjs-libc.h
include/quickjs/quickjs.h
lib/quickjs/libquickjs.a
lib/quickjs/libquickjs.bn.a