pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
btop-git: Use 64 bit value of physmem.
Module Name: pkgsrc-wip
Committed By: Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By: fox
Date: Mon Feb 26 04:46:04 2024 +0100
Changeset: e509c113b6342ac758ba1b21875d109587d2362f
Modified Files:
btop-git/distinfo
btop-git/patches/patch-src_netbsd_btop__collect.cpp
Log Message:
btop-git: Use 64 bit value of physmem.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e509c113b6342ac758ba1b21875d109587d2362f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
btop-git/distinfo | 2 +-
btop-git/patches/patch-src_netbsd_btop__collect.cpp | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diffs:
diff --git a/btop-git/distinfo b/btop-git/distinfo
index 5bd835b3dd..89bff9cccd 100644
--- a/btop-git/distinfo
+++ b/btop-git/distinfo
@@ -5,4 +5,4 @@ SHA512 (btop-1.2.13.20240218-6c667402907171f3ba7ebb637e553cc6f66f4e66.tar.gz) =
Size (btop-1.2.13.20240218-6c667402907171f3ba7ebb637e553cc6f66f4e66.tar.gz) = 1145612 bytes
SHA1 (patch-Makefile) = c881cc9121de99902f560728da201473b2ea9ef9
SHA1 (patch-src_btop.cpp) = 60c805d6a5343d2e46f8f7cb0b03059426871fe9
-SHA1 (patch-src_netbsd_btop__collect.cpp) = 1e2fbd770f13efc83d264bd7cfcc350c5df16978
+SHA1 (patch-src_netbsd_btop__collect.cpp) = 579033f58959b83602f1591ab7b7587d83c55c75
diff --git a/btop-git/patches/patch-src_netbsd_btop__collect.cpp b/btop-git/patches/patch-src_netbsd_btop__collect.cpp
index 9a3bff7d78..e92931b32c 100644
--- a/btop-git/patches/patch-src_netbsd_btop__collect.cpp
+++ b/btop-git/patches/patch-src_netbsd_btop__collect.cpp
@@ -2,7 +2,7 @@ $NetBSD$
Add support for NetBSD.
---- src/netbsd/btop_collect.cpp.orig 2024-02-24 10:09:12.152243490 +0000
+--- src/netbsd/btop_collect.cpp.orig 2024-02-24 10:19:36.470949441 +0000
+++ src/netbsd/btop_collect.cpp
@@ -0,0 +1,1282 @@
+/* Copyright 2021 Aristocratos (jakob%qvantnet.com@localhost)
@@ -153,7 +153,7 @@ Add support for NetBSD.
+ }
+
+ size = sizeof(totalMem);
-+ if (sysctlbyname("hw.physmem", &totalMem, &size, nullptr, 0) < 0) {
++ if (sysctlbyname("hw.physmem64", &totalMem, &size, nullptr, 0) < 0) {
+ Logger::warning("Could not get memory size");
+ }
+
Home |
Main Index |
Thread Index |
Old Index