aboutsummaryrefslogtreecommitdiff
path: root/x11/leechcraft
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-01-27 19:52:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-01-27 19:52:04 +0000
commit779fd0853613551e1c1729ea571fc3fb97e375cd (patch)
treec9c9425f6f17449a52b81f3dd48403b717fcbd5d /x11/leechcraft
parent3327eb1b1fa4c252f03c758b5cc968b565c6abb9 (diff)
downloadports-779fd0853613551e1c1729ea571fc3fb97e375cd.tar.gz
ports-779fd0853613551e1c1729ea571fc3fb97e375cd.zip
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
Notes
Notes: svn path=/head/; revision=407380
Diffstat (limited to 'x11/leechcraft')
-rw-r--r--x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp11
-rw-r--r--x11/leechcraft/files/patch-util_network_addresses.cpp11
-rw-r--r--x11/leechcraft/files/patch-util_xdg_xdg.cpp18
3 files changed, 40 insertions, 0 deletions
diff --git a/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp b/x11/leechcraft/files/patch-plugins_azoth_plugins_otroid_otrhandler.cpp
new file mode 100644
index 000000000000..f57c9a8bf2da
--- /dev/null
+++ b/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 (),
diff --git a/x11/leechcraft/files/patch-util_network_addresses.cpp b/x11/leechcraft/files/patch-util_network_addresses.cpp
new file mode 100644
index 000000000000..4c3ae0d99dc6
--- /dev/null
+++ b/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"),
diff --git a/x11/leechcraft/files/patch-util_xdg_xdg.cpp b/x11/leechcraft/files/patch-util_xdg_xdg.cpp
new file mode 100644
index 000000000000..a12ff6a4f31b
--- /dev/null
+++ b/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/",