From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/opencc/, app-i18n/opencc/files/
Date: Sat, 7 Sep 2024 22:09:01 +0000 (UTC) [thread overview]
Message-ID: <1725746878.233b77e82c1c86e05f494d0314b99acaa127623a.sam@gentoo> (raw)
commit: 233b77e82c1c86e05f494d0314b99acaa127623a
Author: Yongxiang Liang <tanekliang <AT> gmail <DOT> com>
AuthorDate: Sat Sep 7 13:20:36 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 22:07:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=233b77e8
app-i18n/opencc: fix for gcc-15
Closes: https://bugs.gentoo.org/937629
Signed-off-by: Yongxiang Liang <tanekliang <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38499
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/opencc-1.1.7-fix-missing-cstdint-for-gcc-15.patch | 13 +++++++++++++
app-i18n/opencc/opencc-1.1.7-r1.ebuild | 4 ++++
app-i18n/opencc/opencc-1.1.7.ebuild | 4 ++++
3 files changed, 21 insertions(+)
diff --git a/app-i18n/opencc/files/opencc-1.1.7-fix-missing-cstdint-for-gcc-15.patch b/app-i18n/opencc/files/opencc-1.1.7-fix-missing-cstdint-for-gcc-15.patch
new file mode 100644
index 000000000000..8e80ff29014c
--- /dev/null
+++ b/app-i18n/opencc/files/opencc-1.1.7-fix-missing-cstdint-for-gcc-15.patch
@@ -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"
diff --git a/app-i18n/opencc/opencc-1.1.7-r1.ebuild b/app-i18n/opencc/opencc-1.1.7-r1.ebuild
index 89372cdb262c..afce6038391d 100644
--- a/app-i18n/opencc/opencc-1.1.7-r1.ebuild
+++ b/app-i18n/opencc/opencc-1.1.7-r1.ebuild
@@ -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
}
diff --git a/app-i18n/opencc/opencc-1.1.7.ebuild b/app-i18n/opencc/opencc-1.1.7.ebuild
index bb06c29d91af..300ca308f554 100644
--- a/app-i18n/opencc/opencc-1.1.7.ebuild
+++ b/app-i18n/opencc/opencc-1.1.7.ebuild
@@ -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
next reply other threads:[~2024-09-07 22:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-07 22:09 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-24 21:16 [gentoo-commits] repo/gentoo:master commit in: app-i18n/opencc/, app-i18n/opencc/files/ David Seifert
2021-03-26 14:38 Mike Gilbert
2020-12-27 18:39 Mike Gilbert
2018-10-09 17:58 Naohiro Aota
2017-08-23 14:25 Akinori Hattori
2017-02-03 21:49 Johannes Huber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1725746878.233b77e82c1c86e05f494d0314b99acaa127623a.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox