From nobody Thu May 26 10:51:33 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 5127E1B45D24; Thu, 26 May 2022 10:51:34 +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 4L84Vt16lqz4ygZ; Thu, 26 May 2022 10:51:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653562294; 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=MVVWuCXlWVeWKrNcUPoc4AkMhLqQhA1nKh1sCfCRHsw=; b=Xf3+mJ+sPdeUxrfaUzcYwFQ1ZTiYqNdg/g0iwTZPSwZM8DfggX5vvkjjIW3QO0GNdYUm9X LC3NASqz5TA5Z0vrpXOzw6vinDMkon6O+ZfhloW9vopruNLsbBdT0+dyI4XsDEbEKT2l8D QeFGJnbqXxZ/AKlB7wxAwteYxwcQ9e18dyafsLV6H9dQ7Hhxbqk0Xay00aD0EbbIsSay2J HKAhZwU5rjivensY0Fz9jH6ke17DvQezHq1bBw/8cXLfmqtf6Ji1BmO1/Z7uEEYwrBn87r cjEOhQ0MpO05iI7C8iCasDNqozhBly82zxXUCe/O1JonMpftBAjDmkSgpCxByw== 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 E9A5C49AB; Thu, 26 May 2022 10:51:33 +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 24QApXQ6005454; Thu, 26 May 2022 10:51:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24QApXDO005453; Thu, 26 May 2022 10:51:33 GMT (envelope-from git) Date: Thu, 26 May 2022 10:51:33 GMT Message-Id: <202205261051.24QApXDO005453@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: d93692acad4c - main - www/chromium: unbreak runtime by fixing up a bad merge in the bundled libevent 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: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d93692acad4c70e6818a7f0d6a27065b1497417b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653562294; 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=MVVWuCXlWVeWKrNcUPoc4AkMhLqQhA1nKh1sCfCRHsw=; b=JfrkicU74qfhJSLpAuIjz64bKw+BFsr8rpRzsDsVlTA5GshWSu88lY0XjuHHspKELaQqaz tc/3qvHUEyjwHSGkc6q2p6METObhlyWWALhDrAPucnCMZ7KMxdzWIQcPGTWqL/q92bu/om 8pnRdnFc2wHPKnkz1+K9qKI8UoW1p1lRHWR6UMVsXpGpZ4D5ZfZRpuYf7PmLv8jaPRPqIx zezP5maozYY6Dzxy4USKr+qC87LzOZmKXl4Qut0onVwDPRDc+YG4vnm7f2kLWA0b5PvyDm Ak3s8ACNOn+FpqA2mANwnKVNUFnTEEuaICAcMXbIaqKCTrOwe7KMobrPmpf+Uw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653562294; a=rsa-sha256; cv=none; b=R2uvllJjLraGfvyOTswLwnz5Kkhn2yxISAPgfXiRXcZcKA6269m7JTYEmXtnKO0ueSMrUj Pt9m45Z1FJRN2PIwGTtYuVVoUepqJ7bLsMt6gbyFPn047q6VaxVfQLg+yqYgCWiGflWc4P 7pkoT7hhSYBgnTFIF+ILpXlAiXpcdPp+s3u01gIQYAP+ZObUsX+HxayBZfELSUIf7dSVy2 mxalENYfXPvYGfYiD1vrufcRQSHBMSpmFAQMDWuvuDjCVADKJ5Da7DvnnvFuk4bEmgBnrc yI3LaTa51mqSGO5s2z5aUxmSw/5CbZYh9ueJjVRNW17p7ASrRKAUaQiAEDzxhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=d93692acad4c70e6818a7f0d6a27065b1497417b commit d93692acad4c70e6818a7f0d6a27065b1497417b Author: Robert Nagy AuthorDate: 2022-05-25 20:56:03 +0000 Commit: Rene Ladan CommitDate: 2022-05-26 10:48:46 +0000 www/chromium: unbreak runtime by fixing up a bad merge in the bundled libevent PR: 264236 Reported by: Oleh Hushchenkov Fixes: 6dc209ad0a87 "www/chromium: update to 102.0.5005.61" --- www/chromium/Makefile | 1 + .../patch-base_third__party_libevent_BUILD.gn | 101 +++++---------------- 2 files changed, 23 insertions(+), 79 deletions(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 0f1af3a86296..c2b4250a65aa 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -2,6 +2,7 @@ PORTNAME= chromium PORTVERSION= 102.0.5005.61 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ https://nerd.hu/distfiles/:fonts diff --git a/www/chromium/files/patch-base_third__party_libevent_BUILD.gn b/www/chromium/files/patch-base_third__party_libevent_BUILD.gn index 46693612438d..22a313def647 100644 --- a/www/chromium/files/patch-base_third__party_libevent_BUILD.gn +++ b/www/chromium/files/patch-base_third__party_libevent_BUILD.gn @@ -1,81 +1,24 @@ ---- base/third_party/libevent/BUILD.gn.orig 2022-05-19 14:06:27 UTC +--- base/third_party/libevent/BUILD.gn.orig 2022-05-25 19:07:37 UTC +++ base/third_party/libevent/BUILD.gn -@@ -1,69 +1,15 @@ --# Copyright (c) 2013 The Chromium Authors. All rights reserved. -+# Copyright 2016 The Chromium Authors. All rights reserved. - # Use of this source code is governed by a BSD-style license that can be - # found in the LICENSE file. - --import("//build/config/nacl/config.gni") -+import("//build/shim_headers.gni") - --static_library("libevent") { -- sources = [ -- "buffer.c", -- "evbuffer.c", -- "evdns.c", -- "evdns.h", -- "event-config.h", -- "event-internal.h", -- "event.c", -- "event.h", -- "event_tagging.c", -- "evhttp.h", -- "evrpc-internal.h", -- "evrpc.c", -- "evrpc.h", -- "evsignal.h", -- "evutil.c", -- "evutil.h", -- "http-internal.h", -- "http.c", -- "log.c", -- "log.h", -- "min_heap.h", -- "poll.c", -- "select.c", -- "signal.c", -- "strlcpy-internal.h", -- "strlcpy.c", -- ] -+shim_headers("libevent_shim") { -+ root_path = "." -+ headers = [ "event.h" ] -+} - -- defines = [ "HAVE_CONFIG_H" ] -- -- if (is_apple) { -- sources += [ -- "kqueue.c", -- "mac/config.h", -- "mac/event-config.h", -- ] -- include_dirs = [ "mac" ] +@@ -43,13 +43,20 @@ static_library("libevent") { + "mac/event-config.h", + ] + include_dirs = [ "mac" ] - } else if (is_linux || is_chromeos) { -- sources += [ -- "epoll.c", -- "linux/config.h", -- "linux/event-config.h", -- ] -- include_dirs = [ "linux" ] -- } else if (is_android) { -- sources += [ -- "android/config.h", -- "android/event-config.h", -- "epoll.c", -- ] -- include_dirs = [ "android" ] -- } -- -- if (!is_debug) { -- configs -= [ "//build/config/compiler:default_optimization" ] -- configs += [ "//build/config/compiler:optimize_max" ] -- } -- -- configs -= [ "//build/config/compiler:chromium_code" ] -- configs += [ "//build/config/compiler:no_chromium_code" ] -+source_set("libevent") { -+ deps = [ ":libevent_shim" ] -+ libs = [ "event" ] - } ++ } else if ((is_linux || is_chromeos) && !is_bsd) { + sources += [ + "epoll.c", + "linux/config.h", + "linux/event-config.h", + ] + include_dirs = [ "linux" ] ++ } else if (is_bsd) { ++ sources += [ ++ "kqueue.c", ++ "freebsd/config.h", ++ "freebsd/event-config.h", ++ ] ++ include_dirs = [ "freebsd" ] + } else if (is_android) { + sources += [ + "android/config.h",