pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

btop-git: remove accidentally added patch.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Wed May 6 18:12:25 2026 +0200
Changeset:	a5876f47f5895a2c00a3b38dda08416229c490cc

Removed Files:
	btop-git/patches/patch-src_netbsd_btop__collect.cpp

Log Message:
btop-git: remove accidentally added patch.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a5876f47f5895a2c00a3b38dda08416229c490cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 .../patches/patch-src_netbsd_btop__collect.cpp     | 47 ----------------------
 1 file changed, 47 deletions(-)

diffs:
diff --git a/btop-git/patches/patch-src_netbsd_btop__collect.cpp b/btop-git/patches/patch-src_netbsd_btop__collect.cpp
deleted file mode 100644
index d0a2be2b4e..0000000000
--- a/btop-git/patches/patch-src_netbsd_btop__collect.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-$NetBSD$
-
-Disable name prefix detection.
-
---- src/netbsd/btop_collect.cpp.orig	2025-01-18 21:33:07.766242345 +0000
-+++ src/netbsd/btop_collect.cpp
-@@ -215,23 +215,23 @@ namespace Cpu {
- 
- 		auto name_vec = ssplit(name);
- 
--		if ((s_contains(name, "Xeon"s) or v_contains(name_vec, "Duo"s)) and v_contains(name_vec, "CPU"s)) {
--			auto cpu_pos = v_index(name_vec, "CPU"s);
--			if (cpu_pos < name_vec.size() - 1 and not name_vec.at(cpu_pos + 1).ends_with(')'))
--				name = name_vec.at(cpu_pos + 1);
--			else
--				name.clear();
--		} else if (v_contains(name_vec, "Ryzen"s)) {
--			auto ryz_pos = v_index(name_vec, "Ryzen"s);
--			name = "Ryzen" + (ryz_pos < name_vec.size() - 1 ? ' ' + name_vec.at(ryz_pos + 1) : "") + (ryz_pos < name_vec.size() - 2 ? ' ' + name_vec.at(ryz_pos + 2) : "");
--		} else if (s_contains(name, "Intel"s) and v_contains(name_vec, "CPU"s)) {
--			auto cpu_pos = v_index(name_vec, "CPU"s);
--			if (cpu_pos < name_vec.size() - 1 and not name_vec.at(cpu_pos + 1).ends_with(')') and name_vec.at(cpu_pos + 1) != "@")
--				name = name_vec.at(cpu_pos + 1);
--			else
--				name.clear();
--		} else
--			name.clear();
-+//		if ((s_contains(name, "Xeon"s) or v_contains(name_vec, "Duo"s)) and v_contains(name_vec, "CPU"s)) {
-+//			auto cpu_pos = v_index(name_vec, "CPU"s);
-+//			if (cpu_pos < name_vec.size() - 1 and not name_vec.at(cpu_pos + 1).ends_with(')'))
-+//				name = name_vec.at(cpu_pos + 1);
-+//			else
-+//				name.clear();
-+//		} else if (v_contains(name_vec, "Ryzen"s)) {
-+//			auto ryz_pos = v_index(name_vec, "Ryzen"s);
-+//			name = "Ryzen" + (ryz_pos < name_vec.size() - 1 ? ' ' + name_vec.at(ryz_pos + 1) : "") + (ryz_pos < name_vec.size() - 2 ? ' ' + name_vec.at(ryz_pos + 2) : "");
-+//		} else if (s_contains(name, "Intel"s) and v_contains(name_vec, "CPU"s)) {
-+//			auto cpu_pos = v_index(name_vec, "CPU"s);
-+//			if (cpu_pos < name_vec.size() - 1 and not name_vec.at(cpu_pos + 1).ends_with(')') and name_vec.at(cpu_pos + 1) != "@")
-+//				name = name_vec.at(cpu_pos + 1);
-+//			else
-+//				name.clear();
-+//		} else
-+//			name.clear();
- 
- 		if (name.empty() and not name_vec.empty()) {
- 			for (const auto &n : name_vec) {


Home | Main Index | Thread Index | Old Index