summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-08-03 09:25:19 +0000
committerMichael Weber <xmw@gentoo.org>2013-08-03 09:25:19 +0000
commitefaba24a944d27813cbb867efcc77f096b1a91db (patch)
tree71ff11dd84066f888b07be48d7f3930f6cbbea81 /media-sound/spek
parentfix mecab version in (R)DEPEND (diff)
downloadgentoo-2-efaba24a944d27813cbb867efcc77f096b1a91db.tar.gz
gentoo-2-efaba24a944d27813cbb867efcc77f096b1a91db.tar.bz2
gentoo-2-efaba24a944d27813cbb867efcc77f096b1a91db.zip
Replace -std=gnu+11 with -srd=c++11 for bug 479500.
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'media-sound/spek')
-rw-r--r--media-sound/spek/ChangeLog6
-rw-r--r--media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch11
-rw-r--r--media-sound/spek/spek-0.8.3.ebuild6
3 files changed, 20 insertions, 3 deletions
diff --git a/media-sound/spek/ChangeLog b/media-sound/spek/ChangeLog
index f80d0eddc039..5af6e63bb68d 100644
--- a/media-sound/spek/ChangeLog
+++ b/media-sound/spek/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/spek
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/ChangeLog,v 1.9 2013/07/28 02:07:08 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/ChangeLog,v 1.10 2013/08/03 09:25:19 xmw Exp $
+
+ 03 Aug 2013; Michael Weber <xmw@gentoo.org>
+ +files/spek-0.8.3-replace-gnu+11-with-c++11.patch, spek-0.8.3.ebuild:
+ Replace -std=gnu+11 with -srd=c++11 for bug 479500.
*spek-0.8.3 (28 Jul 2013)
diff --git a/media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch b/media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch
new file mode 100644
index 000000000000..624e969dba4a
--- /dev/null
+++ b/media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch
@@ -0,0 +1,11 @@
+--- spek-0.8.3/configure.ac
++++ spek-0.8.3/configure.ac
+@@ -6,7 +6,7 @@
+
+ AC_LANG([C++])
+ AC_PROG_CXX
+-CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra"
++CXXFLAGS="$CXXFLAGS -std=c++11 -Wall -Wextra"
+ AC_PROG_CXXCPP
+ AC_PROG_RANLIB
+ AC_PROG_INSTALL
diff --git a/media-sound/spek/spek-0.8.3.ebuild b/media-sound/spek/spek-0.8.3.ebuild
index 540e2cc7269e..b68d06b9165b 100644
--- a/media-sound/spek/spek-0.8.3.ebuild
+++ b/media-sound/spek/spek-0.8.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/spek-0.8.3.ebuild,v 1.1 2013/07/28 02:07:08 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/spek-0.8.3.ebuild,v 1.2 2013/08/03 09:25:19 xmw Exp $
EAPI=5
WX_GTK_VER="2.8"
@@ -25,6 +25,8 @@ DEPEND="${RDEPEND}
sys-devel/gettext"
src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.8.1-disable-updates.patch
+ epatch \
+ "${FILESDIR}"/${PN}-0.8.1-disable-updates.patch
+ "${FILESDIR}"/${P}-replace-gnu+11-with-c++11.patch
eautoreconf
}