media-libs/skstream: Force C++11
authorDavid Seifert <soap@gentoo.org>
Sat, 26 May 2018 13:01:19 +0000 (15:01 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 26 May 2018 22:18:11 +0000 (00:18 +0200)
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
media-libs/skstream/skstream-0.3.9.ebuild

index 162d29d1fb536eba349f5af0b32c3fbdf29fc2cc..b89aa3c0644e01ade8b63bc2d835471ed13f9cab 100644 (file)
@@ -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);
index 5a64f6452b820f50c768f67f4232843f1ea5e1fb..0acc8b73db99d3968a0536f04b2abff05ddd0d71 100644 (file)
@@ -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
+}