diff options
author | 2022-10-06 21:11:43 -0400 | |
---|---|---|
committer | 2022-10-06 21:11:48 -0400 | |
commit | 8a9dcaa64d991f4cdbd1a601750e904881e3868e (patch) | |
tree | 853af99d5c9ea5c48b00f0edc3aaa599d919c83a /media-gfx | |
parent | media-gfx/imv: sync live (diff) | |
download | gentoo-8a9dcaa64d991f4cdbd1a601750e904881e3868e.tar.gz gentoo-8a9dcaa64d991f4cdbd1a601750e904881e3868e.tar.bz2 gentoo-8a9dcaa64d991f4cdbd1a601750e904881e3868e.zip |
media-gfx/imv: adjust grapheme2 patch
Upon closer look, believe this is the right fix.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/imv/files/imv-4.3.1_p20211221-libgrapheme2.patch | 5 | ||||
-rw-r--r-- | media-gfx/imv/imv-4.3.1_p20211221-r1.ebuild (renamed from media-gfx/imv/imv-4.3.1_p20211221.ebuild) | 0 |
2 files changed, 2 insertions, 3 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 index ba02c27ef82e..cc467e9eb55d 100644 --- a/media-gfx/imv/files/imv-4.3.1_p20211221-libgrapheme2.patch +++ b/media-gfx/imv/files/imv-4.3.1_p20211221-libgrapheme2.patch @@ -1,13 +1,12 @@ -Changed with v2 and would become an error with clang16. --- 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((uint_least32_t *)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((uint_least32_t *)buffer + result, SIZE_MAX); ++ step = grapheme_next_character_break_utf8(buffer + result, SIZE_MAX); if (result + step >= position) diff --git a/media-gfx/imv/imv-4.3.1_p20211221.ebuild b/media-gfx/imv/imv-4.3.1_p20211221-r1.ebuild index efc26ac19ee5..efc26ac19ee5 100644 --- a/media-gfx/imv/imv-4.3.1_p20211221.ebuild +++ b/media-gfx/imv/imv-4.3.1_p20211221-r1.ebuild |