From 9f5764da72a188fb787eafe6bb4bf389e4c3852b Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 8 May 2019 20:55:00 +0100 Subject: [PATCH] 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 --- .../files/fs-uae-launcher-2.8.3-QApplication.patch | 13 +++++++++++++ ...2.8.3.ebuild => fs-uae-launcher-2.8.3-r1.ebuild} | 1 + 2 files changed, 14 insertions(+) create mode 100644 app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch rename app-emulation/fs-uae-launcher/{fs-uae-launcher-2.8.3.ebuild => fs-uae-launcher-2.8.3-r1.ebuild} (98%) 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 000000000000..446bfd835912 --- /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 d782ea3d97b4..ea3355abae22 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() { -- 2.26.2