svn commit: r407380 - head/x11/leechcraft/files

Dimitry Andric dim at FreeBSD.org
Wed Jan 27 19:52:06 UTC 2016


Author: dim (src committer)
Date: Wed Jan 27 19:52:04 2016
New Revision: 407380
URL: https://svnweb.freebsd.org/changeset/ports/407380

Log:
  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:	vg (maintainer)
  PR:		206650
  MFH:		2016Q1

Added:
  head/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp   (contents, props changed)
  head/x11/leechcraft/files/patch-util_network_addresses.cpp   (contents, props changed)
  head/x11/leechcraft/files/patch-util_xdg_xdg.cpp   (contents, props changed)

Added: head/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp	Wed Jan 27 19:52:04 2016	(r407380)
@@ -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 (),

Added: head/x11/leechcraft/files/patch-util_network_addresses.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/leechcraft/files/patch-util_network_addresses.cpp	Wed Jan 27 19:52:04 2016	(r407380)
@@ -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"),

Added: head/x11/leechcraft/files/patch-util_xdg_xdg.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/leechcraft/files/patch-util_xdg_xdg.cpp	Wed Jan 27 19:52:04 2016	(r407380)
@@ -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/",


More information about the svn-ports-head mailing list