git » krita.git » commit 025af15

Fix crash on close (FS#64631)

author Antonio Rojas
2019-11-24 09:32:28 UTC
committer Antonio Rojas
2019-11-24 09:32:28 UTC
parent 1bea7f0e0164413d54a0642215bfdd04a5e59b08

Fix crash on close (FS#64631)

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index 359a78a..c00cec0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=krita
 pkgver=4.2.7.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Edit and paint images"
 arch=(x86_64)
 url="https://krita.org"
@@ -14,12 +14,17 @@ optdepends=('poppler-qt5: PDF filter' 'ffmpeg: to save animations' 'opencolorio:
             "krita-plugin-gmic: G'MIC plugin" 'python-pyqt5: for the Python plugins' 'libheif: HEIF filter')
 conflicts=(calligra-krita krita-l10n)
 replaces=(calligra-krita krita-l10n)
-source=("https://download.kde.org/stable/krita/$pkgver/$pkgname-$pkgver.tar.gz") # {,.sig}
-sha256sums=('3ed29fd9d8e067def55e703fc55312815c21041d274727e228bdbe0478c09c3d')
+source=("https://download.kde.org/stable/krita/$pkgver/$pkgname-$pkgver.tar.gz"
+         kdebug-410867.patch::"https://invent.kde.org/kde/krita/commit/ca07d42c.patch") # {,.sig}
+sha256sums=('3ed29fd9d8e067def55e703fc55312815c21041d274727e228bdbe0478c09c3d'
+            'cfc9c7b2accbb730be3d9e2c92e5d501d2e3465841c97efae84602987e8cae3b')
 validpgpkeys=('05D00A8B73A686789E0A156858B9596C722EA3BD') # Boudewijn Rempt <foundation@krita.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdebug-410867.patch # Fix crash on close
 }
 
 build() {