From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0013615800A for ; Wed, 9 Aug 2023 18:07:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 312E72BC01D; Wed, 9 Aug 2023 18:07:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 01E212BC01D for ; Wed, 9 Aug 2023 18:07:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DD7033BE19 for ; Wed, 9 Aug 2023 18:07:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 469F0F1F for ; Wed, 9 Aug 2023 18:07:34 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1691604450.82b844e81dc6416ba68a67315ded3f75aeef8789.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/webkit-gtk/, net-libs/webkit-gtk/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/webkit-gtk/files/2.40.5-Fix-build-failure-when-gstreamer-support-is-disabled.patch net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild net-libs/webkit-gtk/webkit-gtk-2.40.5-r600.ebuild net-libs/webkit-gtk/webkit-gtk-2.40.5.ebuild X-VCS-Directories: net-libs/webkit-gtk/files/ net-libs/webkit-gtk/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 82b844e81dc6416ba68a67315ded3f75aeef8789 X-VCS-Branch: master Date: Wed, 9 Aug 2023 18:07:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 053a087e-5fa7-43d6-867d-5780752b4c1c X-Archives-Hash: cbacbc28a3437516bf19fa185982c934 commit: 82b844e81dc6416ba68a67315ded3f75aeef8789 Author: Matt Turner gentoo org> AuthorDate: Wed Aug 9 18:00:36 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Wed Aug 9 18:07:30 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b844e8 net-libs/webkit-gtk: Fix build with USE=-gstreamer Closes: https://bugs.gentoo.org/911663 Signed-off-by: Matt Turner gentoo.org> ...ailure-when-gstreamer-support-is-disabled.patch | 33 ++++++++++++++++++++++ net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild | 6 ++++ net-libs/webkit-gtk/webkit-gtk-2.40.5-r600.ebuild | 6 ++++ net-libs/webkit-gtk/webkit-gtk-2.40.5.ebuild | 6 ++++ 4 files changed, 51 insertions(+) diff --git a/net-libs/webkit-gtk/files/2.40.5-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/net-libs/webkit-gtk/files/2.40.5-Fix-build-failure-when-gstreamer-support-is-disabled.patch new file mode 100644 index 000000000000..f59f3ee09780 --- /dev/null +++ b/net-libs/webkit-gtk/files/2.40.5-Fix-build-failure-when-gstreamer-support-is-disabled.patch @@ -0,0 +1,33 @@ +https://github.com/WebKit/WebKit/pull/16398 + +From f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 Mon Sep 17 00:00:00 2001 +From: Matt Turner +Date: Tue, 8 Aug 2023 16:51:25 -0700 +Subject: [PATCH] Fix build failure when gstreamer support is disabled + https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 + +Reviewed by Carlos Alberto Lopez Perez. + +* Source/WebCore/loader/MixedContentChecker.cpp: + +Canonical link: https://commits.webkit.org/260527.429@fix-build +--- + Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp +index 9b4c7fe62020..ac4733bc08bc 100644 +--- a/Source/WebCore/loader/MixedContentChecker.cpp ++++ b/Source/WebCore/loader/MixedContentChecker.cpp +@@ -33,6 +33,8 @@ + #include "ContentSecurityPolicy.h" + #include "Document.h" + #include "Frame.h" ++#include "FrameLoader.h" ++#include "FrameLoaderClient.h" + #include "SecurityOrigin.h" + + namespace WebCore { +-- +2.41.0 + diff --git a/net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild index 46521ce3874e..0a80902a1200 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild @@ -122,6 +122,10 @@ S="${WORKDIR}/${MY_P}" CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 +# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and +# gnome2_src_prepare, and both apply ${PATCHES[@]} +PATCHES=() + pkg_pretend() { if [[ ${MERGE_TYPE} != "binary" ]] ; then if is-flagq "-g*" && ! is-flagq "-g*0" ; then @@ -146,6 +150,8 @@ pkg_setup() { src_prepare() { cmake_src_prepare gnome2_src_prepare + + eapply "${FILESDIR}/${PV}-Fix-build-failure-when-gstreamer-support-is-disabled.patch" } src_configure() { diff --git a/net-libs/webkit-gtk/webkit-gtk-2.40.5-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.40.5-r600.ebuild index 4e2e199e53c8..eebf464f2fd0 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.40.5-r600.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.40.5-r600.ebuild @@ -123,6 +123,10 @@ S="${WORKDIR}/${MY_P}" CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 +# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and +# gnome2_src_prepare, and both apply ${PATCHES[@]} +PATCHES=() + pkg_pretend() { if [[ ${MERGE_TYPE} != "binary" ]] ; then if is-flagq "-g*" && ! is-flagq "-g*0" ; then @@ -147,6 +151,8 @@ pkg_setup() { src_prepare() { cmake_src_prepare gnome2_src_prepare + + eapply "${FILESDIR}/${PV}-Fix-build-failure-when-gstreamer-support-is-disabled.patch" } src_configure() { diff --git a/net-libs/webkit-gtk/webkit-gtk-2.40.5.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.40.5.ebuild index 0af88789a7fa..460653b5eb96 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.40.5.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.40.5.ebuild @@ -120,6 +120,10 @@ S="${WORKDIR}/${MY_P}" CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 +# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and +# gnome2_src_prepare, and both apply ${PATCHES[@]} +PATCHES=() + pkg_pretend() { if [[ ${MERGE_TYPE} != "binary" ]] ; then if is-flagq "-g*" && ! is-flagq "-g*0" ; then @@ -144,6 +148,8 @@ pkg_setup() { src_prepare() { cmake_src_prepare gnome2_src_prepare + + eapply "${FILESDIR}/${PV}-Fix-build-failure-when-gstreamer-support-is-disabled.patch" } src_configure() {