summaryrefslogtreecommitdiff
path: root/community/gimp-plugin-mathmap
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-02 01:31:32 -0700
committerroot <root@rshg054.dnsready.net>2013-08-02 01:31:32 -0700
commitf7cd2a0a073da2373cd3f3c8e31515dd0b83b645 (patch)
treee28c5c379825afaf02a927a8f1d1b1fcb94c2362 /community/gimp-plugin-mathmap
parent70ec180b1cca6eda5576597c2bfff9171f7815bf (diff)
Fri Aug 2 01:30:56 PDT 2013
Diffstat (limited to 'community/gimp-plugin-mathmap')
-rw-r--r--community/gimp-plugin-mathmap/PKGBUILD11
-rw-r--r--community/gimp-plugin-mathmap/giflib-5.0.patch12
2 files changed, 19 insertions, 4 deletions
diff --git a/community/gimp-plugin-mathmap/PKGBUILD b/community/gimp-plugin-mathmap/PKGBUILD
index 9dd465787..d99fc7806 100644
--- a/community/gimp-plugin-mathmap/PKGBUILD
+++ b/community/gimp-plugin-mathmap/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 90036 2013-05-06 19:37:24Z foutrelis $
+# $Id: PKGBUILD 94923 2013-08-01 07:01:15Z bpiotrowski $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Serge Gielkens <gielkens.serge@mumeli.org>
pkgname=gimp-plugin-mathmap
pkgver=1.3.5
-pkgrel=3
+pkgrel=4
pkgdesc="A GIMP plug-in which allows distortion of images specified by mathematical formulae"
arch=('i686' 'x86_64')
url="http://www.complang.tuwien.ac.at/schani/mathmap/"
@@ -14,10 +14,11 @@ makedepends=('doxygen' 'unzip')
provides=('gimp-mathmap')
replaces=('gimp-mathmap')
source=(http://www.complang.tuwien.ac.at/schani/mathmap/files/mathmap-${pkgver}.tar.gz \
- fix_libnoise_build.patch libpng15.patch)
+ fix_libnoise_build.patch libpng15.patch giflib-5.0.patch)
md5sums=('6ff66d070ea410dee1a27283d05b8beb'
'eca40de0ba0e6b8d34b7d1f904bc3d18'
- '9780d6354b7380b772c4616253ecee54')
+ '9780d6354b7380b772c4616253ecee54'
+ '9cc8eb13526056d8f3d06cc3e984a719')
build() {
cd "$srcdir/mathmap-$pkgver"
@@ -26,6 +27,8 @@ build() {
patch -Np1 < "$srcdir"/fix_libnoise_build.patch
# fix for libpng 1.5
patch -Np1 < "$srcdir"/libpng15.patch
+ # fix for giflib 5.0
+ patch -Np1 < "$srcdir"/giflib-5.0.patch
make
}
diff --git a/community/gimp-plugin-mathmap/giflib-5.0.patch b/community/gimp-plugin-mathmap/giflib-5.0.patch
new file mode 100644
index 000000000..d9036a451
--- /dev/null
+++ b/community/gimp-plugin-mathmap/giflib-5.0.patch
@@ -0,0 +1,12 @@
+diff -rupN a/rwimg/rwgif.c b/rwimg/rwgif.c
+--- a/rwimg/rwgif.c 2009-08-23 13:56:14.000000000 +0200
++++ b/rwimg/rwgif.c 2013-07-30 10:59:45.391015754 +0200
+@@ -54,7 +54,7 @@ open_gif_file (const char *filename, int
+
+ assert(data != 0);
+
+- data->file = DGifOpenFileName(filename);
++ data->file = DGifOpenFileName(filename, NULL);
+
+ assert(data->file !=0);
+