aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/qemu
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2006-12-27 06:41:13 +0800
committernox <nox@FreeBSD.org>2006-12-27 06:41:13 +0800
commitbe90d0c194b7f38795c2042e15c99e6215b9f2a7 (patch)
tree79d9d0b12b90d8c72fe3cff8f5a46c2e4305b793 /emulators/qemu
parent27b60b55b49107ea719f9aa5b24c0d2020fc843a (diff)
downloadfreebsd-ports-gnome-be90d0c194b7f38795c2042e15c99e6215b9f2a7.tar.gz
freebsd-ports-gnome-be90d0c194b7f38795c2042e15c99e6215b9f2a7.tar.zst
freebsd-ports-gnome-be90d0c194b7f38795c2042e15c99e6215b9f2a7.zip
Add patch to pass windows keys to qemu guests
PR: ports/107216 Submitted by: Scott Robbins <scottro@nyc.rr.com> Approved by: miwi (mentor)
Diffstat (limited to 'emulators/qemu')
-rw-r--r--emulators/qemu/Makefile1
-rw-r--r--emulators/qemu/files/patch-sdl.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index dd567cfe04ee..dc533bde9cc9 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qemu
PORTVERSION= 0.8.2s.20061225
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://www.qemu.org/:release \
http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \
diff --git a/emulators/qemu/files/patch-sdl.c b/emulators/qemu/files/patch-sdl.c
new file mode 100644
index 000000000000..a5cc515a4b10
--- /dev/null
+++ b/emulators/qemu/files/patch-sdl.c
@@ -0,0 +1,14 @@
+Index: qemu/sdl.c
+@@ -115,9 +115,9 @@
+ 0xb5, /* 112 Divide */
+ 0xb8, /* 113 Alt-R */
+ 0xc6, /* 114 Break */
+- 0x0, /* 115 */
+- 0x0, /* 116 */
+- 0x0, /* 117 */
++ 0xdb, /* 115 windows left button */
++ 0xdc, /* 116 windows right button */
++ 0xdd, /* 117 right menu button */
+ 0x0, /* 118 */
+ 0x0, /* 119 */
+ 0x70, /* 120 Hiragana_Katakana */