Date: Saturday, October 8, 2022 @ 08:37:14
  Author: arojas
Revision: 457359

upgpkg: qt6-declarative 6.4.0-2: Fix qmlls crash (FS#76137)

Modified:
  qt6-declarative/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-08 08:26:52 UTC (rev 457358)
+++ PKGBUILD    2022-10-08 08:37:14 UTC (rev 457359)
@@ -5,7 +5,7 @@
 pkgname=qt6-declarative
 _qtver=6.4.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL3 LGPL3 FDL custom)
@@ -19,9 +19,15 @@
 groups=(qt6)
 options=(debug)
 _pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
-source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
-sha256sums=('3434e72fccfa0c929c326790723d05c155f5067746b1ab05cfd7a9ba632c4383')
+source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz
+        
qmlls-crash.patch::https://code.qt.io/cgit/qt/qtdeclarative.git/patch/?id=fb6a62a0)
+sha256sums=('3434e72fccfa0c929c326790723d05c155f5067746b1ab05cfd7a9ba632c4383'
+            'b26df66dac81167760164609f8a4b7118782a613e78aec97a823a441ace561eb')
 
+prepare() {
+  patch -d $_pkgfn -p1 < qmlls-crash.patch # Fix qmlls crashes
+}
+
 build() {
   export CXXFLAGS+=" -ffat-lto-objects"
   cmake -B build -S $_pkgfn -G Ninja \

Reply via email to