From 55f0732dad67777e13163465e384914cfe32f1bc Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 16 Mar 2017 00:23:21 +0000 Subject: [PATCH] extra/qt4 to 4.8.7-16 --- extra/qt4/PKGBUILD | 5 ++--- extra/qt4/qt4-glibc-2.25.patch | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/extra/qt4/PKGBUILD b/extra/qt4/PKGBUILD index 00f406278..32dc83b37 100644 --- a/extra/qt4/PKGBUILD +++ b/extra/qt4/PKGBUILD @@ -12,7 +12,7 @@ pkgname=qt4 pkgver=4.8.7 -pkgrel=14 +pkgrel=16 arch=('i686' 'x86_64') url='http://qt-project.org/' license=('GPL3' 'LGPL' 'FDL' 'custom') @@ -62,7 +62,7 @@ md5sums=('d990ee66bf7ab0c785589776f35ba6ad' 'addc5e88d538ee55e17bd49ba337ca67' '98e00c5c7e5fee12e11ecbedd03f01ff' 'a6e217c159d9c0f588d4b5611493f0ea' - '2a9572f3b758fc3ca9ff5fc40012a2a4') + '296a06554222ff5839cccc41c5d3987e') prepare() { cd ${_pkgfqn} @@ -114,7 +114,6 @@ build() { export QT4DIR="${srcdir}"/${_pkgfqn} export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH} export CXXFLAGS+=" -std=gnu++98" # Fix build with GCC 6 -# export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig/ # export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto' # export CXXFLAGS+=" -I/usr/include/openssl-1.0" diff --git a/extra/qt4/qt4-glibc-2.25.patch b/extra/qt4/qt4-glibc-2.25.patch index d7e41f292..ca7b98bd5 100644 --- a/extra/qt4/qt4-glibc-2.25.patch +++ b/extra/qt4/qt4-glibc-2.25.patch @@ -11,3 +11,20 @@ qt-everywhere-opensource-src-4.8.7/src/corelib/global/qglobal.h #define QT_PACKAGEDATE_STR "2015-05-07" +diff -up qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp.QTBUG-22829 qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp +--- qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp.QTBUG-22829 2015-05-07 09:14:44.000000000 -0500 ++++ qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp 2016-12-08 12:32:46.638962448 -0600 +@@ -188,10 +188,12 @@ int runMoc(int _argc, char **_argv) + pp.macros["Q_MOC_RUN"]; + pp.macros["__cplusplus"]; + +- // Workaround a bug while parsing the boost/type_traits/has_operator.hpp header. See QTBUG-22829 ++ // Workaround a bugs while parsing some boost headers. See QTBUG-22829 + pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"]; + pp.macros["BOOST_LEXICAL_CAST_INCLUDED"]; + pp.macros["BOOST_NEXT_PRIOR_HPP_INCLUDED"]; ++ pp.macros["BOOST_TYPE_TRAITS_HPP"]; ++ pp.macros["_SYS_SYSMACROS_H_OUTER"]; + + QByteArray filename; + QByteArray output;