summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2017-05-12 04:54:17 -0400
committerDavid Seifert <soap@gentoo.org>2017-05-13 14:58:48 +0200
commitfefd4f8bec1488fb1e5ddd9d6318e6c2780e91e1 (patch)
tree461d61e46827c78c34c13e856cfc968faefb60fb /net-analyzer
parentgames-emulation/virtualjaguar: Fix building with GCC-6 (diff)
downloadgentoo-fefd4f8bec1488fb1e5ddd9d6318e6c2780e91e1.tar.gz
gentoo-fefd4f8bec1488fb1e5ddd9d6318e6c2780e91e1.tar.bz2
gentoo-fefd4f8bec1488fb1e5ddd9d6318e6c2780e91e1.zip
net-analyzer/ifstatus: Fix building with GCC-6
Bug: https://bugs.gentoo.org/show_bug.cgi?id=618234 Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4610
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch b/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch
index 96402cb71b8e..760a09fbf2c6 100644
--- a/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch
+++ b/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch
@@ -1,12 +1,14 @@
--- a/Interface.h
+++ b/Interface.h
-@@ -57,7 +57,8 @@
+@@ -57,7 +57,11 @@
InterfaceData & operator=(InterfaceData & rInterfaceData);
InterfaceData operator-(InterfaceData & rInterfaceData);
--
+
++#if __cplusplus >= 201103L
+ InterfaceData & operator=(InterfaceData && rInterfaceData) = default;
+ InterfaceData(const InterfaceData&) = default;
++#endif
private:
unsigned long long m_ullReceived[eTotalTypes];