graphics/LDView: Fix compatibility against libpng.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Philip van der Hoeven 2015-04-29 22:26:35 +07:00 committed by Willy Sudiarto Raharjo
parent 7184f70a3b
commit c3e4467d43

View file

@ -26,7 +26,7 @@
PRGNAM=LDView
VERSION=${VERSION:-4.2beta1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -88,7 +88,7 @@ patch -p1 < $CWD/LDView_GL.patch
cd QT
# Fix LDView.pro for gcc-4.7
sed -e 's/-ljpeg/-ljpeg -lpng14 -lz -lboost_system -lGLU/' -i LDView.pro
sed -e 's/-ljpeg/-ljpeg -lpng -lz -lboost_system -lGLU/' -i LDView.pro
export LDVDEV64
QTDIR=$QT4DIR TESTING="$SLKCFLAGS" ./makeall