diff options
author | Niels Horn <niels.horn@gmail.com> | 2012-09-13 11:04:37 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2012-09-13 11:04:37 -0300 |
commit | be079286d1268c48d7c9c7339385e5affba6450f (patch) | |
tree | 80efb66f42e6210ceb911d7118dae7e91dd8c150 /libraries/qt3/qt3.SlackBuild | |
parent | d1768face2c440786e88b7cedb3ff0cc3e3bfc76 (diff) | |
download | slackbuilds-be079286d1268c48d7c9c7339385e5affba6450f.tar.gz |
libraries/qt3: Fixed to build against gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/qt3/qt3.SlackBuild')
-rw-r--r-- | libraries/qt3/qt3.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/qt3/qt3.SlackBuild b/libraries/qt3/qt3.SlackBuild index 7bb40f4c8b..379ad3ffc1 100644 --- a/libraries/qt3/qt3.SlackBuild +++ b/libraries/qt3/qt3.SlackBuild @@ -2,7 +2,7 @@ # Copyright 2006, 2007, 2008 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. -# Copyrught 2010, 2011 Niels Horn, Rio de Janeiro, RJ, Brazil +# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -27,11 +27,11 @@ # Adapted for SlackBuilds.org by Niels Horn <niels.horn@gmail.com> # - moved building from /opt to $TMP # - included patch for new libpng (based on work by Stuart Winter) -# Revision date 2011/12/11 +# Revision date 2012/08/09 PRGNAM=qt3 VERSION=${VERSION:-3.3.8b} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} SRCNAM=qt-x11-free @@ -88,6 +88,9 @@ 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 +# Patch for gcc-4.7 (based on info from LFS) +patch -p1 < $CWD/qt3_gcc47.patch + # Make sure ownerships and permissions are sane: chown -R root:root . find . \ |