public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-cpugraph-plugin/, xfce-extra/xfce4-cpugraph-plugin/files/
Date: Mon, 24 Jul 2023 18:41:35 +0000 (UTC)	[thread overview]
Message-ID: <1690224071.5d4b482354e12221ed685a99f93c79b3de7735bf.mgorny@gentoo> (raw)

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 <holger@applied-asynchrony.com>
+
+--- 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


             reply	other threads:[~2023-07-24 18:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24 18:41 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-26 17:22 [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-cpugraph-plugin/, xfce-extra/xfce4-cpugraph-plugin/files/ Michał Górny

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=1690224071.5d4b482354e12221ed685a99f93c79b3de7735bf.mgorny@gentoo \
    --to=mgorny@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