[Bug 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Jul 2021 12:03:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246121

mario felicioni <marietto2008@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marietto2008@gmail.com

--- Comment #28 from mario felicioni <marietto2008@gmail.com> ---
Hello. I have the same problem explained here and I tried to apply the patch as
follows : but Im not sure if it worked / how much it worked...what do u think ?
I've got the patch file here : 

https://osdn.net/users/koinec/pf/bhyve_keyboard_layout_patch/scm/blobs/b0817c73acee1ed5a2b3621590fa6fc1cca89425/kbdlayout_option/bhyve_kbdlayout_fbsd13c.patch

root@marietto:/usr/src/usr.sbin # patch -u < bhyve_kbdlayout_fbsd13c.patch

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -upN bhyve_orig/Makefile bhyve/Makefile
|--- bhyve_orig/Makefile        2020-04-23 09:06:39.000000000 +0900
|+++ bhyve/Makefile     2020-05-02 13:09:01.382770000 +0900
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 99.
1 out of 1 hunks failed--saving rejects to Makefile.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -upN bhyve_orig/bhyve.8 bhyve/bhyve.8
|--- bhyve_orig/bhyve.8 2020-04-23 09:06:39.000000000 +0900
|+++ bhyve/bhyve.8      2020-05-02 13:11:28.198679000 +0900
--------------------------
Patching file bhyve/bhyve.8 using Plan A...
Hunk #1 failed at 47.
Hunk #2 succeeded at 150 (offset -12 lines).
1 out of 2 hunks failed--saving rejects to bhyve/bhyve.8.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -upN bhyve_orig/bhyverun.c bhyve/bhyverun.c
|--- bhyve_orig/bhyverun.c      2020-04-23 09:06:39.000000000 +0900
|+++ bhyve/bhyverun.c   2020-05-02 13:09:01.437624000 +0900
--------------------------
Patching file bhyve/bhyverun.c using Plan A...
Hunk #1 succeeded at 188 (offset 20 lines).
Hunk #2 failed at 239.
Hunk #3 succeeded at 230 with fuzz 1 (offset 1 line).
Hunk #4 failed at 1024.
Hunk #5 succeeded at 1146 (offset 85 lines).
2 out of 5 hunks failed--saving rejects to bhyve/bhyverun.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -upN bhyve_orig/bhyverun.h bhyve/bhyverun.h
|--- bhyve_orig/bhyverun.h      2020-04-23 09:06:39.000000000 +0900
|+++ bhyve/bhyverun.h   2020-05-02 13:09:01.444814000 +0900
--------------------------
Patching file bhyve/bhyverun.h using Plan A...
Hunk #1 failed at 39.
1 out of 1 hunks failed--saving rejects to bhyve/bhyverun.h.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Common subdirectories: bhyve_orig/kbdlayout and bhyve/kbdlayout
|diff -upN bhyve_orig/ps2kbd.c bhyve/ps2kbd.c
|--- bhyve_orig/ps2kbd.c        2020-04-23 09:06:39.000000000 +0900
|+++ bhyve/ps2kbd.c     2020-05-02 13:09:01.462761000 +0900
--------------------------
Patching file bhyve/ps2kbd.c using Plan A...
Hunk #1 failed at 31.
Hunk #2 succeeded at 67 (offset 3 lines).
Hunk #3 succeeded at 97 (offset 3 lines).
Hunk #4 succeeded at 169 (offset 3 lines).
Hunk #5 succeeded at 327 (offset 3 lines).
Hunk #6 succeeded at 377 (offset 3 lines).
1 out of 6 hunks failed--saving rejects to bhyve/ps2kbd.c.rej
done

-- 
You are receiving this mail because:
You are the assignee for the bug.