rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / inputmethod / ibus / patches / 02-gcc14.patch
blob9fcbc0a5f4e2311b595d19b7c62d3671306042e8
1 https://github.com/ibus/ibus/commit/7db9d986a0f7c4040f12f31796efba2a9b4fee2e
3 From 7db9d986a0f7c4040f12f31796efba2a9b4fee2e Mon Sep 17 00:00:00 2001
4 From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
5 Date: Sun, 8 Sep 2024 09:13:29 +0900
6 Subject: [PATCH] src/ibuscomposetable: Replace obsolete index(3) with
7 strchr(3)
9 BUG=https://github.com/ibus/ibus/pull/2676
10 ---
11 src/ibuscomposetable.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/src/ibuscomposetable.c b/src/ibuscomposetable.c
15 index a8e41a33c..abf51244c 100644
16 --- a/src/ibuscomposetable.c
17 +++ b/src/ibuscomposetable.c
18 @@ -192,7 +192,7 @@ parse_compose_sequence (IBusComposeData *compose_data,
20 for (i = 1; words[i] != NULL; i++) {
21 char *start = words[i];
22 - char *end = index (words[i], '>');
23 + char *end = strchr (start, '>');
24 char *match;
25 gunichar codepoint;