add keyboard patch from xmess
authorMike Frysinger <vapier@gentoo.org>
Sun, 20 Nov 2005 06:47:32 +0000 (06:47 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 20 Nov 2005 06:47:32 +0000 (06:47 +0000)
Package-Manager: portage-2.0.53_rc7

games-emulation/xmame/ChangeLog
games-emulation/xmame/Manifest
games-emulation/xmame/files/xmame-0.101-keyboard.patch [new file with mode: 0644]
games-emulation/xmame/xmame-0.101.ebuild
games-emulation/xmess/Manifest

index 3b0671664919099cd0bce967f79511e3c29f3d9d..312ff94087c5afc637159d0d61d6209d6c75d6fb 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-emulation/xmame
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/ChangeLog,v 1.53 2005/10/23 07:45:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/ChangeLog,v 1.54 2005/11/20 06:47:32 vapier 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)
 
 *xmame-0.101 (23 Oct 2005)
 
index 9ceb8b874d3735c4937c46af98b32f52d7884023..7ef174db16281ae7d9a50e87bde570e7c530cd67 100644 (file)
@@ -1,12 +1,23 @@
-MD5 e44da7fe9271f2f2e299cc34df120830 metadata.xml 1537
-MD5 c0537482ba700a83a59bd652fe441a78 xmame-0.101.ebuild 5741
-MD5 d3bb7f074f158a0d42e852eba6a50458 xmame-0.83.1.ebuild 6788
-MD5 afef2d4a02442e0e553f32c901639496 xmame-0.100.ebuild 5741
-MD5 2e18c1e9e72f58bf73c5875710891e98 xmame-0.99-r1.ebuild 5789
-MD5 0eeadd5ac40f86ae44318bc4eafaa834 ChangeLog 10250
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 9c3d23f5751c973ec6be7a969739c3bd ChangeLog 10436
 MD5 240bd404f0deb6cd68bf6a98a5fb76db files/0.83.1-glx-fix.patch 386
-MD5 036cf5547f8737d96baaff395c1bfbe9 files/digest-xmame-0.101 66
-MD5 2dd9cfc7467cb3d1e313af9f7ce19aba files/xmame-0.99-mcr3.patch 324
-MD5 7ce8d08fd7cafebd74de85322bf9c478 files/digest-xmame-0.99-r1 65
 MD5 ecb76daf5fcb89c5a092da585055c27a files/digest-xmame-0.100 66
+MD5 036cf5547f8737d96baaff395c1bfbe9 files/digest-xmame-0.101 66
 MD5 bd94e56aecab93b1d9e02b6fb3d8a0e9 files/digest-xmame-0.83.1 67
+MD5 7ce8d08fd7cafebd74de85322bf9c478 files/digest-xmame-0.99-r1 65
+MD5 5e43a2ac7510a32cf9a05ff45910eb2d files/xmame-0.101-keyboard.patch 417
+MD5 2dd9cfc7467cb3d1e313af9f7ce19aba files/xmame-0.99-mcr3.patch 324
+MD5 e44da7fe9271f2f2e299cc34df120830 metadata.xml 1537
+MD5 afef2d4a02442e0e553f32c901639496 xmame-0.100.ebuild 5741
+MD5 398f595996fa10d6672c9a6cc13ade29 xmame-0.101.ebuild 5789
+MD5 d3bb7f074f158a0d42e852eba6a50458 xmame-0.83.1.ebuild 6788
+MD5 2e18c1e9e72f58bf73c5875710891e98 xmame-0.99-r1.ebuild 5789
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDgBxkgIKl8Uu19MoRAppUAJ4ulZF58hi0lW//8KuAkEI/nImAQwCfcNvS
+TZlhjyi+/bDUw2PJmACOoMI=
+=6KI6
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/xmame/files/xmame-0.101-keyboard.patch b/games-emulation/xmame/files/xmame-0.101-keyboard.patch
new file mode 100644 (file)
index 0000000..f9ebd36
--- /dev/null
@@ -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
+ 
index 63b1945da40d69fc91c239d9cb5da20589a0d3f2..9852f6808739f16ef7dbeba7036656d06eca4f09 100644 (file)
@@ -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/xmame/xmame-0.101.ebuild,v 1.1 2005/10/23 07:45:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/xmame-0.101.ebuild,v 1.2 2005/11/20 06:47:32 vapier Exp $
 
 inherit flag-o-matic toolchain-funcs eutils games
 
@@ -56,6 +56,8 @@ src_unpack() {
        unpack ${A}
        cd "${S}"
 
+       epatch "${FILESDIR}"/${P}-keyboard.patch #110671
+
        case ${ARCH} in
                x86)    mycpu="i386";;
                ia64)   mycpu="ia64";;
index 95776216fad6209ee11922ec8b7b78fd35bf4854..da12b6d67a1ecee1c22e5e45e70c488c01250b69 100644 (file)
@@ -1,13 +1,13 @@
-MD5 111477ad0afbc5d4d40700f60e619ead xmess-0.100.ebuild 5741
-MD5 0234d9024c471faf92bb1219242614ef metadata.xml 1566
-MD5 533128398138aadfbb9fbdad2e55b6b3 xmess-0.101.ebuild 5797
-MD5 e239b0a87b24efd591009f37e09cfa63 xmess-0.83.1.ebuild 6588
-MD5 1228c6c471c888e765a539bf95dc2026 ChangeLog 6083
-MD5 dd6ace276bcfbbcb022574afe3dbaa2c xmess-0.99-r1.ebuild 5789
+MD5 fd8c038e6a6a5f54a56238103c72a882 ChangeLog 6208
 MD5 240bd404f0deb6cd68bf6a98a5fb76db files/0.83.1-glx-fix.patch 386
-MD5 2dd9cfc7467cb3d1e313af9f7ce19aba files/xmess-0.99-mcr3.patch 324
-MD5 bd94e56aecab93b1d9e02b6fb3d8a0e9 files/digest-xmess-0.83.1 67
+MD5 ecb76daf5fcb89c5a092da585055c27a files/digest-xmess-0.100 66
 MD5 036cf5547f8737d96baaff395c1bfbe9 files/digest-xmess-0.101 66
+MD5 bd94e56aecab93b1d9e02b6fb3d8a0e9 files/digest-xmess-0.83.1 67
 MD5 7ce8d08fd7cafebd74de85322bf9c478 files/digest-xmess-0.99-r1 65
 MD5 5e43a2ac7510a32cf9a05ff45910eb2d files/xmess-0.101-keyboard.patch 417
-MD5 ecb76daf5fcb89c5a092da585055c27a files/digest-xmess-0.100 66
+MD5 2dd9cfc7467cb3d1e313af9f7ce19aba files/xmess-0.99-mcr3.patch 324
+MD5 0234d9024c471faf92bb1219242614ef metadata.xml 1566
+MD5 111477ad0afbc5d4d40700f60e619ead xmess-0.100.ebuild 5741
+MD5 bf39f3d39b4a08f870082aa8d840a983 xmess-0.101.ebuild 5836
+MD5 e239b0a87b24efd591009f37e09cfa63 xmess-0.83.1.ebuild 6588
+MD5 dd6ace276bcfbbcb022574afe3dbaa2c xmess-0.99-r1.ebuild 5789