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

Antonio Rojas arojas at archlinux.org
Fri Jul 20 08:56:53 UTC 2018


    Date: Friday, July 20, 2018 @ 08:56:52
  Author: arojas
Revision: 362562

Fix build with libphobos 2.081 (FS#59398)

Modified:
  appstream-generator/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-20 08:53:40 UTC (rev 362561)
+++ PKGBUILD	2018-07-20 08:56:52 UTC (rev 362562)
@@ -10,11 +10,16 @@
 license=(GPL3)
 depends=(appstream libarchive librsvg lmdb optipng d-stdx-allocator)
 makedepends=(dmd meson ninja mustache-d curl gir-to-d gobject-introspection docbook-xsl d-containers)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/ximion/appstream-generator/archive/v$pkgver.tar.gz")
-sha256sums=('85c90a989f60fd33b23c540b670e69541da58fb76ece7337dda51560f220b5a9')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/ximion/appstream-generator/archive/v$pkgver.tar.gz"
+        asgen-dmd-2.081.patch::https://patch-diff.githubusercontent.com/raw/ximion/appstream-generator/pull/63.patch)
+sha256sums=('85c90a989f60fd33b23c540b670e69541da58fb76ece7337dda51560f220b5a9'
+            '0676e0f36aa80cc6f1d672788419f660a0458dffab9f4c44c55ff329363952af')
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../asgen-dmd-2.081.patch # Fix build with phobos 2.081
 }
 
 build() {



More information about the arch-commits mailing list