summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-02-04 20:50:08 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-02-04 20:50:08 +0000
commit5c24cc60ded42d53981f5e7c74768e7729e04179 (patch)
tree1e86a4d4fe4ffcd8d22b9cba3b8c2b1d7600bf5e /net-misc
parentrepoman: Fix leading whitespace (diff)
downloadgentoo-2-5c24cc60ded42d53981f5e7c74768e7729e04179.tar.gz
gentoo-2-5c24cc60ded42d53981f5e7c74768e7729e04179.tar.bz2
gentoo-2-5c24cc60ded42d53981f5e7c74768e7729e04179.zip
workaround deprecated gtk_ calls in 2.4.1 (#32202)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/d4x/ChangeLog5
-rw-r--r--net-misc/d4x/d4x-2.4.1-r1.ebuild25
2 files changed, 12 insertions, 18 deletions
diff --git a/net-misc/d4x/ChangeLog b/net-misc/d4x/ChangeLog
index dc5375fd2cf0..12f0763a6d09 100644
--- a/net-misc/d4x/ChangeLog
+++ b/net-misc/d4x/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/d4x
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.12 2004/02/04 18:34:04 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.13 2004/02/04 20:50:08 liquidx Exp $
+
+ 04 Feb 2004; Alastair Tse <liquidx@gentoo.org> d4x-2.4.1-r1.ebuild:
+ workaround deprecated gtk_ calls in 2.4.1 (#32202)
*d4x-2.5.0_rc2 (04 Feb 2004)
diff --git a/net-misc/d4x/d4x-2.4.1-r1.ebuild b/net-misc/d4x/d4x-2.4.1-r1.ebuild
index 7e3abdd3275b..ea0ca2569688 100644
--- a/net-misc/d4x/d4x-2.4.1-r1.ebuild
+++ b/net-misc/d4x/d4x-2.4.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4.1-r1.ebuild,v 1.3 2003/09/05 22:01:48 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4.1-r1.ebuild,v 1.4 2004/02/04 20:50:08 liquidx Exp $
IUSE="nls esd gnome oss kde"
@@ -37,22 +37,13 @@ src_unpack() {
src_compile() {
- myconf=""
-
- use nls \
- && myconf="${myconf} --enable-nls" \
- || myconf="${myconf} --disable-nls"
-
- use esd \
- && myconf="${myconf} --enable-esd" \
- || myconf="${myconf} --disable-esd"
-
- use oss \
- && myconf="${myconf} --enable-oss" \
- || myconf="${myconf} --disable-oss"
-
econf --enable-release \
- ${myconf} || die
+ $(use_enable oss) \
+ $(use_enable esd) \
+ $(use_enable nls)
+
+ # workaround unsupported gtk_ calls for >=x11-libs/gtk+-2.2.4
+ sed -e 's:.*GTK_DISABLE_DEPRECATED.*::' -i ${S}/config.h
emake || die
}