From c3e4467d43bdcacad8678901f40d4ec5f30048bd Mon Sep 17 00:00:00 2001 From: Philip van der Hoeven Date: Wed, 29 Apr 2015 22:26:35 +0700 Subject: [PATCH] graphics/LDView: Fix compatibility against libpng. Signed-off-by: Willy Sudiarto Raharjo --- graphics/LDView/LDView.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/LDView/LDView.SlackBuild b/graphics/LDView/LDView.SlackBuild index 9b835bde73..a8cb4ea400 100644 --- a/graphics/LDView/LDView.SlackBuild +++ b/graphics/LDView/LDView.SlackBuild @@ -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