summaryrefslogtreecommitdiff
path: root/libraries/qt3/qt3.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-02-07 06:19:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-07 06:19:54 +0700
commit0b64b64e49f73dddf22c768448f3070605bd13f3 (patch)
tree36b6573d07aba4eb98314b1419a2c2f142fb46ba /libraries/qt3/qt3.SlackBuild
parent432b92eaf8ff4c7cf5d16567bfb944990d05d878 (diff)
downloadslackbuilds-0b64b64e49f73dddf22c768448f3070605bd13f3.tar.gz
libraries/qt3: New Maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qt3/qt3.SlackBuild')
-rw-r--r--libraries/qt3/qt3.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/qt3/qt3.SlackBuild b/libraries/qt3/qt3.SlackBuild
index 069601c122..403f302353 100644
--- a/libraries/qt3/qt3.SlackBuild
+++ b/libraries/qt3/qt3.SlackBuild
@@ -1,5 +1,7 @@
#!/bin/sh
+# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
+
# Copyright 2006, 2007, 2008 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
@@ -85,10 +87,10 @@ 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:
+# Build with libpng 1.4+:
patch -lp0 < $CWD/qt3-libpng14.diff
-# Patch for gcc-4.7 (based on info from LFS)
+# Patch for gcc-4.7+ (based on info from LFS)
patch -p1 < $CWD/qt3_gcc47.patch
# Make sure ownerships and permissions are sane:
@@ -167,7 +169,7 @@ cat $CWD/profile.d/qt.csh | sed -e "s#/lib#/lib${LIBDIRSUFFIX}#" \
chmod 755 $PKG/etc/profile.d/*
# Strip binaries:
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
# Make links to the qt3 binaries