mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-i18n/opencc: fix for gcc-15
Closes: https://bugs.gentoo.org/937629 Signed-off-by: Yongxiang Liang <tanekliang@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38499 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
40ec8378df
commit
233b77e82c
@@ -0,0 +1,13 @@
|
||||
https://github.com/BYVoid/OpenCC/pull/894
|
||||
Fix missing cstdint for GCC 15
|
||||
|
||||
--- a/src/SerializedValues.cpp
|
||||
+++ b/src/SerializedValues.cpp
|
||||
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
+#include <cstdint>
|
||||
#include <cstring>
|
||||
|
||||
#include "Lexicon.hpp"
|
||||
@@ -47,6 +47,10 @@ BDEPEND="${PYTHON_DEPS}
|
||||
|
||||
DOCS=( AUTHORS NEWS.md README.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-missing-cstdint-for-gcc-15.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
@@ -34,6 +34,10 @@ BDEPEND="${PYTHON_DEPS}
|
||||
|
||||
DOCS=( AUTHORS NEWS.md README.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-missing-cstdint-for-gcc-15.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
rm -r deps || die
|
||||
|
||||
|
||||
Reference in New Issue
Block a user