commit:     56b2e29cf87e35cf3f5b9c26b26f75a6cc2cfe1c
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 26 13:01:19 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 26 22:18:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b2e29c

media-libs/skstream: Force C++11

Closes: https://bugs.gentoo.org/651840
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/skstream/files/skstream-0.3.9-test.patch |  4 ++--
 media-libs/skstream/skstream-0.3.9.ebuild           | 15 +++++++++++----
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/media-libs/skstream/files/skstream-0.3.9-test.patch 
b/media-libs/skstream/files/skstream-0.3.9-test.patch
index 162d29d1fb5..b89aa3c0644 100644
--- a/media-libs/skstream/files/skstream-0.3.9-test.patch
+++ b/media-libs/skstream/files/skstream-0.3.9-test.patch
@@ -1,5 +1,5 @@
---- test/childskstreamtest.h.old       2011-09-26 16:14:47.733708252 +0200
-+++ test/childskstreamtest.h   2011-09-26 16:16:32.021385992 +0200
+--- a/test/childskstreamtest.h
++++ b/test/childskstreamtest.h
 @@ -109,9 +109,6 @@
      //some macros for building the suite() method
      CPPUNIT_TEST_SUITE(tcpskstreamtest);

diff --git a/media-libs/skstream/skstream-0.3.9.ebuild 
b/media-libs/skstream/skstream-0.3.9.ebuild
index 5a64f6452b8..0acc8b73db9 100644
--- a/media-libs/skstream/skstream-0.3.9.ebuild
+++ b/media-libs/skstream/skstream-0.3.9.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit base eutils
+EAPI=6
+
+inherit flag-o-matic
 
 DESCRIPTION="FreeSockets - Portable C++ classes for IP (sockets) applications"
 HOMEPAGE="http://www.worldforge.org/";
@@ -17,4 +18,10 @@ DEPEND="test? ( dev-util/cppunit )"
 RDEPEND=""
 
 PATCHES=( "${FILESDIR}"/${P}-test.patch )
-DOCS=( AUTHORS ChangeLog NEWS README README.FreeSockets TODO )
+
+src_configure() {
+       # bug 651840
+       append-cxxflags -std=c++11
+
+       default
+}

Reply via email to