Date: Wed, 27 Jan 2016 21:02:31 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r407389 - branches/2016Q1/x11/leechcraft/files Message-ID: <201601272102.u0RL2Vbt095084@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim (src committer) Date: Wed Jan 27 21:02:30 2016 New Revision: 407389 URL: https://svnweb.freebsd.org/changeset/ports/407389 Log: MFH: r407380 In x11/leechcraft, change the syntax of C++11 braced initializers with multiple elements to correspond to C++ WG paper N3922. E.g, instead of: auto foo { 1, 2, 3, 4 }; one should write: auto foo = { 1, 2, 3, 4 }; This makes the port compile with clang 3.8.0 and higher, or gcc 5.0 and higher. Approved by: ports-secteam (feld) PR: 206650 Added: branches/2016Q1/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp - copied unchanged from r407380, head/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp branches/2016Q1/x11/leechcraft/files/patch-util_network_addresses.cpp - copied unchanged from r407380, head/x11/leechcraft/files/patch-util_network_addresses.cpp branches/2016Q1/x11/leechcraft/files/patch-util_xdg_xdg.cpp - copied unchanged from r407380, head/x11/leechcraft/files/patch-util_xdg_xdg.cpp Modified: Directory Properties: branches/2016Q1/ (props changed) Copied: branches/2016Q1/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp (from r407380, head/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2016Q1/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp Wed Jan 27 21:02:30 2016 (r407389, copy of r407380, head/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp) @@ -0,0 +1,11 @@ +--- plugins/azoth/plugins/otroid/otrhandler.cpp.orig 2014-07-28 20:35:44.000000000 +0200 ++++ plugins/azoth/plugins/otroid/otrhandler.cpp 2016-01-26 13:30:45.499740000 +0100 +@@ -510,7 +510,7 @@ namespace OTRoid + auto list = proxy->GetReturnValue ().toList (); + + const auto& actionsStruct = Entry2Action_.value (entry); +- const auto actions ++ const auto actions = + { + actionsStruct.ToggleOtr_.get (), + actionsStruct.ToggleOtrCtx_.get (), Copied: branches/2016Q1/x11/leechcraft/files/patch-util_network_addresses.cpp (from r407380, head/x11/leechcraft/files/patch-util_network_addresses.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2016Q1/x11/leechcraft/files/patch-util_network_addresses.cpp Wed Jan 27 21:02:30 2016 (r407389, copy of r407380, head/x11/leechcraft/files/patch-util_network_addresses.cpp) @@ -0,0 +1,11 @@ +--- util/network/addresses.cpp.orig 2014-07-28 20:35:44.000000000 +0200 ++++ util/network/addresses.cpp 2016-01-26 12:58:09.726934000 +0100 +@@ -38,7 +38,7 @@ namespace Util + AddrList_t GetLocalAddresses (int defaultPort) + { + AddrList_t defaultAddrs; +- const auto locals ++ const auto locals = + { + QHostAddress::parseSubnet ("10.0.0.0/8"), + QHostAddress::parseSubnet ("172.16.0.0/12"), Copied: branches/2016Q1/x11/leechcraft/files/patch-util_xdg_xdg.cpp (from r407380, head/x11/leechcraft/files/patch-util_xdg_xdg.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2016Q1/x11/leechcraft/files/patch-util_xdg_xdg.cpp Wed Jan 27 21:02:30 2016 (r407389, copy of r407380, head/x11/leechcraft/files/patch-util_xdg_xdg.cpp) @@ -0,0 +1,18 @@ +--- util/xdg/xdg.cpp.orig 2014-07-28 20:35:44.000000000 +0200 ++++ util/xdg/xdg.cpp 2016-01-26 13:01:00.517701000 +0100 +@@ -44,13 +44,13 @@ namespace XDG + + QPixmap GetAppPixmap (const QString& name) + { +- const auto prefixes ++ const auto prefixes = + { + "/usr/share/pixmaps/", + "/usr/local/share/pixmaps/" + }; + +- const auto sizes { "192", "128", "96", "72", "64", "48", "36", "32" }; ++ const auto sizes = { "192", "128", "96", "72", "64", "48", "36", "32" }; + const QStringList themes + { + "/usr/local/share/icons/hicolor/",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601272102.u0RL2Vbt095084>