summaryrefslogtreecommitdiff
path: root/community/grace
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /community/grace
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'community/grace')
-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 \