From nobody Sun Aug 28 21:53:26 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MG6lB2dmgz4ZT8K; Sun, 28 Aug 2022 21:53:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MG6lB28ppz3w1p; Sun, 28 Aug 2022 21:53:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661723606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wu7ZjHVHW90jp3nJgUl7+YoKziNolD0oAzWzMIgFAkw=; b=Nkx0mddhD2M4CyQYyEBtBnOEg2s4qS8M3ABiQMYe3UecRpGPHefFP85c3pcn6Oqflnim+V RVbwE0+shGwN44hCQjO8nNR14oLLHZTHodvWF54rIBbLFg18JkLzPTg08oY5Xz8YFz5jBo QZLiuGEFuZSOv0dbmuZtkktdoRfwSgPOpZjpVupYGCvDz1lftnUDpbg0z4tgin1W6gx7LD 16CTJCWyg/E91FRilxMhemB8JBjEnygDXfBsRl0XyGKYyGv39eIaSj2CYEhOUnzYDKXLTy n1BTs5u8xaU8g3cabfXnGeitIkprR4mxa67mvFsA8mW6W9SqsqfW8ZTGgj73mQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MG6lB1GGmz1Csx; Sun, 28 Aug 2022 21:53:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27SLrQ7t083859; Sun, 28 Aug 2022 21:53:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27SLrQZX083858; Sun, 28 Aug 2022 21:53:26 GMT (envelope-from git) Date: Sun, 28 Aug 2022 21:53:26 GMT Message-Id: <202208282153.27SLrQZX083858@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 44a590c56ed4 - main - lang/hermes: Update 0.11.0 -> 0.12.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 44a590c56ed4ed8098ea2cff4ad240853b0280ed Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661723606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wu7ZjHVHW90jp3nJgUl7+YoKziNolD0oAzWzMIgFAkw=; b=Kp9Yb4osNuQm8YSg9YykEr8hfTZWq1YFIMrHcMFDqAOnWPcj9IS04jAKqnPxLPeOrl5aXX cb90PEllLrrpwAywBhv5E5swFhrFMUmhzFFZNpMTst7Xxg77tXWZkVCT88x+j9shzVwdno YkD1/CGZMVwcZioEmd1w3Fww43h5n102vrmWkIiMIvZtKaTFWL0PuL8x7C77NQGiQNY3Xf iUqxkKuTBb6sVwU/MMcXzJaw3LSgyQxy8KsO5AOasq7xf8FOjMUAuoli/5r3rxA8mDmpsM Kc51uKxTXveikBkZVQJe8JfnMUvNcRpseiuv95VS4Csm3zlHlJnqJibRcorY1A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661723606; a=rsa-sha256; cv=none; b=nG18HFNk7g5aMInsNNUUzBygVOHxqhbLKE6EOO5pSzaew+0+d6ltrq3gend8Wz+qrT01Nc ZmKTtlKkRK3mrRVRqfvY6gRCohAcNbFdPBO8QT+8nUZbSjFSfSDwKCQ+/+j7k3YpAc3ZDn 1O7lLsIKulA6MCsYAxmae4BMtiH7JZd5H9HCS5wkviyP7ghZ6cX1Df5NCmBxKFSg+xvQ+a dkMcm/achmPVZt2A3sdM1AV8BOfFpiqW4xKyDOK2EiMUWSBdPI4sUAr4q9f8qyeLgBoYfL DCyVjL2tdNWsIAtW837BlRQCs/Kn9Xh1AjF1knySw7ESqOvhxYf//bfzwPsuYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=44a590c56ed4ed8098ea2cff4ad240853b0280ed commit 44a590c56ed4ed8098ea2cff4ad240853b0280ed Author: Yuri Victorovich AuthorDate: 2022-08-28 21:51:55 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-28 21:53:19 +0000 lang/hermes: Update 0.11.0 -> 0.12.0 Reported by: portscout --- lang/hermes/Makefile | 3 +-- lang/hermes/distinfo | 6 +++--- lang/hermes/files/patch-lib_Support_OSCompatPosix.cpp | 19 ++++++++++++++----- lang/hermes/pkg-plist | 2 ++ 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/lang/hermes/Makefile b/lang/hermes/Makefile index 311a6c76cbd0..6a07d4ca47a8 100644 --- a/lang/hermes/Makefile +++ b/lang/hermes/Makefile @@ -1,7 +1,6 @@ PORTNAME= hermes DISTVERSIONPREFIX= v -DISTVERSION= 0.11.0 -PORTREVISION= 1 +DISTVERSION= 0.12.0 CATEGORIES= lang PKGNAMESUFFIX= -javascript-engine diff --git a/lang/hermes/distinfo b/lang/hermes/distinfo index 0280ad1325cb..3f463d99ba53 100644 --- a/lang/hermes/distinfo +++ b/lang/hermes/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1643906545 -SHA256 (facebook-hermes-v0.11.0_GH0.tar.gz) = 56ed165a87215a2259ed4cb0efa573e93316df79ae4c66c571eb3411be144b06 -SIZE (facebook-hermes-v0.11.0_GH0.tar.gz) = 9617127 +TIMESTAMP = 1661721316 +SHA256 (facebook-hermes-v0.12.0_GH0.tar.gz) = bd8fd158381813483123eb1ab553ed08db68e4949f314c99ee8fa79fa8f3e7ed +SIZE (facebook-hermes-v0.12.0_GH0.tar.gz) = 9794161 diff --git a/lang/hermes/files/patch-lib_Support_OSCompatPosix.cpp b/lang/hermes/files/patch-lib_Support_OSCompatPosix.cpp index 75b51a747c0c..48f23c45e7fd 100644 --- a/lang/hermes/files/patch-lib_Support_OSCompatPosix.cpp +++ b/lang/hermes/files/patch-lib_Support_OSCompatPosix.cpp @@ -1,4 +1,4 @@ ---- lib/Support/OSCompatPosix.cpp.orig 2020-12-17 02:21:13 UTC +--- lib/Support/OSCompatPosix.cpp.orig 2022-08-16 18:18:07 UTC +++ lib/Support/OSCompatPosix.cpp @@ -25,6 +25,11 @@ #endif @@ -12,7 +12,16 @@ #include #include -@@ -228,7 +233,7 @@ void vm_unused(void *p, size_t sz) { +@@ -221,7 +226,7 @@ void vm_free_aligned(void *p, size_t sz) { + + static constexpr int kVMReserveProt = PROT_NONE; + static constexpr int kVMReserveFlags = +- MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE; ++ MAP_PRIVATE | MAP_ANONYMOUS; + + llvh::ErrorOr + vm_reserve_aligned(size_t sz, size_t alignment, void *hint) { +@@ -269,7 +274,7 @@ void vm_unused(void *p, size_t sz) { /// the process's physical footprint. #define MADV_UNUSED MADV_FREE @@ -21,7 +30,7 @@ /// On linux, telling the OS that we \p MADV_DONTNEED some pages will cause it /// to immediately deduct their size from the process's resident set. -@@ -554,6 +559,12 @@ uint64_t thread_id() { +@@ -599,6 +604,12 @@ uint64_t thread_id() { return syscall(__NR_gettid); } @@ -34,7 +43,7 @@ #else #error "Thread ID not supported on this platform" #endif -@@ -595,7 +606,7 @@ std::chrono::microseconds thread_cpu_time() { +@@ -640,7 +651,7 @@ std::chrono::microseconds thread_cpu_time() { return microseconds(total); } @@ -43,7 +52,7 @@ std::chrono::microseconds thread_cpu_time() { using namespace std::chrono; -@@ -632,7 +643,7 @@ bool thread_page_fault_count(int64_t *outMinorFaults, +@@ -677,7 +688,7 @@ bool thread_page_fault_count(int64_t *outMinorFaults, return kr == KERN_SUCCESS; } diff --git a/lang/hermes/pkg-plist b/lang/hermes/pkg-plist index d2a9fe626eee..9e7bc4a4217a 100644 --- a/lang/hermes/pkg-plist +++ b/lang/hermes/pkg-plist @@ -11,6 +11,8 @@ include/hermes/Public/CtorConfig.h include/hermes/Public/DebuggerTypes.h include/hermes/Public/GCConfig.h include/hermes/Public/GCTripwireContext.h +include/hermes/Public/HermesExport.h +include/hermes/Public/JSOutOfMemoryError.h include/hermes/Public/RuntimeConfig.h include/hermes/SynthTrace.h include/hermes/SynthTraceParser.h