1 |
commit: 56b2e29cf87e35cf3f5b9c26b26f75a6cc2cfe1c |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 26 13:01:19 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 26 22:18:11 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b2e29c |
7 |
|
8 |
media-libs/skstream: Force C++11 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/651840 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
media-libs/skstream/files/skstream-0.3.9-test.patch | 4 ++-- |
14 |
media-libs/skstream/skstream-0.3.9.ebuild | 15 +++++++++++---- |
15 |
2 files changed, 13 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/media-libs/skstream/files/skstream-0.3.9-test.patch b/media-libs/skstream/files/skstream-0.3.9-test.patch |
18 |
index 162d29d1fb5..b89aa3c0644 100644 |
19 |
--- a/media-libs/skstream/files/skstream-0.3.9-test.patch |
20 |
+++ b/media-libs/skstream/files/skstream-0.3.9-test.patch |
21 |
@@ -1,5 +1,5 @@ |
22 |
---- test/childskstreamtest.h.old 2011-09-26 16:14:47.733708252 +0200 |
23 |
-+++ test/childskstreamtest.h 2011-09-26 16:16:32.021385992 +0200 |
24 |
+--- a/test/childskstreamtest.h |
25 |
++++ b/test/childskstreamtest.h |
26 |
@@ -109,9 +109,6 @@ |
27 |
//some macros for building the suite() method |
28 |
CPPUNIT_TEST_SUITE(tcpskstreamtest); |
29 |
|
30 |
diff --git a/media-libs/skstream/skstream-0.3.9.ebuild b/media-libs/skstream/skstream-0.3.9.ebuild |
31 |
index 5a64f6452b8..0acc8b73db9 100644 |
32 |
--- a/media-libs/skstream/skstream-0.3.9.ebuild |
33 |
+++ b/media-libs/skstream/skstream-0.3.9.ebuild |
34 |
@@ -1,8 +1,9 @@ |
35 |
-# Copyright 1999-2012 Gentoo Foundation |
36 |
+# Copyright 1999-2018 Gentoo Foundation |
37 |
# Distributed under the terms of the GNU General Public License v2 |
38 |
|
39 |
-EAPI=2 |
40 |
-inherit base eutils |
41 |
+EAPI=6 |
42 |
+ |
43 |
+inherit flag-o-matic |
44 |
|
45 |
DESCRIPTION="FreeSockets - Portable C++ classes for IP (sockets) applications" |
46 |
HOMEPAGE="http://www.worldforge.org/" |
47 |
@@ -17,4 +18,10 @@ DEPEND="test? ( dev-util/cppunit )" |
48 |
RDEPEND="" |
49 |
|
50 |
PATCHES=( "${FILESDIR}"/${P}-test.patch ) |
51 |
-DOCS=( AUTHORS ChangeLog NEWS README README.FreeSockets TODO ) |
52 |
+ |
53 |
+src_configure() { |
54 |
+ # bug 651840 |
55 |
+ append-cxxflags -std=c++11 |
56 |
+ |
57 |
+ default |
58 |
+} |