diff options
author | Marius Bakke <[email protected]> | 2019-12-04 20:12:41 +0100 |
---|---|---|
committer | Marius Bakke <[email protected]> | 2019-12-04 20:12:41 +0100 |
commit | 33b59c1a3edbb81735e8d4e977b107f3ba1c2f9f (patch) | |
tree | 79ee86a29266d0a32ec0d0aa790ee5904b1098b8 /gnu/packages/patches/pyqt-unbundled-qt.patch | |
parent | 936aa05209402dd399869ffae188db5dd5f67d69 (diff) | |
parent | d733a469d74f74734825f1ce777956fb4cac5534 (diff) |
Merge branch 'staging'
Diffstat (limited to 'gnu/packages/patches/pyqt-unbundled-qt.patch')
-rw-r--r-- | gnu/packages/patches/pyqt-unbundled-qt.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/patches/pyqt-unbundled-qt.patch b/gnu/packages/patches/pyqt-unbundled-qt.patch new file mode 100644 index 0000000000..5c91ed031c --- /dev/null +++ b/gnu/packages/patches/pyqt-unbundled-qt.patch @@ -0,0 +1,19 @@ +Remove test for bundled Qt which breaks dependent applications. This has +been fixed in 5.13. + +Taken from Arch Linux: +https://git.archlinux.org/svntogit/packages.git/tree/trunk/python2-pyqt5-crash-fix.patch?h=packages/pyqt5&id=3e56e11d1fd7b1eac8242ce64c58db2bd9acba20 + +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"); + } + |