* [gentoo-commits] repo/gentoo:master commit in: app-text/libodfgen/, app-text/libodfgen/files/
@ 2024-08-15 20:29 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2024-08-15 20:29 UTC (permalink / raw
To: gentoo-commits
commit: 9e7230aefd5dea1760f44fe3000a447140bf05df
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 15 20:28:38 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 15 20:28:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e7230ae
app-text/libodfgen: fix build w/ gcc-15
Closes: https://bugs.gentoo.org/937527
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-text/libodfgen/files/libodfgen-0.1.8-gcc15-cstdint.patch | 12 ++++++++++++
app-text/libodfgen/libodfgen-0.1.8.ebuild | 4 ++++
2 files changed, 16 insertions(+)
diff --git a/app-text/libodfgen/files/libodfgen-0.1.8-gcc15-cstdint.patch b/app-text/libodfgen/files/libodfgen-0.1.8-gcc15-cstdint.patch
new file mode 100644
index 000000000000..1fcf58d88e8a
--- /dev/null
+++ b/app-text/libodfgen/files/libodfgen-0.1.8-gcc15-cstdint.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/937527
+https://sourceforge.net/p/libwpd/tickets/27/
+--- a/src/OdfGenerator.cxx
++++ b/src/OdfGenerator.cxx
+@@ -33,6 +33,7 @@
+ #include <math.h>
+
+ #include <cctype>
++#include <cstdint>
+ #include <limits>
+ #include <memory>
+ #include <string>
diff --git a/app-text/libodfgen/libodfgen-0.1.8.ebuild b/app-text/libodfgen/libodfgen-0.1.8.ebuild
index 13c381630736..56e3812647de 100644
--- a/app-text/libodfgen/libodfgen-0.1.8.ebuild
+++ b/app-text/libodfgen/libodfgen-0.1.8.ebuild
@@ -31,6 +31,10 @@ BDEPEND="
doc? ( app-text/doxygen )
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.1.8-gcc15-cstdint.patch
+)
+
src_prepare() {
default
[[ ${PV} == 9999 ]] && eautoreconf
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-15 20:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-15 20:29 [gentoo-commits] repo/gentoo:master commit in: app-text/libodfgen/, app-text/libodfgen/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox