summaryrefslogtreecommitdiff
path: root/community/grace/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/grace/PKGBUILD')
-rw-r--r--community/grace/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/grace/PKGBUILD b/community/grace/PKGBUILD
index 3a74d0fb0..0c0296724 100644
--- a/community/grace/PKGBUILD
+++ b/community/grace/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 46737 2011-05-11 10:00:50Z spupykin $
+# $Id: PKGBUILD 63610 2012-02-05 12:00:16Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: damir <damir@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=grace
pkgver=5.1.22
-pkgrel=5
+pkgrel=6
pkgdesc="2D plotting tool"
arch=(i686 x86_64)
url="http://plasma-gate.weizmann.ac.il/Grace/"
@@ -17,6 +17,8 @@ md5sums=('672356466f18fe59ed21a8fb44f9851d')
build() {
cd $srcdir/$pkgname-$pkgver
+ sed -i '1,1i#include <zlib.h>' src/rstdrv.c
+ sed -i 's|png_ptr->jmpbuf|png_jmpbuf(png_ptr)|g' src/rstdrv.c
./configure --prefix=/usr --exec-prefix=/usr \
--enable-grace-home=/usr/share/grace \
--includedir=/usr/include --libdir=/usr/lib \