From 7288c6e5fa05acddbf692a5187d925ef85662b46 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Apr 2023 11:55:01 +0100 Subject: gentoo auto-resync : 18:04:2023 - 11:55:01 --- app-misc/tmux-mem-cpu-load/Manifest | 5 ++++- .../files/tmux-mem-cpu-load-3.7.0-gcc13.patch | 24 ++++++++++++++++++++ .../tmux-mem-cpu-load-3.7.0.ebuild | 26 ++++++++++++++++++++++ .../tmux-mem-cpu-load-9999.ebuild | 4 ++-- 4 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 app-misc/tmux-mem-cpu-load/files/tmux-mem-cpu-load-3.7.0-gcc13.patch create mode 100644 app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-3.7.0.ebuild (limited to 'app-misc/tmux-mem-cpu-load') diff --git a/app-misc/tmux-mem-cpu-load/Manifest b/app-misc/tmux-mem-cpu-load/Manifest index 8bb8f278418d..2336a4850a27 100644 --- a/app-misc/tmux-mem-cpu-load/Manifest +++ b/app-misc/tmux-mem-cpu-load/Manifest @@ -1,4 +1,7 @@ +AUX tmux-mem-cpu-load-3.7.0-gcc13.patch 641 BLAKE2B a55fa30e0534b0a9bf9411421003fdf610e991f0ee24dfb274722e190b63bad74f1354e514837766ad8899f426d189612a2a5260f9f4fcfd2a840d3797c9cf1b SHA512 43e04b52f3a0cadd1b39bc83d6bb6a5d9f1176918fc601ce3a3b541ce189d9c20f400eb1279aad49cad77e542731c78f9d9d1aaec274b28efc41899e019367da 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 EBUILD tmux-mem-cpu-load-3.5.1.ebuild 557 BLAKE2B 926eadd52bdf84974bc78cd92e96bc8729de9bd68a77aa4213b0449949858d57b1dc1a6c835085375faea89d92bf9a50dba868bd7704472b2e54cf99838d5ce1 SHA512 ef95e779f6c7e7b8e49833f988b2358da8691ba28736620f4e3ce105bdc438c900daccb6bac7a85f65c0972027242b706271d6fd5e9f513b9b42c6918dd94c62 -EBUILD tmux-mem-cpu-load-9999.ebuild 545 BLAKE2B 316949a74bb2db6c7d9c485a10795369b31aa3387258365d2f2f8be9657a601bfd6986b0a34f87a49741e54e0fb1705f6025254a773a3837f6ed75abc4857beb SHA512 a86af4da3c65fca2c4333e4169442d6b8f639266533d1300f0851761c5dc443cf16963d1802f19ffbb307c803a17f84af0748ec0699e4cfde621be84fef3d0c9 +EBUILD tmux-mem-cpu-load-3.7.0.ebuild 610 BLAKE2B c483c298a90b268bf1963dab78faa5c57ceaedf470c47a13752ba59c281fe5ebac0498e5baae253511d40f93a26f264683be825ec7faa46738068782d227ea07 SHA512 b4031b98fd60f464a961f49b161e042d5c1ee52edf0411c1861aecfbe888b8ae09ba436d662a6fd20a091855a819e9b1d5eae069ee819a6505fffbf60ef9757e +EBUILD tmux-mem-cpu-load-9999.ebuild 558 BLAKE2B 6840ab01f564363af090d14f71921effd2e0e79175667bb4066acc1ac395ca9f28cbdd40ebd7514f3b8b1d30c1519820a73d2c337c6e1391efda1a6ad5fe487a SHA512 4573ab60206a73f76680571a66e2318158d7fa052cbd043d2df1a6cbf86cfb87e783645d8abd162954297be60ec61e22709a60103176d27980d4e8f0074eb672 MISC metadata.xml 261 BLAKE2B c72b9ffeda4ffe9423279540d7ea84bb499eec367dfa01288393aada1561ccdf01f08f89d5574d4beb7cd197cb3b123d2602ccce6288bbafe4e6c25a1ffe6e67 SHA512 99c6f01dba5cb14a98d96480e02dc49a3399ba679dc83a11f39d9847e472ff830470b0881f7944aba24c6fd7827a5c19bf8c1001f53627fc3eaf3f8d92840cd8 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 +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 + #include + + #if defined(__APPLE__) && defined(__MACH__) + diff --git a/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-3.7.0.ebuild b/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-3.7.0.ebuild new file mode 100644 index 000000000000..72e6848796f4 --- /dev/null +++ b/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-3.7.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/thewtex/tmux-mem-cpu-load.git" + inherit git-r3 +else + SRC_URI="https://github.com/thewtex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="CPU, RAM memory, and load monitor for use with tmux" +HOMEPAGE="https://github.com/thewtex/tmux-mem-cpu-load" + +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" -- cgit v1.2.3