summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2004-08-19 18:29:03 +0000
committerMarinus Schraal <foser@gentoo.org>2004-08-19 18:29:03 +0000
commit9b6a688a64bd6f83840f48f29277d61c2513e721 (patch)
tree4c85a37384b34d2f328b7b80f9038979bd901383 /media-sound/gnomeradio
parent60525 (diff)
downloadhistorical-9b6a688a64bd6f83840f48f29277d61c2513e721.tar.gz
historical-9b6a688a64bd6f83840f48f29277d61c2513e721.tar.bz2
historical-9b6a688a64bd6f83840f48f29277d61c2513e721.zip
fix gtk+-2.4 & gcc34 issues
Diffstat (limited to 'media-sound/gnomeradio')
-rw-r--r--media-sound/gnomeradio/ChangeLog5
-rw-r--r--media-sound/gnomeradio/Manifest5
-rw-r--r--media-sound/gnomeradio/files/gnomeradio-1.4-gcc34.patch10
-rw-r--r--media-sound/gnomeradio/gnomeradio-1.4.ebuild17
4 files changed, 32 insertions, 5 deletions
diff --git a/media-sound/gnomeradio/ChangeLog b/media-sound/gnomeradio/ChangeLog
index d0456dc0493d..216e73aecb88 100644
--- a/media-sound/gnomeradio/ChangeLog
+++ b/media-sound/gnomeradio/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/gnomeradio
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomeradio/ChangeLog,v 1.9 2004/06/25 00:01:59 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomeradio/ChangeLog,v 1.10 2004/08/19 18:29:03 foser Exp $
+
+ 19 Aug 2004; foser <foser@gentoo.org> gnomeradio-1.4.ebuild gnomeradio-1.4-gcc34.patch :
+ Add fix for gtk+-2.4 & gcc34 compilation issues (#54115)
18 Jun 2004; David Holm <dholm@gentoo.org> gnomeradio-1.4.ebuild:
Added to ~ppc.
diff --git a/media-sound/gnomeradio/Manifest b/media-sound/gnomeradio/Manifest
index 77f6c786c3ad..1200cf8817e1 100644
--- a/media-sound/gnomeradio/Manifest
+++ b/media-sound/gnomeradio/Manifest
@@ -1,4 +1,5 @@
-MD5 86fefea2d5c20762925fc8a85b62fb54 gnomeradio-1.4.ebuild 793
-MD5 f61dfebf691917e33ab8c5e6ad3ab5cf ChangeLog 1087
+MD5 a1ea2544120eebf0e8465a2cb11b0a5e gnomeradio-1.4.ebuild 1006
+MD5 81a0620a74eaedf22974507652dfc594 ChangeLog 1236
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
+MD5 ecd09176a359fc04fc85895ae49e9b20 files/gnomeradio-1.4-gcc34.patch 263
MD5 ae87ec7d399d7b593b65aee83ea7e440 files/digest-gnomeradio-1.4 66
diff --git a/media-sound/gnomeradio/files/gnomeradio-1.4-gcc34.patch b/media-sound/gnomeradio/files/gnomeradio-1.4-gcc34.patch
new file mode 100644
index 000000000000..ab68377c6069
--- /dev/null
+++ b/media-sound/gnomeradio/files/gnomeradio-1.4-gcc34.patch
@@ -0,0 +1,10 @@
+--- src/gui.c 2002-12-14 14:01:48.000000000 +0100
++++ src/gui.c.fix 2004-08-19 20:26:31.272162456 +0200
+@@ -988,6 +988,7 @@
+ gtk_adjustment_set_value(volume,(volume->value < 5) ? 0 : volume->value-5);
+ break;
+ default:
++ break;
+ }
+ return FALSE;
+ }
diff --git a/media-sound/gnomeradio/gnomeradio-1.4.ebuild b/media-sound/gnomeradio/gnomeradio-1.4.ebuild
index 931c94f05140..e5138fe9edc0 100644
--- a/media-sound/gnomeradio/gnomeradio-1.4.ebuild
+++ b/media-sound/gnomeradio/gnomeradio-1.4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomeradio/gnomeradio-1.4.ebuild,v 1.9 2004/06/25 00:01:59 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomeradio/gnomeradio-1.4.ebuild,v 1.10 2004/08/19 18:29:03 foser Exp $
-inherit gnome2
+inherit gnome2 eutils
DESCRIPTION="A GNOME2 radio tuner"
SRC_URI="http://mfcn.ilo.de/gnomeradio/${P}.tar.gz"
@@ -28,3 +28,16 @@ use lirc \
&& G2CONF="${G2CONF} --enable-lirc " \
|| G2CONF="${G2CONF} --enable-lirc "
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gcc34.patch
+
+}
+
+CFLAGS="${CFLAGS} -UGNOME_DISABLE_DEPRECATED \
+ -UGTK_DISABLE_DEPRECATED \
+ -UGDK_DISABLE_DEPRECATED \
+ -UG_DISABLE_DEPRECATED"