From f39b7a7c5f09d148fedc3ba6248d5f2cb6823b18 Mon Sep 17 00:00:00 2001 From: Takao Fujiwara Date: Tue, 17 Mar 2026 19:08:02 +0900 Subject: [PATCH] Resolves: RHEL-155996 ibus-anthy: Fails to build in 2026 --- ibus-anthy-rhel155996-era-2026.patch | 40 ++++++++++++++++++++++++++++ ibus-anthy.spec | 1 + 2 files changed, 41 insertions(+) create mode 100644 ibus-anthy-rhel155996-era-2026.patch diff --git a/ibus-anthy-rhel155996-era-2026.patch b/ibus-anthy-rhel155996-era-2026.patch new file mode 100644 index 0000000..7184d25 --- /dev/null +++ b/ibus-anthy-rhel155996-era-2026.patch @@ -0,0 +1,40 @@ +From 642c5cd0510a4496a8ff3273c13fac59be90e3b5 Mon Sep 17 00:00:00 2001 +From: fujiwarat +Date: Tue, 17 Mar 2026 18:52:07 +0900 +Subject: [PATCH] data/era.t: Update for 2026 + +Resolves: RHEL-155996 ibus-anthy: Fails to build in 2026 +--- + data/era.t | 5 +- + 1 file changed, 4 insertion(+), 1 deletion(-) + +diff --git a/data/era.t b/data/era.t +index c13d273..34e92f5 100644 +--- a/data/era.t ++++ b/data/era.t +@@ -2,7 +2,7 @@ + # + # ibus-anthy - The Anthy engine for IBus + # +-# Copyright (c) 2010-2025 Takao Fujiwara ++# Copyright (c) 2010-2026 Takao Fujiwara + # Copyright (c) 2010-2013 Red Hat, Inc. + # + # This program is free software; you can redistribute it and/or modify +@@ -346,6 +346,8 @@ れいわ6 #T35*500 令和6 + れいわ6 #T35*500 2024 + れいわ7 #T35*500 令和7 + れいわ7 #T35*500 2025 ++れいわ8 #T35*500 令和8 ++れいわ8 #T35*500 2026 + 1868 #T35*500 明治1 + 1869 #T35*500 明治2 + 1870 #T35*500 明治3 +@@ -508,3 +510,4 @@ 2022 #T35*500 令和4 + 2023 #T35*500 令和5 + 2024 #T35*500 令和6 + 2025 #T35*500 令和7 ++2026 #T35*500 令和8 +-- +2.53.0 + diff --git a/ibus-anthy.spec b/ibus-anthy.spec index f6ab10b..350c4c2 100644 --- a/ibus-anthy.spec +++ b/ibus-anthy.spec @@ -28,6 +28,7 @@ Source1: https://github.com/ibus/%{name}/releases/download/%{version}/%{n # Upstreamed patches. # Patch0: %%{name}-HEAD.patch Patch1: %{name}-1938129-default-hiragana.patch +Patch2: %{name}-rhel155996-era-2026.patch BuildRequires: anthy-unicode-devel BuildRequires: desktop-file-utils