summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2004-08-29 19:24:34 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2004-08-29 19:24:34 +0000
commit5094bc2c47373358d9f6b89e804d8a1357bf87d1 (patch)
tree7739a0b5fb0ed176e238f08343e4e09df0406710 /x11-themes
parentadd pkgconfig to DEPEND, closing bug #62129 by Tommy Y <a_korner@hotmail.com>... (diff)
downloadgentoo-2-5094bc2c47373358d9f6b89e804d8a1357bf87d1.tar.gz
gentoo-2-5094bc2c47373358d9f6b89e804d8a1357bf87d1.tar.bz2
gentoo-2-5094bc2c47373358d9f6b89e804d8a1357bf87d1.zip
Fixed compile problems using gcc-3.4
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/gtk-engines-crux/ChangeLog6
-rw-r--r--x11-themes/gtk-engines-crux/files/gtk-engines-crux-1.9.5-gcc34-fix.patch11
-rw-r--r--x11-themes/gtk-engines-crux/gtk-engines-crux-1.9.5-r1.ebuild9
3 files changed, 23 insertions, 3 deletions
diff --git a/x11-themes/gtk-engines-crux/ChangeLog b/x11-themes/gtk-engines-crux/ChangeLog
index c6cfe0924bb0..2703d06fea3f 100644
--- a/x11-themes/gtk-engines-crux/ChangeLog
+++ b/x11-themes/gtk-engines-crux/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-themes/gtk-engines-crux
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-crux/ChangeLog,v 1.8 2004/07/09 21:35:25 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-crux/ChangeLog,v 1.9 2004/08/29 19:24:34 sekretarz Exp $
+
+ 29 Aug 2004; Karol Wojtaszek <sekretarz@gentoo.org>
+ gtk-engines-crux-1.9.5-r1.ebuild, gtk-engines-crux-1.9.5.ebuild:
+ Fixed compile problems using gcc-3.4
09 Jul 2004; Bryan Østergaard <kloeri@gentoo.org>
gtk-engines-crux-1.9.5-r1.ebuild:
diff --git a/x11-themes/gtk-engines-crux/files/gtk-engines-crux-1.9.5-gcc34-fix.patch b/x11-themes/gtk-engines-crux/files/gtk-engines-crux-1.9.5-gcc34-fix.patch
new file mode 100644
index 000000000000..951fe99a2469
--- /dev/null
+++ b/x11-themes/gtk-engines-crux/files/gtk-engines-crux-1.9.5-gcc34-fix.patch
@@ -0,0 +1,11 @@
+diff -urNa crux-1.9.5.old/src/crux-draw.c crux-1.9.5/src/crux-draw.c
+--- crux-1.9.5.old/src/crux-draw.c 2002-06-25 08:10:58.000000000 +0200
++++ crux-1.9.5/src/crux-draw.c 2004-08-25 17:53:37.263679667 +0200
+@@ -2120,6 +2120,7 @@
+ break;
+
+ default: /* gcc drugging */
++ break;
+ }
+ paint_background_area (style, window, state_type, area,
+ x, y, width, height);
diff --git a/x11-themes/gtk-engines-crux/gtk-engines-crux-1.9.5-r1.ebuild b/x11-themes/gtk-engines-crux/gtk-engines-crux-1.9.5-r1.ebuild
index afaedea0d9cf..e2de5b960a6c 100644
--- a/x11-themes/gtk-engines-crux/gtk-engines-crux-1.9.5-r1.ebuild
+++ b/x11-themes/gtk-engines-crux/gtk-engines-crux-1.9.5-r1.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/x11-themes/gtk-engines-crux/gtk-engines-crux-1.9.5-r1.ebuild,v 1.9 2004/07/15 01:04:02 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-crux/gtk-engines-crux-1.9.5-r1.ebuild,v 1.10 2004/08/29 19:24:34 sekretarz Exp $
-inherit gtk-engines2
+inherit eutils gtk-engines2
MY_P=${P/gtk-engines-/}
IUSE=""
@@ -17,3 +17,8 @@ DEPEND=">=x11-libs/gtk+-2
!x11-themes/gnome-themes"
S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gcc34-fix.patch
+}