[arch-commits] Commit in libwebp/trunk (PKGBUILD libwebp-0.4.0-giflib-5.1.0.patch)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Sun Jun 1 11:33:57 UTC 2014
Date: Sunday, June 1, 2014 @ 13:33:57
Author: bpiotrowski
Revision: 214019
upgpkg: libwebp 0.4.0-2
rebuild against giflib 5.1.0
Added:
libwebp/trunk/libwebp-0.4.0-giflib-5.1.0.patch
Modified:
libwebp/trunk/PKGBUILD
----------------------------------+
PKGBUILD | 13 ++++++++++---
libwebp-0.4.0-giflib-5.1.0.patch | 12 ++++++++++++
2 files changed, 22 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-06-01 11:25:35 UTC (rev 214018)
+++ PKGBUILD 2014-06-01 11:33:57 UTC (rev 214019)
@@ -5,7 +5,7 @@
pkgname=libwebp
pkgver=0.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="WebP library and conversion tools"
arch=(x86_64 i686)
url="https://developers.google.com/speed/webp/"
@@ -13,9 +13,16 @@
depends=(libpng libjpeg libtiff giflib)
makedepends=(freeglut mesa glu)
optdepends=('freeglut: vwebp viewer')
-source=("http://webp.googlecode.com/files/$pkgname-$pkgver.tar.gz")
-sha256sums=('31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69')
+source=("http://webp.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+ "libwebp-0.4.0-giflib-5.1.0.patch")
+sha256sums=('31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69'
+ '466fb04887b7fba1be95bb409bd01c23c2855dc2b9471cf5cd6de1822e55ed86')
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 -i "$srcdir"/libwebp-0.4.0-giflib-5.1.0.patch
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"
Added: libwebp-0.4.0-giflib-5.1.0.patch
===================================================================
--- libwebp-0.4.0-giflib-5.1.0.patch (rev 0)
+++ libwebp-0.4.0-giflib-5.1.0.patch 2014-06-01 11:33:57 UTC (rev 214019)
@@ -0,0 +1,12 @@
+diff -rupN a/examples/gif2webp.c b/examples/gif2webp.c
+--- a/examples/gif2webp.c 2013-12-20 09:48:07.000000000 +0100
++++ b/examples/gif2webp.c 2014-06-01 13:28:31.790564455 +0200
+@@ -644,7 +644,7 @@ int main(int argc, const char *argv[]) {
+ DisplayGifError(gif, gif_error);
+ }
+ if (gif != NULL) {
+- DGifCloseFile(gif);
++ DGifCloseFile(gif, NULL);
+ }
+
+ return !ok;
More information about the arch-commits
mailing list