commit:     9f5764da72a188fb787eafe6bb4bf389e4c3852b
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed May  8 19:55:00 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed May  8 19:57:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f5764da

app-emulation/fs-uae-launcher: Patch around crash under KDE Plasma

This issue affects PyQt5 in general but I don't know the proper
solution and it's easy to patch around.

Closes: https://bugs.gentoo.org/684948
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../files/fs-uae-launcher-2.8.3-QApplication.patch          | 13 +++++++++++++
 ...auncher-2.8.3.ebuild => fs-uae-launcher-2.8.3-r1.ebuild} |  1 +
 2 files changed, 14 insertions(+)

diff --git 
a/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch 
b/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch
new file mode 100644
index 00000000000..446bfd83591
--- /dev/null
+++ 
b/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/684948
+
+--- fs-uae-launcher-2.8.3/fsui/qt/qt.py        2017-01-08 19:48:56.000000000 
+0000
++++ fs-uae-launcher-2.8.3/fsui/qt/qt.py        2019-05-03 22:28:16.979041988 
+0100
+@@ -60,7 +60,7 @@
+     # fix_qt_for_maverick()
+ 
+     fsbc.desktop.set_open_url_in_browser_function(open_url_in_browser)
+-    qapplication = QtBaseApplication([])
++    qapplication = QtBaseApplication([''])
+     initialize_qt_style(qapplication)
+     return qapplication
+ 

diff --git a/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild 
b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3-r1.ebuild
similarity index 98%
rename from app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild
rename to app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3-r1.ebuild
index d782ea3d97b..ea3355abae2 100644
--- a/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild
+++ b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3-r1.ebuild
@@ -30,6 +30,7 @@ DEPEND="
 
 PATCHES=(
        "${FILESDIR}"/${P}-German-ROMs.patch
+       "${FILESDIR}"/${P}-QApplication.patch
 )
 
 src_prepare() {

Reply via email to