summaryrefslogtreecommitdiff
path: root/media-gfx/imv/files/imv-4.3.1_p20211221-libgrapheme2.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-07 07:23:30 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-07 07:23:30 +0100
commitbbdc49d5ccd04563006a608c87c870413f75057e (patch)
tree3212548b16a5a08f257900e8edf75521664bccaf /media-gfx/imv/files/imv-4.3.1_p20211221-libgrapheme2.patch
parenta67cd6675142fbbe7b09fff2361f2961a9031451 (diff)
gentoo auto-resync : 07:10:2022 - 07:23:30
Diffstat (limited to 'media-gfx/imv/files/imv-4.3.1_p20211221-libgrapheme2.patch')
-rw-r--r--media-gfx/imv/files/imv-4.3.1_p20211221-libgrapheme2.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-gfx/imv/files/imv-4.3.1_p20211221-libgrapheme2.patch b/media-gfx/imv/files/imv-4.3.1_p20211221-libgrapheme2.patch
new file mode 100644
index 000000000000..cc467e9eb55d
--- /dev/null
+++ b/media-gfx/imv/files/imv-4.3.1_p20211221-libgrapheme2.patch
@@ -0,0 +1,12 @@
+--- a/src/console.c
++++ b/src/console.c
+@@ -54,3 +54,3 @@
+ if (buffer[position] != 0) {
+- return position + grapheme_next_character_break(buffer + position, SIZE_MAX);
++ return position + grapheme_next_character_break_utf8(buffer + position, SIZE_MAX);
+ } else {
+@@ -87,3 +87,3 @@
+ do {
+- step = grapheme_next_character_break(buffer + result, SIZE_MAX);
++ step = grapheme_next_character_break_utf8(buffer + result, SIZE_MAX);
+ if (result + step >= position)