Control: tags 1123864 + patch Control: tags 1123864 + pending Dear maintainer,
I've prepared an NMU for cpufetch (versioned as 1.07-1.1) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for cpufetch-1.07 cpufetch-1.07 changelog | 7 +++++++ patches/0001-PPC-Fix-the-build.patch | 25 +++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 33 insertions(+) diff -Nru cpufetch-1.07/debian/changelog cpufetch-1.07/debian/changelog --- cpufetch-1.07/debian/changelog 2025-11-20 08:47:32.000000000 +0200 +++ cpufetch-1.07/debian/changelog 2026-01-20 19:44:55.000000000 +0200 @@ -1,3 +1,10 @@ +cpufetch (1.07-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * [PPC] Fix the build. (Closes: #1123864) + + -- Adrian Bunk <[email protected]> Tue, 20 Jan 2026 19:44:55 +0200 + cpufetch (1.07-1) unstable; urgency=medium * [Apple] Implement fallback frequency calculation diff -Nru cpufetch-1.07/debian/patches/0001-PPC-Fix-the-build.patch cpufetch-1.07/debian/patches/0001-PPC-Fix-the-build.patch --- cpufetch-1.07/debian/patches/0001-PPC-Fix-the-build.patch 1970-01-01 02:00:00.000000000 +0200 +++ cpufetch-1.07/debian/patches/0001-PPC-Fix-the-build.patch 2026-01-20 19:44:16.000000000 +0200 @@ -0,0 +1,25 @@ +From abeb549b85f9a67206b0de782526d04e006f7369 Mon Sep 17 00:00:00 2001 +From: Adrian Bunk <[email protected]> +Date: Tue, 20 Jan 2026 19:43:44 +0200 +Subject: [PPC] Fix the build + +--- + src/ppc/udev.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ppc/udev.c b/src/ppc/udev.c +index ffa26d2..254f286 100644 +--- a/src/ppc/udev.c ++++ b/src/ppc/udev.c +@@ -13,7 +13,7 @@ bool fill_array_from_sys(int *core_ids, int total_cores, char* SYS_PATH) { + char* buf; + char* end; + char path[128]; +- memset(name, 0, sizeof(char) * 128); ++ memset(path, 0, sizeof(char) * 128); + + for(int i=0; i < total_cores; i++) { + sprintf(path, "%s%s/cpu%d/%s", _PATH_SYS_SYSTEM, _PATH_SYS_CPU, i, SYS_PATH); +-- +2.47.3 + diff -Nru cpufetch-1.07/debian/patches/series cpufetch-1.07/debian/patches/series --- cpufetch-1.07/debian/patches/series 2025-11-20 08:47:32.000000000 +0200 +++ cpufetch-1.07/debian/patches/series 2026-01-20 19:44:51.000000000 +0200 @@ -1,2 +1,3 @@ 0001_update_makefile.patch 0002_use_cc_dumpmachine.patch +0001-PPC-Fix-the-build.patch

