git: d1366f17419b - main - sysutils/lscpu: fix architecture detection
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Feb 2023 20:51:47 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d1366f17419b97946cac812da560365d39024bd0
commit d1366f17419b97946cac812da560365d39024bd0
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-02-22 13:03:18 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-02-22 20:51:41 +0000
sysutils/lscpu: fix architecture detection
Use uname -p instead of uname -m.
---
sysutils/lscpu/Makefile | 4 ++++
sysutils/lscpu/distinfo | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/sysutils/lscpu/Makefile b/sysutils/lscpu/Makefile
index 1c26dc5d7c28..c9e93e11e0b4 100644
--- a/sysutils/lscpu/Makefile
+++ b/sysutils/lscpu/Makefile
@@ -1,7 +1,11 @@
PORTNAME= lscpu
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= sysutils
+PATCH_SITES= https://github.com/NanXiao/lscpu/commit/
+PATCHFILES= 6243acc4393f32a0a52d8eeec35081ebb3027cfe.patch:-p2
+
MAINTAINER= zi@FreeBSD.org
COMMENT= Display information about the CPU architecture
WWW= https://github.com/NanXiao/lscpu
diff --git a/sysutils/lscpu/distinfo b/sysutils/lscpu/distinfo
index eaaba38ab5ed..1034e972fa47 100644
--- a/sysutils/lscpu/distinfo
+++ b/sysutils/lscpu/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1534038982
+TIMESTAMP = 1677070900
SHA256 (NanXiao-lscpu-1.2.0_GH0.tar.gz) = d91a87694bd14a26b1ed8cd44d62444d93e68eaf98db6488b3abd36ad09a6bcc
SIZE (NanXiao-lscpu-1.2.0_GH0.tar.gz) = 7863
+SHA256 (6243acc4393f32a0a52d8eeec35081ebb3027cfe.patch) = 2d1c6002dbbb6bdcd9e47d070c02d980b5f897e164b69d87781ac7acd7c2923b
+SIZE (6243acc4393f32a0a52d8eeec35081ebb3027cfe.patch) = 1059