summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2010-09-26 19:39:24 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2010-09-26 19:39:24 +0000
commit6eeae4d995dcf5ccdc01cc06ec84c0bfe5d9b57a (patch)
tree5baf5e3f81f5ea679e72506a0e3127564715c958 /gnome-extra
parentRevision bump to disable static library builds (it's mostly engines, which ar... (diff)
downloadgentoo-2-6eeae4d995dcf5ccdc01cc06ec84c0bfe5d9b57a.tar.gz
gentoo-2-6eeae4d995dcf5ccdc01cc06ec84c0bfe5d9b57a.tar.bz2
gentoo-2-6eeae4d995dcf5ccdc01cc06ec84c0bfe5d9b57a.zip
Fix build issues with gtk+-2.22 by removing -D*DISABLE_DEPRECATED cflags.
(Portage version: 2.1.9.10/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-utils/ChangeLog5
-rw-r--r--gnome-extra/gnome-utils/gnome-utils-2.30.0.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/gnome-extra/gnome-utils/ChangeLog b/gnome-extra/gnome-utils/ChangeLog
index afb7846a3638..a3bd78ab79b8 100644
--- a/gnome-extra/gnome-utils/ChangeLog
+++ b/gnome-extra/gnome-utils/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for gnome-extra/gnome-utils
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-utils/ChangeLog,v 1.202 2010/09/11 18:58:13 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-utils/ChangeLog,v 1.203 2010/09/26 19:39:24 nirbheek Exp $
+
+ 26 Sep 2010; <nirbheek@gentoo.org> gnome-utils-2.30.0.ebuild:
+ Fix build issues with gtk+-2.22 by removing -D*DISABLE_DEPRECATED cflags.
11 Sep 2010; Joseph Jezak <josejx@gentoo.org> gnome-utils-2.30.0.ebuild:
Marked ppc for bug #324077.
diff --git a/gnome-extra/gnome-utils/gnome-utils-2.30.0.ebuild b/gnome-extra/gnome-utils/gnome-utils-2.30.0.ebuild
index 89b1f29a8465..7461b4e17472 100644
--- a/gnome-extra/gnome-utils/gnome-utils-2.30.0.ebuild
+++ b/gnome-extra/gnome-utils/gnome-utils-2.30.0.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/gnome-extra/gnome-utils/gnome-utils-2.30.0.ebuild,v 1.6 2010/09/11 18:58:13 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-utils/gnome-utils-2.30.0.ebuild,v 1.7 2010/09/26 19:39:24 nirbheek Exp $
EAPI="2"
@@ -50,8 +50,12 @@ pkg_setup() {
src_prepare() {
gnome2_src_prepare
+ # Remove idiotic -D.*DISABLE_DEPRECATED cflags
+ find . -iname 'Makefile.*' -exec \
+ sed -e 's/-D[A-Z_]*DISABLE_DEPRECATED//g' -i {} + || die "sed 1 failed"
+
if ! use test ; then
- sed -e 's/ tests//' -i logview/Makefile.{am,in} || die "sed failed";
+ sed -e 's/ tests//' -i logview/Makefile.{am,in} || die "sed 2 failed"
fi
}