From nobody Wed Mar 01 05:06:35 2023 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 4PRMf416PPz3vPbv; Wed, 1 Mar 2023 05:06:36 +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 4PRMf40d6Hz3ldN; Wed, 1 Mar 2023 05:06:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677647196; 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=XXyX94Wx5OSRleZHj63lcDOvZQiBYr/Y01unHdJl9T8=; b=NoSlgsMsslEqHyLyOAibJ3LZY3bfdJcUtjdfeF0R+MNOcaoGXcrvGjbFliIBsXOv2xSoNL +ep+u4WgAsqUSW7y/DGQCAjMvPmXkqrAfe59ElSLvZ1iO8Bk4qOKoEHlaGSGNBwGrpWRpU 4vzgnlClLljdpB3aqOP2q2m21X7n0bwDqVGSbiWQxSb/0l0gdr1AkWzsuMslVUMa8+8pV5 XLf7X+ahsHHpDCwwoS3D5pkudiouE1lRdhA0sJxxvSdRanNZkEKxvXSYORZ6IdGsYOqz54 ab+S0dYfbva3UR5r/mNB9+yd2S+bGAku008g7V6N3ZbCZQbaKbKCnyRHQVeBfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677647196; 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=XXyX94Wx5OSRleZHj63lcDOvZQiBYr/Y01unHdJl9T8=; b=WCXBQtCD8PsFxp4QuBhhLw4CTkINwUSMHnjUyHGRd8JKlrmX7TKXJSdMinb2WVYgS0Rrnw F4o36OyzYptDuYpljxV2OazPv3hflejhFZWbkKDs3Ljma08vhlZwkxbwjXhTsz0cZKbaae ia39nH8YUz5ORazckjs/iGtD9Mn2QMqNbsoLRJl4STwJzGzMUavC128XvtJZbzIGJcbusn g5iahHUXKYQh1XvXW1V6f6ZKTVXJpVlusW97D/SIWZD2fOg5PItDcVmFsGIwmWgByhuEtH Ga2X8CO/mXkdP7QRR7PVqJyk4CGUqCfCYYeQrGwOaWLyECzSjt4hY6cN4DC5Yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677647196; a=rsa-sha256; cv=none; b=r9KPf3wnVqlrAK0R/HqiU0KMZWTJgXo79UxR1YsbWDTmjq77McLzvldVMruWRJfbwfKee5 9j1hdFZzlvYCRLwv6PqS5t59lJW0k9fcWnX8bE/iFlE//tDCotopaDI6+/i39v4gmO0FTT wsKus8pT3GoKk7HX4vuBUu8qrWIpBXqMFVYmh4qUxqIOF91YQDDRjlAqmweAO+L+jSrw2R Ci5HbA8eeHrKUELZGMEub4pQOCVe1ZyAYmB2GrjVqKEplMy4rDwNpQbCiYTSQWzymKR+gU NprFk1wUtD68wqiC4SyQwrU+gZ03WV5E49dR3teiRsNuOrt2aq2I6EPKZkFD7w== 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 4PRMf36WPfzLnm; Wed, 1 Mar 2023 05:06:35 +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 32156Z4I068384; Wed, 1 Mar 2023 05:06:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32156Z1u068382; Wed, 1 Mar 2023 05:06:35 GMT (envelope-from git) Date: Wed, 1 Mar 2023 05:06:35 GMT Message-Id: <202303010506.32156Z1u068382@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Nagy Subject: git: beba79ea0400 - main - www/{chromium,ungoogled-chromium}: unbreak on FreeBSD < 13.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: rnagy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: beba79ea0400605b719e3ac7961bab51533159d5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=beba79ea0400605b719e3ac7961bab51533159d5 commit beba79ea0400605b719e3ac7961bab51533159d5 Author: Robert Nagy AuthorDate: 2023-02-28 09:35:39 +0000 Commit: Robert Nagy CommitDate: 2023-03-01 05:06:28 +0000 www/{chromium,ungoogled-chromium}: unbreak on FreeBSD < 13.0 support for memfd_create has been introduced in 13.0 so disable it on older releases PR: 269869 Reviewed by: rene (mentor) --- .../files/patch-third__party_wayland_include_config.h | 16 ++++++++++++++-- .../files/patch-third__party_wayland_include_config.h | 16 ++++++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/www/chromium/files/patch-third__party_wayland_include_config.h b/www/chromium/files/patch-third__party_wayland_include_config.h index 2dc3c949e7b5..ee8277613a92 100644 --- a/www/chromium/files/patch-third__party_wayland_include_config.h +++ b/www/chromium/files/patch-third__party_wayland_include_config.h @@ -1,6 +1,18 @@ ---- third_party/wayland/include/config.h.orig 2023-02-08 15:40:14 UTC +--- third_party/wayland/include/config.h.orig 2023-02-28 09:34:10 UTC +++ third_party/wayland/include/config.h -@@ -25,7 +25,11 @@ +@@ -9,7 +9,11 @@ + + #define HAVE_BROKEN_MSG_CMSG_CLOEXEC 0 + ++#if __FreeBSD__version > 1300000 + #define HAVE_MEMFD_CREATE ++#else ++#undef HAVE_MEMFD_CREATE ++#endif + + #define HAVE_MKOSTEMP + +@@ -25,7 +29,11 @@ #undef HAVE_SYS_PROCCTL_H diff --git a/www/ungoogled-chromium/files/patch-third__party_wayland_include_config.h b/www/ungoogled-chromium/files/patch-third__party_wayland_include_config.h index e6e2f7def1b4..ee8277613a92 100644 --- a/www/ungoogled-chromium/files/patch-third__party_wayland_include_config.h +++ b/www/ungoogled-chromium/files/patch-third__party_wayland_include_config.h @@ -1,6 +1,18 @@ ---- third_party/wayland/include/config.h.orig 2023-02-11 09:11:04 UTC +--- third_party/wayland/include/config.h.orig 2023-02-28 09:34:10 UTC +++ third_party/wayland/include/config.h -@@ -25,7 +25,11 @@ +@@ -9,7 +9,11 @@ + + #define HAVE_BROKEN_MSG_CMSG_CLOEXEC 0 + ++#if __FreeBSD__version > 1300000 + #define HAVE_MEMFD_CREATE ++#else ++#undef HAVE_MEMFD_CREATE ++#endif + + #define HAVE_MKOSTEMP + +@@ -25,7 +29,11 @@ #undef HAVE_SYS_PROCCTL_H