public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux-mem-cpu-load/, app-misc/tmux-mem-cpu-load/files/
Date: Tue, 18 Apr 2023 04:29:00 +0000 (UTC)	[thread overview]
Message-ID: <1681788378.fab3e6588af0894f13fcffb7af177fbe4de7f0f4.sam@gentoo> (raw)

commit:     fab3e6588af0894f13fcffb7af177fbe4de7f0f4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 03:26:18 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 03:26:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab3e658

app-misc/tmux-mem-cpu-load: add 3.7.0

Closes: https://bugs.gentoo.org/895304
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/tmux-mem-cpu-load/Manifest                |  1 +
 .../files/tmux-mem-cpu-load-3.7.0-gcc13.patch      | 24 ++++++++++++++++++++++
 ...-9999.ebuild => tmux-mem-cpu-load-3.7.0.ebuild} |  8 ++++++--
 .../tmux-mem-cpu-load-9999.ebuild                  |  4 ++--
 4 files changed, 33 insertions(+), 4 deletions(-)

diff --git a/app-misc/tmux-mem-cpu-load/Manifest b/app-misc/tmux-mem-cpu-load/Manifest
index 143ff2c45522..7323b0aa516f 100644
--- a/app-misc/tmux-mem-cpu-load/Manifest
+++ b/app-misc/tmux-mem-cpu-load/Manifest
@@ -1 +1,2 @@
 DIST tmux-mem-cpu-load-3.5.1.tar.gz 23020 BLAKE2B 2bbe2441c0fd687fee4ed2f27b8cea0fdbb0596c36fe8c791be110b880abe5d8c28a14960a9836552cf49b4f92d32a127be9271954853c5310f1628791138f7a SHA512 e08a3ad088021d4f4a3fb671a15cc8468a833501202391a63f57d3b53ea65934dc32869c3b7bbe47bce7d8ff2c9d1d35a5823a70c80d1218392aac82ed96e68f
+DIST tmux-mem-cpu-load-3.7.0.tar.gz 23374 BLAKE2B 61dfd556b22afd37d7011c2f31e1c1ee2632921c590ac273e92baf18f018d09eaffc628490d8c2bca973fc73dba67f83dfd380792c70f7fac8335cc9c732d7c3 SHA512 0a87d91e2d7ea0b687b0610b913aa782813fc80cc689c6f42fa2e1537715b7b2307edbfabf231fc0e13fe5aeaca1c0ffa4500ce338b37365ba0ac7a8b69e7385

diff --git a/app-misc/tmux-mem-cpu-load/files/tmux-mem-cpu-load-3.7.0-gcc13.patch b/app-misc/tmux-mem-cpu-load/files/tmux-mem-cpu-load-3.7.0-gcc13.patch
new file mode 100644
index 000000000000..77e905aa8fb9
--- /dev/null
+++ b/app-misc/tmux-mem-cpu-load/files/tmux-mem-cpu-load-3.7.0-gcc13.patch
@@ -0,0 +1,24 @@
+https://github.com/thewtex/tmux-mem-cpu-load/pull/95
+
+From 59cca005e4c6d2fe9f90574a99afe78dcb6d8539 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Tue, 18 Apr 2023 04:25:00 +0100
+Subject: [PATCH] Fix build with GCC 13
+
+GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some
+are no longer transitively included.
+
+See https://gnu.org/software/gcc/gcc-13/porting_to.html.
+
+Bug: https://bugs.gentoo.org/895304
+--- a/common/cpu.h
++++ b/common/cpu.h
+@@ -19,6 +19,7 @@
+ #ifndef CPU_H_
+ #define CPU_H_
+ 
++#include <cstdint>
+ #include <sys/types.h>
+ 
+ #if defined(__APPLE__) && defined(__MACH__)
+

diff --git a/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild b/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-3.7.0.ebuild
similarity index 78%
copy from app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild
copy to app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-3.7.0.ebuild
index e8fe363b9562..72e6848796f4 100644
--- a/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild
+++ b/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-3.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ if [[ ${PV} == *9999* ]]; then
 	inherit git-r3
 else
 	SRC_URI="https://github.com/thewtex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-		KEYWORDS="~amd64 ~arm64 ~x86"
+	KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="CPU, RAM memory, and load monitor for use with tmux"
@@ -20,3 +20,7 @@ LICENSE="Apache-2.0"
 SLOT="0"
 
 DOCS=( AUTHORS README.rst )
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.7.0-gcc13.patch
+)

diff --git a/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild b/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild
index e8fe363b9562..8cf26ebed9d5 100644
--- a/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild
+++ b/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ if [[ ${PV} == *9999* ]]; then
 	inherit git-r3
 else
 	SRC_URI="https://github.com/thewtex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-		KEYWORDS="~amd64 ~arm64 ~x86"
+	KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="CPU, RAM memory, and load monitor for use with tmux"


             reply	other threads:[~2023-04-18  4:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18  4:29 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-23 12:15 [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux-mem-cpu-load/, app-misc/tmux-mem-cpu-load/files/ Petr Vaněk

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=1681788378.fab3e6588af0894f13fcffb7af177fbe4de7f0f4.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