From nobody Wed Nov 17 10:49:18 2021 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 6A26C1856185; Wed, 17 Nov 2021 10:49:18 +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 4HvKRy2XMRz4WlM; Wed, 17 Nov 2021 10:49:18 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 32FEF1F455; Wed, 17 Nov 2021 10:49:18 +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 1AHAnIGO087061; Wed, 17 Nov 2021 10:49:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AHAnIRN087060; Wed, 17 Nov 2021 10:49:18 GMT (envelope-from git) Date: Wed, 17 Nov 2021 10:49:18 GMT Message-Id: <202111171049.1AHAnIRN087060@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 1f5e8f29b49e - main - devel/electron12: make online detection always positive 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: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1f5e8f29b49efc9569b74330cd1b225a4e9187b6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f5e8f29b49efc9569b74330cd1b225a4e9187b6 commit 1f5e8f29b49efc9569b74330cd1b225a4e9187b6 Author: Hiroki Tagato AuthorDate: 2021-11-17 10:47:48 +0000 Commit: Hiroki Tagato CommitDate: 2021-11-17 10:49:12 +0000 devel/electron12: make online detection always positive Obtained from: https://svnweb.freebsd.org/ports?view=revision&revision=555115 --- devel/electron12/Makefile | 1 + .../patch-net_base_network__change__notifier.cc | 21 +++++++++++---------- editors/vscode/Makefile | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/devel/electron12/Makefile b/devel/electron12/Makefile index 2518f9cf6af4..ff490741896c 100644 --- a/devel/electron12/Makefile +++ b/devel/electron12/Makefile @@ -1,6 +1,7 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER:S/-beta./.b/} +PORTREVISION= 1 CATEGORIES= devel java MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/:chromium \ https://commondatastorage.googleapis.com/chromium-fonts/:chromium_testfonts diff --git a/devel/electron12/files/patch-net_base_network__change__notifier.cc b/devel/electron12/files/patch-net_base_network__change__notifier.cc index f8dc53ace48b..301736f1b94c 100644 --- a/devel/electron12/files/patch-net_base_network__change__notifier.cc +++ b/devel/electron12/files/patch-net_base_network__change__notifier.cc @@ -1,4 +1,4 @@ ---- net/base/network_change_notifier.cc.orig 2021-04-14 01:08:52 UTC +--- net/base/network_change_notifier.cc.orig 2021-04-14 18:41:06 UTC +++ net/base/network_change_notifier.cc @@ -38,7 +38,7 @@ #include "net/base/network_change_notifier_linux.h" @@ -9,12 +9,13 @@ #include "net/base/network_change_notifier_posix.h" #elif defined(OS_FUCHSIA) #include "net/base/network_change_notifier_fuchsia.h" -@@ -241,7 +241,7 @@ std::unique_ptr NetworkChangeNo - // service in a separate process. - return std::make_unique(initial_type, - initial_subtype); --#elif BUILDFLAG(IS_CHROMEOS_ASH) -+#elif BUILDFLAG(IS_CHROMEOS_ASH) || defined(OS_BSD) - return std::make_unique(initial_type, - initial_subtype); - #elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) +@@ -252,6 +252,9 @@ std::unique_ptr NetworkChangeNo + #elif defined(OS_FUCHSIA) + return std::make_unique( + /*require_wlan=*/false); ++#elif defined(OS_BSD) ++ return std::make_unique( ++ /*dns_config_notifier*/nullptr); + #else + NOTIMPLEMENTED(); + return NULL; diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile index 8337771c1232..fa942f0ac858 100644 --- a/editors/vscode/Makefile +++ b/editors/vscode/Makefile @@ -1,6 +1,6 @@ PORTNAME= vscode DISTVERSION= 1.58.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= https://registry.npmjs.org/esbuild-freebsd-64/-/:esbuild_binary \ https://nodejs.org/dist/v${NODE_VER}/:node_headers \