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

Antonio Rojas arojas at archlinux.org
Sun Sep 17 10:06:02 UTC 2017


    Date: Sunday, September 17, 2017 @ 10:06:01
  Author: arojas
Revision: 305705

Fix crash on loading certain images (FS#55003)

Modified:
  exiv2/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-16 23:49:20 UTC (rev 305704)
+++ PKGBUILD	2017-09-17 10:06:01 UTC (rev 305705)
@@ -3,7 +3,7 @@
 
 pkgname=exiv2
 pkgver=0.26
-pkgrel=1
+pkgrel=2
 pkgdesc="Exif, Iptc and XMP metadata manipulation library and tools"
 arch=('i686' 'x86_64')
 url="http://exiv2.org"
@@ -10,9 +10,16 @@
 license=('GPL2')
 depends=('gcc-libs' 'zlib' 'expat')
 makedepends=('cmake')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/Exiv2/exiv2/archive/v$pkgver.tar.gz")
-md5sums=('5a32bfa41b5e5409c9347b227350e100')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/Exiv2/exiv2/archive/v$pkgver.tar.gz"
+        exiv2-fix-segfault.patch::"https://github.com/Exiv2/exiv2/commit/5405d616.patch")
+md5sums=('5a32bfa41b5e5409c9347b227350e100'
+         '2f3a0bf2ceb9f2143f97fe1afb3c8c54')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../exiv2-fix-segfault.patch # http://dev.exiv2.org/issues/1305
+}
+
 build() {
   cd $pkgname-$pkgver 
   cmake . \



More information about the arch-commits mailing list