]>
Commit | Line | Data |
---|---|---|
583fa5d0 ER |
1 | |
2 | 21:23:08 witekfl> https://projects.archlinux.org/svntogit/packages.git/tree/trunk/moc-boost-workaround.patch?h=packages/qt4 | |
3 | Could someone add this patch to the qt4.spec and rebuild it? | |
4 | 21:23:48 witekfl> This patch helps for example to build kde4-kdepim | |
5 | ||
6 | ||
7 | diff -upr qt-everywhere-opensource-src-4.8.6.orig/src/tools/moc/main.cpp qt-everywhere-opensource-src-4.8.6/src/tools/moc/main.cpp | |
8 | --- qt-everywhere-opensource-src-4.8.6.orig/src/tools/moc/main.cpp 2014-04-10 21:37:12.000000000 +0300 | |
9 | +++ qt-everywhere-opensource-src-4.8.6/src/tools/moc/main.cpp 2014-11-06 02:24:44.287305916 +0200 | |
10 | @@ -190,6 +190,8 @@ int runMoc(int _argc, char **_argv) | |
11 | ||
12 | // Workaround a bug while parsing the boost/type_traits/has_operator.hpp header. See QTBUG-22829 | |
13 | pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"]; | |
14 | + pp.macros["BOOST_LEXICAL_CAST_INCLUDED"]; | |
15 | + pp.macros["BOOST_NEXT_PRIOR_HPP_INCLUDED"]; | |
16 | ||
17 | QByteArray filename; | |
18 | QByteArray output; |