summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2004-08-24 10:54:07 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2004-08-24 10:54:07 +0000
commit7af4fe1b0f3ae99a22508be22ebe2e7f615eb726 (patch)
tree09388dcf4bfba2e1ffcf2a07e154358e24e87e0b /x11-misc
parentmark 0.2.31 stable; bump to 0.2.41 (Manifest recommit) (diff)
downloadgentoo-2-7af4fe1b0f3ae99a22508be22ebe2e7f615eb726.tar.gz
gentoo-2-7af4fe1b0f3ae99a22508be22ebe2e7f615eb726.tar.bz2
gentoo-2-7af4fe1b0f3ae99a22508be22ebe2e7f615eb726.zip
Gcc-34 fix. Bug #61440
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xxkb/files/xxkb-1.10-gcc34-fix.patch10
-rw-r--r--x11-misc/xxkb/xxkb-1.10.ebuild11
2 files changed, 20 insertions, 1 deletions
diff --git a/x11-misc/xxkb/files/xxkb-1.10-gcc34-fix.patch b/x11-misc/xxkb/files/xxkb-1.10-gcc34-fix.patch
new file mode 100644
index 000000000000..a3005aa220cd
--- /dev/null
+++ b/x11-misc/xxkb/files/xxkb-1.10-gcc34-fix.patch
@@ -0,0 +1,10 @@
+--- resource.c.old 2002-11-30 14:34:12.000000000 +0100
++++ resource.c 2004-08-23 23:52:03.431865596 +0200
+@@ -383,7 +383,6 @@
+ case XpmNoMemory:
+ printf("No memory for open xpm file: %s\n", name);
+ break;
+- default:
+ }
+ }
+
diff --git a/x11-misc/xxkb/xxkb-1.10.ebuild b/x11-misc/xxkb/xxkb-1.10.ebuild
index b29bea9763b4..493f3acd1587 100644
--- a/x11-misc/xxkb/xxkb-1.10.ebuild
+++ b/x11-misc/xxkb/xxkb-1.10.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xxkb/xxkb-1.10.ebuild,v 1.6 2004/06/24 22:47:05 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xxkb/xxkb-1.10.ebuild,v 1.7 2004/08/24 10:54:07 sekretarz Exp $
+
+inherit eutils
DESCRIPTION="eXtended XKB - assign different keymaps to different windows"
HOMEPAGE="http://${PN}.sourceforge.net"
@@ -11,6 +13,13 @@ KEYWORDS="x86"
DEPEND="virtual/x11"
IUSE=""
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gcc34-fix.patch
+}
+
src_compile() {
xmkmf || die
emake PROJECTROOT=/usr PIXMAPDIR=/usr/share/xxkb || die