From owner-svn-ports-all@freebsd.org Thu Mar 24 10:31:08 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76F31ADB64C; Thu, 24 Mar 2016 10:31:08 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2612A1993; Thu, 24 Mar 2016 10:31:08 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2OAV7IL053700; Thu, 24 Mar 2016 10:31:07 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2OAV7Ov053699; Thu, 24 Mar 2016 10:31:07 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201603241031.u2OAV7Ov053699@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Thu, 24 Mar 2016 10:31:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411765 - in head: audio/clementine-player/files cad/openscad/files devel/qt4-moc/files graphics/aqsis/files graphics/evolvotron/files multimedia/gstreamer-qt4/files net-p2p/namecoin/fi... X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 10:31:08 -0000 Author: rakuco Date: Thu Mar 24 10:31:07 2016 New Revision: 411765 URL: https://svnweb.freebsd.org/changeset/ports/411765 Log: qt4-moc: Add more Boost include guards to moc's definition list. In preparation for updating Boost to 1.60, add include guards from more Boost headers to the list of macros that moc automatically defines when processing files. As explained in r408911, Qt4's moc cannot parse some constructs used by a few Boost headers, so we define their include guards to make moc skip them. This is a cleaner approach that allows us to largely revert r408472, r408473, r408474, r408475, r408502, r408773 and r408419, which added several patches to many ports to work around this moc bug. PR: 199601 PR: 208322 Deleted: head/audio/clementine-player/files/patch-src_core_mergedproxymodel.h head/audio/clementine-player/files/patch-src_library_groupbydialog.h head/cad/openscad/files/ head/graphics/aqsis/files/patch-include_aqsis_tex_buffers_channellist.h head/graphics/aqsis/files/patch-include_aqsis_tex_buffers_mixedimagebuffer.h head/graphics/aqsis/files/patch-include_aqsis_util_socket.h head/graphics/aqsis/files/patch-tools_piqsl_displayserverimage.cpp head/graphics/aqsis/files/patch-tools_piqsl_image.h head/graphics/evolvotron/files/patch-libfunction_useful.h head/multimedia/gstreamer-qt4/files/ head/net-p2p/namecoin/files/patch-src_allocators.h head/net-p2p/namecoin/files/patch-src_qt_guiutil.h head/net-p2p/namecoin/files/patch-src_util.h head/science/avogadro/files/patch-libavogadro_src_pythonengine__p.h head/science/avogadro/files/patch-libavogadro_src_pythonextension__p.h head/science/avogadro/files/patch-libavogadro_src_pythoninterpreter.h head/science/avogadro/files/patch-libavogadro_src_pythonscript.h head/science/avogadro/files/patch-libavogadro_src_pythontool__p.h Modified: head/devel/qt4-moc/files/patch-src__tools__moc__main.cpp Modified: head/devel/qt4-moc/files/patch-src__tools__moc__main.cpp ============================================================================== --- head/devel/qt4-moc/files/patch-src__tools__moc__main.cpp Thu Mar 24 10:14:11 2016 (r411764) +++ head/devel/qt4-moc/files/patch-src__tools__moc__main.cpp Thu Mar 24 10:31:07 2016 (r411765) @@ -10,7 +10,7 @@ What we do to work around the issue is d they end up being skipped by moc when it is preprocessing a file. --- src/tools/moc/main.cpp.orig 2015-05-07 14:14:44 UTC +++ src/tools/moc/main.cpp -@@ -190,6 +190,13 @@ int runMoc(int _argc, char **_argv) +@@ -190,6 +190,17 @@ 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"]; @@ -21,6 +21,10 @@ they end up being skipped by moc when it + // + // For Boost >= 1.55. + pp.macros["BOOST_LEXICAL_CAST_INCLUDED"]; ++ // For Boost >= 1.60. ++ pp.macros["BOOST_NEXT_PRIOR_HPP_INCLUDED"]; ++ pp.macros["BOOST_TYPE_TRAITS_HPP"]; ++ pp.macros["BOOST_TT_HAS_PRE_INCREMENT_HPP_INCLUDED"]; QByteArray filename; QByteArray output;