summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2006-12-26 22:41:13 +0000
committernox <nox@FreeBSD.org>2006-12-26 22:41:13 +0000
commitbe90d0c194b7f38795c2042e15c99e6215b9f2a7 (patch)
tree79d9d0b12b90d8c72fe3cff8f5a46c2e4305b793 /emulators
parent27b60b55b49107ea719f9aa5b24c0d2020fc843a (diff)
downloadFreeBSD-ports-be90d0c194b7f38795c2042e15c99e6215b9f2a7.zip
FreeBSD-ports-be90d0c194b7f38795c2042e15c99e6215b9f2a7.tar.gz
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')
-rw-r--r--emulators/qemu-devel/Makefile1
-rw-r--r--emulators/qemu-devel/files/patch-sdl.c14
-rw-r--r--emulators/qemu/Makefile1
-rw-r--r--emulators/qemu/files/patch-sdl.c14
4 files changed, 30 insertions, 0 deletions
diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile
index dd567cf..dc533bd 100644
--- a/emulators/qemu-devel/Makefile
+++ b/emulators/qemu-devel/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-devel/files/patch-sdl.c b/emulators/qemu-devel/files/patch-sdl.c
new file mode 100644
index 0000000..a5cc515
--- /dev/null
+++ b/emulators/qemu-devel/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 */
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index dd567cf..dc533bd 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 0000000..a5cc515
--- /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 */
OpenPOWER on IntegriCloud