Date: Wednesday, June 3, 2020 @ 16:12:07
  Author: arojas
Revision: 388162

Fix crash in PyQt5 5.15

Modified:
  sip/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-06-03 13:29:48 UTC (rev 388161)
+++ PKGBUILD    2020-06-03 16:12:07 UTC (rev 388162)
@@ -6,15 +6,20 @@
 pkgbase=sip
 pkgname=('sip' 'python-sip' 'python2-sip-pyqt5')
 pkgver=4.19.22
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://www.riverbankcomputing.com/software/sip/intro'
 license=('custom:"sip"')
 makedepends=('python' 'python2')
-source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz";)
-sha256sums=('e1b768824ec1a2ee38dd536b6b6b3d06de27b00a2f5f55470d1b512306e3be45')
+source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz";
+         
sip-fix-pyqt5-crash.patch::"https://www.riverbankcomputing.com/hg/sip/raw-rev/812b5e26df96";)
+sha256sums=('e1b768824ec1a2ee38dd536b6b6b3d06de27b00a2f5f55470d1b512306e3be45'
+            '6bc6551fdf1eb91df8944857232bf1deb1dbc2c452659645f8d4f34479321caf')
 
 prepare() {
+  pushd sip-$pkgver
+    patch -p1 -i ../sip-fix-pyqt5-crash.patch # Fix crash in PyQt5 5.15
+  popd
   mkdir -p build{,-pyqt5-py2}
 }
 

Reply via email to