public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ifstatus/files/
Date: Sat, 13 May 2017 12:58:58 +0000 (UTC)	[thread overview]
Message-ID: <1494680328.fefd4f8bec1488fb1e5ddd9d6318e6c2780e91e1.soap@gentoo> (raw)

commit:     fefd4f8bec1488fb1e5ddd9d6318e6c2780e91e1
Author:     Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Fri May 12 08:54:17 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 13 12:58:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fefd4f8b

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

 net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch | 6 ++++--
 1 file 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 96402cb71b8..760a09fbf2c 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];


             reply	other threads:[~2017-05-13 12:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-13 12:58 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-12  7:22 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ifstatus/files/ Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1494680328.fefd4f8bec1488fb1e5ddd9d6318e6c2780e91e1.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox