summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-kids/gcompris/gcompris-9.6.1.ebuild')
-rw-r--r--games-kids/gcompris/gcompris-9.6.1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/games-kids/gcompris/gcompris-9.6.1.ebuild b/games-kids/gcompris/gcompris-9.6.1.ebuild
index d1f202c2a7ff..06a2aa3bd503 100644
--- a/games-kids/gcompris/gcompris-9.6.1.ebuild
+++ b/games-kids/gcompris/gcompris-9.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-9.6.1.ebuild,v 1.4 2011/06/24 18:53:08 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-9.6.1.ebuild,v 1.5 2011/10/20 22:32:08 pacho Exp $
EAPI=2
@@ -54,6 +54,12 @@ pkg_setup() {
}
src_prepare() {
+ # Drop DEPRECATED flags, bug #387817
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ src/gcompris/Makefile.am src/gcompris/Makefile.in \
+ src/goocanvas/src/Makefile.am src/goocanvas/src/Makefile.in \
+ || die
+
epatch "${FILESDIR}"/${P}-build.patch
cp /usr/share/gettext/config.rpath .
eautoreconf