summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-10 03:33:54 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-10 03:33:54 +0000
commitc132ee9a3120a4a21fe5e1e3534132250d7d513c (patch)
treeb4901a1de5cf6444a17dd1e80ede04244c9d30cf /sys-apps/kbd
parentQA cleanup: Fix quoting. (diff)
downloadgentoo-2-c132ee9a3120a4a21fe5e1e3534132250d7d513c.tar.gz
gentoo-2-c132ee9a3120a4a21fe5e1e3534132250d7d513c.tar.bz2
gentoo-2-c132ee9a3120a4a21fe5e1e3534132250d7d513c.zip
Fix building on sparc #217068 by David Dolbel.
(Portage version: 2.2_pre5)
Diffstat (limited to 'sys-apps/kbd')
-rw-r--r--sys-apps/kbd/ChangeLog6
-rw-r--r--sys-apps/kbd/files/kbd-1.14.1-no-asm-kbio.patch15
-rw-r--r--sys-apps/kbd/kbd-1.14.1-r1.ebuild3
3 files changed, 22 insertions, 2 deletions
diff --git a/sys-apps/kbd/ChangeLog b/sys-apps/kbd/ChangeLog
index 253a83f13c60..cbc8c84e34a3 100644
--- a/sys-apps/kbd/ChangeLog
+++ b/sys-apps/kbd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/kbd
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kbd/ChangeLog,v 1.72 2008/04/01 15:16:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kbd/ChangeLog,v 1.73 2008/04/10 03:33:53 vapier Exp $
+
+ 10 Apr 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/kbd-1.14.1-no-asm-kbio.patch, kbd-1.14.1-r1.ebuild:
+ Fix building on sparc #217068 by David Dolbel.
*kbd-1.14.1-r1 (01 Apr 2008)
diff --git a/sys-apps/kbd/files/kbd-1.14.1-no-asm-kbio.patch b/sys-apps/kbd/files/kbd-1.14.1-no-asm-kbio.patch
new file mode 100644
index 000000000000..1dd62925d2fa
--- /dev/null
+++ b/sys-apps/kbd/files/kbd-1.14.1-no-asm-kbio.patch
@@ -0,0 +1,15 @@
+http://bugs.gentoo.org/217068
+
+--- src/setleds.c
++++ src/setleds.c
+@@ -14,10 +14,6 @@
+ #include "nls.h"
+ #include "version.h"
+
+-#ifdef __sparc__
+-#include <asm/kbio.h>
+-#endif
+-
+ static void
+ usage(void)
+ {
diff --git a/sys-apps/kbd/kbd-1.14.1-r1.ebuild b/sys-apps/kbd/kbd-1.14.1-r1.ebuild
index 7cdc00f291ff..fb6b9a78b6c9 100644
--- a/sys-apps/kbd/kbd-1.14.1-r1.ebuild
+++ b/sys-apps/kbd/kbd-1.14.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kbd/kbd-1.14.1-r1.ebuild,v 1.1 2008/04/01 15:16:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kbd/kbd-1.14.1-r1.ebuild,v 1.2 2008/04/10 03:33:53 vapier Exp $
inherit eutils
@@ -33,6 +33,7 @@ src_unpack() {
epatch "${FILESDIR}"/${PN}-1.12-jp-escape.patch
epatch "${FILESDIR}"/${P}-missing-configure.patch #215610
+ epatch "${FILESDIR}"/${P}-no-asm-kbio.patch #217068
}
src_compile() {