xsane: fix for building with libpng 1.5

This commit is contained in:
Juergen Daubert 2012-11-01 09:45:29 +01:00
parent a28a4d533b
commit 453c509127

View File

@ -5,11 +5,15 @@
name=xsane
version=0.998
release=1
release=2
source=(http://www.xsane.org/download/$name-$version.tar.gz)
build () {
cd $name-$version
# http://www.linuxfromscratch.org/blfs/view/svn/pst/xsane.html
sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/xsane-save.c
./configure --prefix=/usr \
--mandir=/usr/man \
--disable-nls \