LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File fix-moc-from-choking-on-boost-headers.patch of Package libqt4 (Project KDE:Qt)

--- qt-snapshot/src/tools/moc/main.cpp	2013-03-16 19:09:31.954011186 +0100
+++ qt-snapshot/src/tools/moc/main.cpp	2013-05-28 22:38:39.781681541 +0200
@@ -190,6 +190,8 @@ int runMoc(int _argc, char **_argv)
 
     // Workaround a bug while parsing the boost/type_traits/has_operator.hpp header. See QTBUG-22829
     pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"];
+    pp.macros["BOOST_LEXICAL_CAST_INCLUDED"];
+    pp.macros["BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION"];
 
     QByteArray filename;
     QByteArray output;