fixing gcc 3.4 complaints (#62279)
authorAlastair Tse <liquidx@gentoo.org>
Sun, 17 Oct 2004 22:21:19 +0000 (22:21 +0000)
committerAlastair Tse <liquidx@gentoo.org>
Sun, 17 Oct 2004 22:21:19 +0000 (22:21 +0000)
dev-util/screem/ChangeLog
dev-util/screem/files/screem-0.10.2-eggtoolbar.patch [new file with mode: 0644]
dev-util/screem/screem-0.10.2-r1.ebuild

index 8f4cc59b6ea11e1f394ca05e7118ea11cec19daa..64bbdf745f7b734efcf99c756ae67af1d9c92df1 100644 (file)
@@ -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 (file)
index 0000000..7103752
--- /dev/null
@@ -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,
index 50a4ee377a9acde929402c712a1d58f22dad45fe..0ccb26ba1e0f90105f7209b8d451fc2a372c857e 100644 (file)
@@ -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"
 }