-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See issue #6332.
- Loading branch information
Leonid Pliushch
committed
Jan 29, 2021
1 parent
442f837
commit dbed0c1
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
packages/qemu-system-x86-64-headless/0014-force-ucs2-little-endian.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff -uNr qemu-5.2.0/ui/curses.c qemu-5.2.0.mod/ui/curses.c | ||
--- qemu-5.2.0/ui/curses.c 2020-12-08 18:59:44.000000000 +0200 | ||
+++ qemu-5.2.0.mod/ui/curses.c 2021-01-30 01:29:40.987065827 +0200 | ||
@@ -566,14 +566,14 @@ | ||
0x25bc | ||
}; | ||
|
||
- ucs2_to_nativecharset = iconv_open(local_codeset, "UCS-2"); | ||
+ ucs2_to_nativecharset = iconv_open(local_codeset, "UCS-2LE"); | ||
if (ucs2_to_nativecharset == (iconv_t) -1) { | ||
fprintf(stderr, "Could not convert font glyphs from UCS-2: '%s'\n", | ||
strerror(errno)); | ||
exit(1); | ||
} | ||
|
||
- nativecharset_to_ucs2 = iconv_open("UCS-2", local_codeset); | ||
+ nativecharset_to_ucs2 = iconv_open("UCS-2LE", local_codeset); | ||
if (nativecharset_to_ucs2 == (iconv_t) -1) { | ||
iconv_close(ucs2_to_nativecharset); | ||
fprintf(stderr, "Could not convert font glyphs to UCS-2: '%s'\n", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters