summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-10-17 22:21:19 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-10-17 22:21:19 +0000
commit8c8a265844bc9afbdd1b64f2fb8c5a4a7f529112 (patch)
tree026ea45bfc86cc8eec93273001b20995d422fb7f /dev-util/screem
parentfix inet_aton issue plus remove old net_db.c from FILESDIR (Manifest recommit) (diff)
downloadgentoo-2-8c8a265844bc9afbdd1b64f2fb8c5a4a7f529112.tar.gz
gentoo-2-8c8a265844bc9afbdd1b64f2fb8c5a4a7f529112.tar.bz2
gentoo-2-8c8a265844bc9afbdd1b64f2fb8c5a4a7f529112.zip
fixing gcc 3.4 complaints (#62279)
Diffstat (limited to 'dev-util/screem')
-rw-r--r--dev-util/screem/ChangeLog6
-rw-r--r--dev-util/screem/files/screem-0.10.2-eggtoolbar.patch20
-rw-r--r--dev-util/screem/screem-0.10.2-r1.ebuild14
3 files changed, 35 insertions, 5 deletions
diff --git a/dev-util/screem/ChangeLog b/dev-util/screem/ChangeLog
index 8f4cc59b6ea1..64bbdf745f7b 100644
--- a/dev-util/screem/ChangeLog
+++ b/dev-util/screem/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/screem
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/screem/ChangeLog,v 1.3 2004/09/05 07:49:45 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/screem/ChangeLog,v 1.4 2004/10/17 22:21:19 liquidx Exp $
+
+ 17 Oct 2004; Alastair Tse <liquidx@gentoo.org>
+ +files/screem-0.10.2-eggtoolbar.patch, screem-0.10.2-r1.ebuild:
+ fixing gcc 3.4 complaints (#62279)
05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
Fixed ChangeLog header.
diff --git a/dev-util/screem/files/screem-0.10.2-eggtoolbar.patch b/dev-util/screem/files/screem-0.10.2-eggtoolbar.patch
new file mode 100644
index 000000000000..71037522a706
--- /dev/null
+++ b/dev-util/screem/files/screem-0.10.2-eggtoolbar.patch
@@ -0,0 +1,20 @@
+--- eggtoolbar.c.old 2004-10-17 23:06:35.114101728 +0100
++++ eggtoolbar.c 2004-10-17 23:06:57.778656192 +0100
+@@ -2534,7 +2534,7 @@
+
+ GtkWidget*
+ egg_toolbar_append_element (EggToolbar *toolbar,
+- GtkToolbarChildType type,
++ EggToolbarChildType type,
+ GtkWidget *widget,
+ const char *text,
+ const char *tooltip_text,
+@@ -2551,7 +2551,7 @@
+
+ GtkWidget *
+ egg_toolbar_prepend_element (EggToolbar *toolbar,
+- GtkToolbarChildType type,
++ EggToolbarChildType type,
+ GtkWidget *widget,
+ const char *text,
+ const char *tooltip_text,
diff --git a/dev-util/screem/screem-0.10.2-r1.ebuild b/dev-util/screem/screem-0.10.2-r1.ebuild
index 50a4ee377a9a..0ccb26ba1e0f 100644
--- a/dev-util/screem/screem-0.10.2-r1.ebuild
+++ b/dev-util/screem/screem-0.10.2-r1.ebuild
@@ -1,10 +1,9 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/screem/screem-0.10.2-r1.ebuild,v 1.1 2004/08/23 17:05:21 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/screem/screem-0.10.2-r1.ebuild,v 1.2 2004/10/17 22:21:19 liquidx Exp $
-IUSE="ssl zlib"
-inherit gnome2
+inherit gnome2 eutils
S=${WORKDIR}/${P}
DESCRIPTION="SCREEM (Site CReating and Editing EnvironmenMent) is an
@@ -15,6 +14,7 @@ HOMEPAGE="http://www.screem.org"
KEYWORDS="~x86 ~sparc ~ppc"
SLOT="0"
LICENSE="GPL-2"
+IUSE="ssl zlib"
RDEPEND=">=gnome-base/libgnome-2.2.0
>=gnome-base/libgnomeui-2.2.0
@@ -44,11 +44,17 @@ use zlib || G2CONF="$G2CONF --without-zlib"
DOCS="ABOUT-NLS AUTHORS BUGS ChangeLog INSTALL NEWS README TODO"
-src_compile() {
+src_unpack() {
+ unpack ${A}
sed -i -e 's:@pixmapsdir@:${prefix}/share/screem/pixmaps:g' \
${S}/pixmaps/Makefile.in
+ cd ${S}/libegg/toolbar
+ epatch ${FILESDIR}/${P}-eggtoolbar.patch
+}
+
+src_compile() {
gnome2_src_configure
emake || die "make failed"
}