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

Antonio Rojas arojas at archlinux.org
Thu Apr 28 17:51:11 UTC 2016


    Date: Thursday, April 28, 2016 @ 19:51:11
  Author: arojas
Revision: 172439

Fix segfault when generating cache

Modified:
  appstream/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-28 17:42:01 UTC (rev 172438)
+++ PKGBUILD	2016-04-28 17:51:11 UTC (rev 172439)
@@ -6,7 +6,7 @@
 pkgbase=appstream
 pkgname=(appstream appstream-qt)
 pkgver=0.9.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Provides a standard for creating app stores across distributions"
 arch=(i686 x86_64)
 url="http://distributions.freedesktop.org/wiki/AppStream"
@@ -13,12 +13,18 @@
 license=(GPL)
 depends=(xapian-core polkit libyaml libxml2 protobuf)
 makedepends=(cmake xmlto intltool gobject-introspection python2 docbook-xsl qt5-base)
-source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-db.hook)
+source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-db.hook
+        https://github.com/ximion/appstream/commit/28f90c3f.patch)
 sha256sums=('b9ed14e2af7956252b0326661c8b558466a0297560851ba7a35ecb65489c8815'
-            '6aced8f86854a3701879333de84cb5a0cc77f345d655a91e1a65f63c459f00dc')
+            '6aced8f86854a3701879333de84cb5a0cc77f345d655a91e1a65f63c459f00dc'
+            'e03679c31eb2ac9d3b410f50cc02b37fed53ced5ba4bdf9cbc414aa0261169e9')
 
 prepare() {
   mkdir -p build
+
+# Fix segfault when generating cache
+  cd AppStream-$pkgver
+  patch -p1 -i ../28f90c3f.patch
 }
 
 build() {



More information about the arch-commits mailing list