From dbafffab12f0f1c77bec09bf7d57ffcf1025b9d4 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Fri, 28 Oct 2005 17:55:03 +0000 Subject: Add upstream patch to fix possible keyboard handling issues (bug #110671) (Portage version: 2.0.51.22-r3) --- games-emulation/xmess/ChangeLog | 6 +++++- games-emulation/xmess/files/xmess-0.101-keyboard.patch | 13 +++++++++++++ games-emulation/xmess/xmess-0.101.ebuild | 4 +++- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 games-emulation/xmess/files/xmess-0.101-keyboard.patch (limited to 'games-emulation/xmess') 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 + +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";; -- cgit v1.2.3-65-gdbad