[arch-commits] Commit in appstream/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Sep 25 19:06:00 UTC 2019


    Date: Wednesday, September 25, 2019 @ 19:05:59
  Author: arojas
Revision: 363410

Fix double free when running appstream-generator

Modified:
  appstream/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-25 19:05:15 UTC (rev 363409)
+++ PKGBUILD	2019-09-25 19:05:59 UTC (rev 363410)
@@ -5,7 +5,7 @@
 pkgbase=appstream
 pkgname=(appstream appstream-qt)
 pkgver=0.12.9
-pkgrel=1
+pkgrel=2
 pkgdesc="Provides a standard for creating app stores across distributions"
 arch=(x86_64)
 url="https://distributions.freedesktop.org/wiki/AppStream"
@@ -13,14 +13,19 @@
 depends=(libyaml libxml2 libstemmer glib2 lmdb)
 makedepends=(meson xmlto gobject-introspection gtk-doc qt5-tools itstool vala gperf)
 source=("https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz"{,.asc}
-        update-appstream-cache.hook)
+        update-appstream-cache.hook
+        appstream-fix-double-free.patch::"https://github.com/ximion/appstream/commit/da9f330d.patch")
 sha256sums=('459273e3aaaf8c393441c9532c0b808e61f0278ff6623c058563af1c904aa31d'
             'SKIP'
-            'a6c42e4607ffd7d7dc931d608f1856e2ba7689d4caac0783e7100d86de0f951b')
+            'a6c42e4607ffd7d7dc931d608f1856e2ba7689d4caac0783e7100d86de0f951b'
+            'fb49831d8c8353d8e634c8a68f06d62baadc70dd28c06e388d8e6270e2b55e7d')
 validpgpkeys=(D33A3F0CA16B0ACC51A60738494C8A5FBF4DECEB) # Matthias Klumpp <matthias at tenstral.net>
 
 prepare() {
   mkdir -p build
+
+  cd AppStream-$pkgver
+  patch -p1 -i ../appstream-fix-double-free.patch # Fix double free when running appstream generator
 }
 
 build() {


More information about the arch-commits mailing list