Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2020 04:13:13 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r558254 - in head/lang/hermes: . files
Message-ID:  <202012170413.0BH4DDM3089436@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sys/types.h>
  #include <unistd.h>
  
-@@ -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;
  }
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012170413.0BH4DDM3089436>