commit: 5d4b482354e12221ed685a99f93c79b3de7735bf Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com> AuthorDate: Mon Jul 24 14:21:44 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jul 24 18:41:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d4b4823
xfce-extra/xfce4-cpugraph-plugin: add fix for gcc-13 (missing cstdint) Closes: https://bugs.gentoo.org/910712 Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/32022 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> xfce-extra/xfce4-cpugraph-plugin/files/gcc13.patch | 16 ++++++++++++++++ .../xfce4-cpugraph-plugin-1.2.7.ebuild | 2 ++ .../xfce4-cpugraph-plugin-1.2.8.ebuild | 2 ++ 3 files changed, 20 insertions(+) diff --git a/xfce-extra/xfce4-cpugraph-plugin/files/gcc13.patch b/xfce-extra/xfce4-cpugraph-plugin/files/gcc13.patch new file mode 100644 index 000000000000..7b5ef2791520 --- /dev/null +++ b/xfce-extra/xfce4-cpugraph-plugin/files/gcc13.patch @@ -0,0 +1,16 @@ + +Bug: https://bugs.gentoo.org/910712 +Bug: https://gitlab.xfce.org/panel-plugins/xfce4-cpugraph-plugin/-/issues/37 + +Signed-off-by: Holger Hoffstätte <[email protected]> + +--- a/xfce4++/util/gtk.cc~ 2023-07-22 22:44:01.000000000 +0200 ++++ b/xfce4++/util/gtk.cc 2023-07-23 10:01:32.508675676 +0200 +@@ -19,6 +19,7 @@ + */ + + #include "gtk.h" ++#include <cstdint> + + namespace xfce4 { + diff --git a/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.2.7.ebuild b/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.2.7.ebuild index eb4cc5e6675f..68925fb6ac2e 100644 --- a/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.2.7.ebuild +++ b/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.2.7.ebuild @@ -31,6 +31,8 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( "${FILESDIR}"/gcc13.patch ) + src_install() { default find "${ED}" -name '*.la' -delete || die diff --git a/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.2.8.ebuild b/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.2.8.ebuild index 894630719613..952e3decb840 100644 --- a/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.2.8.ebuild +++ b/xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.2.8.ebuild @@ -33,6 +33,8 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( "${FILESDIR}"/gcc13.patch ) + src_install() { default find "${ED}" -name '*.la' -delete || die
