diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-28 14:51:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-28 14:51:38 +0000 |
commit | d414c993cafd9e31a370c4a5aae042c710df2419 (patch) | |
tree | a4e123f32e84e3c7c7fdde2f083b1831f018bef6 /games-util/lutris/files | |
parent | 21dbcce41990b13f301240313be05c8d013a9258 (diff) |
gentoo auto-resync : 28:01:2023 - 14:51:38
Diffstat (limited to 'games-util/lutris/files')
-rw-r--r-- | games-util/lutris/files/lutris-0.5.13-webkit-gtk-4-1.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/games-util/lutris/files/lutris-0.5.13-webkit-gtk-4-1.patch b/games-util/lutris/files/lutris-0.5.13-webkit-gtk-4-1.patch new file mode 100644 index 000000000000..9685a826878b --- /dev/null +++ b/games-util/lutris/files/lutris-0.5.13-webkit-gtk-4-1.patch @@ -0,0 +1,17 @@ +diff --git a/lutris/gui/dialogs/webconnect_dialog.py b/lutris/gui/dialogs/webconnect_dialog.py +index 12fbbdc..a6cd838 100644 +--- a/lutris/gui/dialogs/webconnect_dialog.py ++++ b/lutris/gui/dialogs/webconnect_dialog.py +@@ -3,7 +3,11 @@ import os + from gettext import gettext as _ + + import gi +-gi.require_version("WebKit2", "4.0") ++try: ++ gi.require_version("WebKit2", "4.1") ++except (ImportError, ValueError): ++ gi.require_version("WebKit2", "4.0") ++ + from gi.repository import WebKit2 + + from lutris.gui.dialogs import ModalDialog |