summaryrefslogtreecommitdiffstats
path: root/libraries/PyQt5/patches/pyqt5-python2-crash.patch
diff options
context:
space:
mode:
author Dave Woodfall <dave@slackbuilds.org>2020-01-27 13:18:45 +0000
committer Dave Woodfall <dave@slackbuilds.org>2020-04-05 16:23:13 +0100
commite62bd66ce73e15a9f7526e2f417727e517b5f0a0 (patch)
treeb1f717668e9e234970a76f1a4b1a8878943c63bf /libraries/PyQt5/patches/pyqt5-python2-crash.patch
parent1eb5faf1f910d167631069859450856ecd86decb (diff)
downloadslackbuilds-e62bd66ce73e15a9f7526e2f417727e517b5f0a0.tar.gz
slackbuilds-e62bd66ce73e15a9f7526e2f417727e517b5f0a0.tar.xz
libraries/PyQt5: Updated for version 5.13.2.
Diffstat (limited to 'libraries/PyQt5/patches/pyqt5-python2-crash.patch')
-rw-r--r--libraries/PyQt5/patches/pyqt5-python2-crash.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/PyQt5/patches/pyqt5-python2-crash.patch b/libraries/PyQt5/patches/pyqt5-python2-crash.patch
new file mode 100644
index 0000000000..14462f7563
--- /dev/null
+++ b/libraries/PyQt5/patches/pyqt5-python2-crash.patch
@@ -0,0 +1,13 @@
+diff -ur PyQt5_gpl-5.12.3/qpy/QtCore/qpycore_post_init.cpp.in PyQt5_gpl-5.12.3b/qpy/QtCore/qpycore_post_init.cpp.in
+--- PyQt5_gpl-5.12.3/qpy/QtCore/qpycore_post_init.cpp.in 2019-06-25 14:41:02.000000000 +0200
++++ PyQt5_gpl-5.12.3b/qpy/QtCore/qpycore_post_init.cpp.in 2019-07-01 17:06:34.882644535 +0200
+@@ -151,8 +151,4 @@
+ // initialised first (at least for Windows) and this is the only way to
+ // guarantee things are done in the right order.
+ PyQtSlotProxy::mutex = new QMutex(QMutex::Recursive);
+-
+- // Load the embedded qt.conf file if there is a bundled copy of Qt.
+- if (!qpycore_qt_conf())
+- Py_FatalError("PyQt5.QtCore: Unable to embed qt.conf");
+ }
+