From edf0a960f71ee251e82b4093e1e4544e8d57229f Mon Sep 17 00:00:00 2001 From: Yongxiang Liang Date: Fri, 2 May 2025 17:48:05 +0800 Subject: [PATCH] app-i18n/opencc: re-add patch for gcc-15 Closes: https://bugs.gentoo.org/955226 Closes: https://github.com/gentoo/gentoo/pull/41895 Signed-off-by: Yongxiang Liang Signed-off-by: Yixun Lan --- app-i18n/opencc/opencc-1.1.9.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app-i18n/opencc/opencc-1.1.9.ebuild b/app-i18n/opencc/opencc-1.1.9.ebuild index a9d2f40c15187..bf1fd1c4e4209 100644 --- a/app-i18n/opencc/opencc-1.1.9.ebuild +++ b/app-i18n/opencc/opencc-1.1.9.ebuild @@ -47,6 +47,10 @@ BDEPEND="${PYTHON_DEPS} DOCS=( AUTHORS NEWS.md README.md ) +PATCHES=( + "${FILESDIR}/${PN}-1.1.7-fix-missing-cstdint-for-gcc-15.patch" +) + src_prepare() { # as of opencc 1.1.8 there is no clean way to disable duplicated building of the clib again. # plus, the installation is broken as well.