git: 372dc27565a0 - main - lang/quickjs: update 2021.03.27 → 2024.01.13
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jul 2024 07:51:05 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=372dc27565a02d4a7d1c2c23a130461f927cef4f commit 372dc27565a02d4a7d1c2c23a130461f927cef4f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-07-08 06:42:59 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-07-08 07:50:59 +0000 lang/quickjs: update 2021.03.27 → 2024.01.13 --- lang/quickjs/Makefile | 3 +-- lang/quickjs/distinfo | 6 +++--- lang/quickjs/files/patch-Makefile | 36 ++++++++++++++++++------------------ 3 files changed, 22 insertions(+), 23 deletions(-) diff --git a/lang/quickjs/Makefile b/lang/quickjs/Makefile index d0fee1c80e1b..cf25ca6e8e1b 100644 --- a/lang/quickjs/Makefile +++ b/lang/quickjs/Makefile @@ -1,6 +1,5 @@ PORTNAME= quickjs -DISTVERSION= 2021.03.27 -PORTREVISION= 2 +DISTVERSION= 2024.01.13 CATEGORIES= lang devel MASTER_SITES= https://bellard.org/${PORTNAME}/ DISTNAME= ${PORTNAME}-${DISTVERSION:S/./-/g} diff --git a/lang/quickjs/distinfo b/lang/quickjs/distinfo index df7c9ac6d114..4a2d8a640c6b 100644 --- a/lang/quickjs/distinfo +++ b/lang/quickjs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1621877002 -SHA256 (quickjs-2021-03-27.tar.xz) = a45bface4c3379538dea8533878d694e289330488ea7028b105f72572fe7fe1a -SIZE (quickjs-2021-03-27.tar.xz) = 753556 +TIMESTAMP = 1720420387 +SHA256 (quickjs-2024-01-13.tar.xz) = 3c4bf8f895bfa54beb486c8d1218112771ecfc5ac3be1036851ef41568212e03 +SIZE (quickjs-2024-01-13.tar.xz) = 765800 diff --git a/lang/quickjs/files/patch-Makefile b/lang/quickjs/files/patch-Makefile index f7bd7b4b90a4..de339994472a 100644 --- a/lang/quickjs/files/patch-Makefile +++ b/lang/quickjs/files/patch-Makefile @@ -1,14 +1,14 @@ ---- Makefile.orig 2023-10-23 23:26:12 UTC +--- Makefile.orig 2024-07-08 06:33:18 UTC +++ Makefile -@@ -76,6 +76,7 @@ ifdef CONFIG_CLANG +@@ -79,6 +79,7 @@ ifdef CONFIG_CLANG HOST_CC=clang CC=$(CROSS_PREFIX)clang - CFLAGS=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d + CFLAGS+=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d + CFLAGS += -fPIC CFLAGS += -Wextra CFLAGS += -Wno-sign-compare CFLAGS += -Wno-missing-field-initializers -@@ -156,9 +157,9 @@ endif +@@ -178,9 +179,9 @@ endif ifdef CONFIG_M32 PROGS+=qjs32 qjs32_s endif @@ -20,7 +20,7 @@ endif # examples -@@ -235,12 +236,12 @@ else +@@ -255,12 +256,12 @@ endif LTOEXT= endif @@ -37,21 +37,21 @@ endif # CONFIG_LTO repl.c: $(QJSC) repl.js -@@ -311,10 +312,10 @@ install: all +@@ -331,10 +332,10 @@ install: all $(STRIP) qjs qjsc - install -m755 qjs qjsc "$(DESTDIR)$(prefix)/bin" - ln -sf qjs "$(DESTDIR)$(prefix)/bin/qjscalc" -- mkdir -p "$(DESTDIR)$(prefix)/lib/quickjs" -- install -m644 libquickjs.a "$(DESTDIR)$(prefix)/lib/quickjs" -+ mkdir -p "$(DESTDIR)$(prefix)/lib" -+ install -m644 libquickjs.so "$(DESTDIR)$(prefix)/lib" + install -m755 qjs qjsc "$(DESTDIR)$(PREFIX)/bin" + ln -sf qjs "$(DESTDIR)$(PREFIX)/bin/qjscalc" +- mkdir -p "$(DESTDIR)$(PREFIX)/lib/quickjs" +- install -m644 libquickjs.a "$(DESTDIR)$(PREFIX)/lib/quickjs" ++ mkdir -p "$(DESTDIR)$(PREFIX)/lib" ++ install -m644 libquickjs.so "$(DESTDIR)$(PREFIX)/lib" ifdef CONFIG_LTO -- install -m644 libquickjs.lto.a "$(DESTDIR)$(prefix)/lib/quickjs" -+ install -m644 libquickjs.lto.so "$(DESTDIR)$(prefix)/lib" +- install -m644 libquickjs.lto.a "$(DESTDIR)$(PREFIX)/lib/quickjs" ++ install -m644 libquickjs.lto.so "$(DESTDIR)$(PREFIX)/lib" endif - mkdir -p "$(DESTDIR)$(prefix)/include/quickjs" - install -m644 quickjs.h quickjs-libc.h "$(DESTDIR)$(prefix)/include/quickjs" -@@ -347,7 +348,7 @@ HELLO_MODULE_SRCS=examples/hello_module.js + mkdir -p "$(DESTDIR)$(PREFIX)/include/quickjs" + install -m644 quickjs.h quickjs-libc.h "$(DESTDIR)$(PREFIX)/include/quickjs" +@@ -364,7 +365,7 @@ HELLO_MODULE_OPTS=-fno-string-normalize -fno-map -fno- HELLO_MODULE_OPTS=-fno-string-normalize -fno-map -fno-promise -fno-typedarray \ -fno-typedarray -fno-regexp -fno-json -fno-eval -fno-proxy \ -fno-date -m @@ -60,7 +60,7 @@ $(QJSC) $(HELLO_MODULE_OPTS) -o $@ $(HELLO_MODULE_SRCS) # use of an external C module (static compilation) -@@ -355,7 +356,7 @@ examples/hello_module: $(QJSC) libquickjs$(LTOEXT).a $ +@@ -372,7 +373,7 @@ test_fib.c: $(QJSC) examples/test_fib.js test_fib.c: $(QJSC) examples/test_fib.js $(QJSC) -e -M examples/fib.so,fib -m -o $@ examples/test_fib.js