summaryrefslogtreecommitdiff
path: root/libraries/qt3/qt3.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-04 23:55:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitfc4ad2468b83db46fa9abe0ef268654959ec5fe5 (patch)
treeb955ba55fe9b037d92a5bb2730ad3ce30db91085 /libraries/qt3/qt3.SlackBuild
parentafae05a18e1615122499dfeeca7cc48ca521f9f9 (diff)
downloadslackbuilds-fc4ad2468b83db46fa9abe0ef268654959ec5fe5.tar.gz
libraries/qt3: Patched SlackBuild.
Fixes build failure with libpng16 on -current. Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'libraries/qt3/qt3.SlackBuild')
-rw-r--r--libraries/qt3/qt3.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/qt3/qt3.SlackBuild b/libraries/qt3/qt3.SlackBuild
index 403f302353..ef6f5f62f6 100644
--- a/libraries/qt3/qt3.SlackBuild
+++ b/libraries/qt3/qt3.SlackBuild
@@ -87,8 +87,8 @@ sed -i "/#define QT_BUILTIN_GIF_READER/s|0|1|" src/kernel/qgif.h
# Fix location of mysql.h
sed -i "s|mysql\.h|mysql/mysql\.h|" src/sql/drivers/mysql/qsql_mysql.h
-# Build with libpng 1.4+:
-patch -lp0 < $CWD/qt3-libpng14.diff
+# Build with libpng 1.5+ (patch from Arch Linux)
+patch -lp0 < $CWD/qt3-png15.patch
# Patch for gcc-4.7+ (based on info from LFS)
patch -p1 < $CWD/qt3_gcc47.patch