From owner-svn-ports-head@freebsd.org Thu Dec 17 04:13:14 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C8B7D4A9168; Thu, 17 Dec 2020 04:13:14 +0000 (UTC) (envelope-from yuri@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CxJWZ4s5jz4ppl; Thu, 17 Dec 2020 04:13:14 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 99417120FE; Thu, 17 Dec 2020 04:13:14 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BH4DErX089440; Thu, 17 Dec 2020 04:13:14 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BH4DDM3089436; Thu, 17 Dec 2020 04:13:13 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202012170413.0BH4DDM3089436@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 17 Dec 2020 04:13:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r558254 - in head/lang/hermes: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/lang/hermes: . files X-SVN-Commit-Revision: 558254 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2020 04:13:14 -0000 Author: yuri Date: Thu Dec 17 04:13:13 2020 New Revision: 558254 URL: https://svnweb.freebsd.org/changeset/ports/558254 Log: lang/hermes: Update 0.7.0 -> 0.7.2.20201216 Added: head/lang/hermes/files/patch-external_llvh_CMakeLists.txt (contents, props changed) Modified: head/lang/hermes/Makefile head/lang/hermes/distinfo head/lang/hermes/files/patch-lib_Support_OSCompatPosix.cpp Modified: head/lang/hermes/Makefile ============================================================================== --- head/lang/hermes/Makefile Thu Dec 17 02:40:59 2020 (r558253) +++ head/lang/hermes/Makefile Thu Dec 17 04:13:13 2020 (r558254) @@ -2,8 +2,7 @@ PORTNAME= hermes DISTVERSIONPREFIX= v -DISTVERSION= 0.7.0 -PORTREVISION= 1 +DISTVERSION= 0.7.2.20201216 CATEGORIES= lang PKGNAMESUFFIX= -javascript-engine @@ -19,9 +18,11 @@ LIB_DEPENDS= libicui18n.so:devel/icu TEST_DEPENDS= zip:archivers/zip USES= cmake compiler:c++11-lang python:test +USE_LDCONFIG= yes + USE_GITHUB= yes GH_ACCOUNT= facebook -USE_LDCONFIG= yes +GH_TAGNAME= d8b83099 CMAKE_OFF= HERMES_ENABLE_TEST_SUITE Modified: head/lang/hermes/distinfo ============================================================================== --- head/lang/hermes/distinfo Thu Dec 17 02:40:59 2020 (r558253) +++ head/lang/hermes/distinfo Thu Dec 17 04:13:13 2020 (r558254) @@ -1,3 +1,3 @@ -TIMESTAMP = 1600459005 -SHA256 (facebook-hermes-v0.7.0_GH0.tar.gz) = 29019d840f44459d34aa4edf87295333fd215222a8d49735aa55cf9b1849926c -SIZE (facebook-hermes-v0.7.0_GH0.tar.gz) = 7068167 +TIMESTAMP = 1608175014 +SHA256 (facebook-hermes-v0.7.2.20201216-d8b83099_GH0.tar.gz) = 14bcfa037a046a3a0499a9b7f06c99676cef3f0557295d3877f6b631ecbb9d46 +SIZE (facebook-hermes-v0.7.2.20201216-d8b83099_GH0.tar.gz) = 7739419 Added: head/lang/hermes/files/patch-external_llvh_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/hermes/files/patch-external_llvh_CMakeLists.txt Thu Dec 17 04:13:13 2020 (r558254) @@ -0,0 +1,10 @@ +Workaround for gtest-related breakage: https://github.com/facebook/hermes/issues/388 + +--- external/llvh/CMakeLists.txt.orig 2020-12-17 03:26:48 UTC ++++ external/llvh/CMakeLists.txt +@@ -27,4 +27,4 @@ add_subdirectory(lib) + add_subdirectory(utils/FileCheck) + add_subdirectory(utils/not) + add_subdirectory(utils/count) +-add_subdirectory(utils/unittest) ++#add_subdirectory(utils/unittest) Modified: head/lang/hermes/files/patch-lib_Support_OSCompatPosix.cpp ============================================================================== --- head/lang/hermes/files/patch-lib_Support_OSCompatPosix.cpp Thu Dec 17 02:40:59 2020 (r558253) +++ head/lang/hermes/files/patch-lib_Support_OSCompatPosix.cpp Thu Dec 17 04:13:13 2020 (r558254) @@ -1,6 +1,6 @@ ---- lib/Support/OSCompatPosix.cpp.orig 2020-08-03 19:19:06 UTC +--- lib/Support/OSCompatPosix.cpp.orig 2020-12-17 02:21:13 UTC +++ lib/Support/OSCompatPosix.cpp -@@ -23,6 +23,11 @@ +@@ -25,6 +25,11 @@ #endif #endif // __linux__ @@ -12,7 +12,7 @@ #include #include -@@ -213,7 +218,7 @@ void vm_unused(void *p, size_t sz) { +@@ -228,7 +233,7 @@ void vm_unused(void *p, size_t sz) { /// the process's physical footprint. #define MADV_UNUSED MADV_FREE @@ -21,7 +21,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. -@@ -414,6 +419,12 @@ uint64_t thread_id() { +@@ -554,6 +559,12 @@ uint64_t thread_id() { return syscall(__NR_gettid); } @@ -34,7 +34,7 @@ #else #error "Thread ID not supported on this platform" #endif -@@ -443,7 +454,7 @@ std::chrono::microseconds thread_cpu_time() { +@@ -595,7 +606,7 @@ std::chrono::microseconds thread_cpu_time() { return microseconds(total); } @@ -43,7 +43,7 @@ std::chrono::microseconds thread_cpu_time() { using namespace std::chrono; -@@ -480,7 +491,7 @@ bool thread_page_fault_count(int64_t *outMinorFaults, +@@ -632,7 +643,7 @@ bool thread_page_fault_count(int64_t *outMinorFaults, return kr == KERN_SUCCESS; }