summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-emulation/xmess/ChangeLog6
-rw-r--r--games-emulation/xmess/files/xmess-0.101-keyboard.patch13
-rw-r--r--games-emulation/xmess/xmess-0.101.ebuild4
3 files changed, 21 insertions, 2 deletions
diff --git a/games-emulation/xmess/ChangeLog b/games-emulation/xmess/ChangeLog
index 42bdb2957f73..4dfcdec8467c 100644
--- a/games-emulation/xmess/ChangeLog
+++ b/games-emulation/xmess/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/xmess
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/ChangeLog,v 1.40 2005/10/23 08:12:34 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/ChangeLog,v 1.41 2005/10/28 17:55:03 mr_bones_ Exp $
+
+ 28 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/xmess-0.101-keyboard.patch, xmess-0.101.ebuild:
+ Add upstream patch to fix possible keyboard handling issues (bug #110671)
*xmess-0.101 (23 Oct 2005)
diff --git a/games-emulation/xmess/files/xmess-0.101-keyboard.patch b/games-emulation/xmess/files/xmess-0.101-keyboard.patch
new file mode 100644
index 000000000000..f9ebd3652624
--- /dev/null
+++ b/games-emulation/xmess/files/xmess-0.101-keyboard.patch
@@ -0,0 +1,13 @@
+diff -ru a/src/usrintrf.c b/src/usrintrf.c
+--- a/src/usrintrf.c 2005-10-22 13:37:29.000000000 -0700
++++ b/src/usrintrf.c 2005-10-28 00:11:20.296156336 -0700
+@@ -1219,7 +1219,8 @@
+ #ifdef MESS
+ if (osd_trying_to_quit())
+ return 1;
+- if (options.disable_normal_ui || !mess_ui_active())
++ if (options.disable_normal_ui ||
++ ((Machine->gamedrv->flags & GAME_COMPUTER) && !mess_ui_active()))
+ return 0;
+ #endif
+
diff --git a/games-emulation/xmess/xmess-0.101.ebuild b/games-emulation/xmess/xmess-0.101.ebuild
index 39fb0f00d35e..86900eac0fbb 100644
--- a/games-emulation/xmess/xmess-0.101.ebuild
+++ b/games-emulation/xmess/xmess-0.101.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/xmess-0.101.ebuild,v 1.1 2005/10/23 08:12:34 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/xmess-0.101.ebuild,v 1.2 2005/10/28 17:55:03 mr_bones_ Exp $
inherit flag-o-matic toolchain-funcs eutils games
@@ -56,6 +56,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}/${P}-keyboard.patch" #Bug #110671
+
case ${ARCH} in
x86) mycpu="i386";;
ia64) mycpu="ia64";;