--- /dev/null
+From 81bf140583f7b7bf13cc8dd522e1ca2aba873fc4 Mon Sep 17 00:00:00 2001
+From: Martin Negyokru <negyokru@inf.u-szeged.hu>
+Date: Mon, 3 Oct 2022 12:20:00 +0200
+Subject: Do not intercept websocket connection when there is no associated
+ frame
+
+This fix is based on chrome's implementation.
+
+Fixes: QTBUG-107144
+Change-Id: If042e4156b8a4bdb27a210c4db94e3a6198aed7d
+Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
+(cherry picked from commit 64b7da9dab82713fdcb2e03d8a2715421eae5685)
+Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
+---
+ src/core/content_browser_client_qt.cpp | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp
+index 020ae916a..99a3aa3f4 100644
+--- a/src/core/content_browser_client_qt.cpp
++++ b/src/core/content_browser_client_qt.cpp
+@@ -1237,8 +1237,7 @@ ContentBrowserClientQt::WillCreateURLLoaderRequestInterceptors(content::Navigati
+
+ bool ContentBrowserClientQt::WillInterceptWebSocket(content::RenderFrameHost *frame)
+ {
+- Q_UNUSED(frame);
+- return true; // It is probably not worth it to only intercept when interceptors are installed
++ return frame != nullptr;
+ }
+
+ QWebEngineUrlRequestInterceptor *getProfileInterceptorFromFrame(content::RenderFrameHost *frame)
+--
+cgit v1.2.1
+
Summary(pl.UTF-8): Biblioteka Qt6
Name: qt6
Version: 6.4.0
-Release: 0.1
+Release: 1
License: LGPL v3 or GPL v2 or GPL v3 or commercial
Group: X11/Libraries
Source0: https://download.qt.io/official_releases/qt/6.4/%{version}/single/qt-everywhere-src-%{version}.tar.xz
Patch3: no-implicit-sse2.patch
Patch4: x32.patch
Patch5: llvm15.patch
+Patch6: github-crash.patch
URL: https://www.qt.io/
%{?with_directfb:BuildRequires: DirectFB-devel}
BuildRequires: EGL-devel
%description -n Qt6HttpServer
Qt6 HttpServer library provides HTTP server framework.
-%description -n Qt6HttpServer
+%description -n Qt6HttpServer -l pl.UTF-8
Biblioteka Qt6 HttpServer dostarcza szkielet do budowy serwera HTTP.
%package -n Qt6HttpServer-devel
Qt6 Quick3DPhysics library provides a high-level API for physics
simulation.
-%description -n Qt6Quick3DPhysics
+%description -n Qt6Quick3DPhysics -l pl.UTF-8
Biblioteka Qt6 Quick3DPhysics dostarcza wysokpoziomowe API do
symulacji fizycznych.
Qt6 SpatialAudio library provides support for sound fields in 3D
space.
-%description -n Qt6SpatialAudio
+%description -n Qt6SpatialAudio -l pl.UTF-8
Biblioteka Qt6 SpatialAudio dostarcza wsparcia dla pól dźwiękowych w
przestrzeni 3D.
Qt6 TextToSpeech library enables text read out by using speech
synthesis.
-%description -n Qt6TextToSpeech
+%description -n Qt6TextToSpeech -l pl.UTF-8
Biblioteka Qt6 TextToSpeech umożliwia odczytywanie tekstu przy użyciu
syntezatora mowy.
cd qttools
%patch5 -p1
cd ..
+cd qtwebengine
+%patch6 -p1
+cd ..
%{__sed} -i -e 's,usr/X11R6/,usr/,g' qtbase/mkspecs/linux-g++-64/qmake.conf