summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-21 12:48:05 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-21 12:48:05 +0000
commit962c2ec25322c23aaec999d2b470dbfc906ad35c (patch)
treebcaa247905841cd83ed2f07c5ccb44052fe9dfd3 /net-libs/opal/opal-3.6.7.ebuild
parentRestrict media-libs/lcms depend to old version. (diff)
downloadgentoo-2-962c2ec25322c23aaec999d2b470dbfc906ad35c.tar.gz
gentoo-2-962c2ec25322c23aaec999d2b470dbfc906ad35c.tar.bz2
gentoo-2-962c2ec25322c23aaec999d2b470dbfc906ad35c.zip
Fix building with FFmpeg >= 0.6 wrt #324323 by Alexis Ballier.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/opal/opal-3.6.7.ebuild')
-rw-r--r--net-libs/opal/opal-3.6.7.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-libs/opal/opal-3.6.7.ebuild b/net-libs/opal/opal-3.6.7.ebuild
index 3cfe43543718..1cf890736d22 100644
--- a/net-libs/opal/opal-3.6.7.ebuild
+++ b/net-libs/opal/opal-3.6.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.6.7.ebuild,v 1.3 2010/02/28 10:43:09 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.6.7.ebuild,v 1.4 2010/06/21 12:48:05 ssuominen Exp $
EAPI="2"
@@ -55,6 +55,8 @@ pkg_setup() {
# workaround for bug 282838
append-flags "-fno-visibility-inlines-hidden"
+ append-flags -D__STDC_CONSTANT_MACROS #324323
+
# need >=gcc-3
if [[ $(gcc-major-version) -lt 3 ]]; then
eerror "You need to use gcc-3 at least."