summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client')
-rw-r--r--www-client/qutebrowser/files/qutebrowser-3.1.0-qt663-tests.patch12
-rw-r--r--www-client/qutebrowser/qutebrowser-3.1.0.ebuild4
2 files changed, 16 insertions, 0 deletions
diff --git a/www-client/qutebrowser/files/qutebrowser-3.1.0-qt663-tests.patch b/www-client/qutebrowser/files/qutebrowser-3.1.0-qt663-tests.patch
new file mode 100644
index 000000000000..e262623ab1c7
--- /dev/null
+++ b/www-client/qutebrowser/files/qutebrowser-3.1.0-qt663-tests.patch
@@ -0,0 +1,12 @@
+6.6.3 and 6.7.0-rc start to emit a new warning that causes:
+test_browsertab.py:13: Failure: Qt messages with level WARNING or above emitted
+
+It still seems(?) to be able to find qutebrowser's installed dictionaries
+fine and spellchecking works. Let's just ignore this warning for now.
+--- a/pytest.ini
++++ b/pytest.ini
+@@ -63,2 +63,4 @@
+ Error in contacting registry: "org\.freedesktop\.DBus\.Error\.Disconnected" "Not connected to D-Bus server"
++ # Qt 6.6.3 and 6.7.0, not looked into but spellchecking still functions
++ ^Path override failed for key base::DIR_APP_DICTIONARIES and path .*
+ xfail_strict = true
diff --git a/www-client/qutebrowser/qutebrowser-3.1.0.ebuild b/www-client/qutebrowser/qutebrowser-3.1.0.ebuild
index 8bf80f2e1370..b71080584826 100644
--- a/www-client/qutebrowser/qutebrowser-3.1.0.ebuild
+++ b/www-client/qutebrowser/qutebrowser-3.1.0.ebuild
@@ -81,6 +81,10 @@ fi
distutils_enable_tests pytest
+PATCHES=(
+ "${FILESDIR}"/${P}-qt663-tests.patch
+)
+
src_prepare() {
distutils-r1_src_prepare