From 0887e7f1e29c9ab020af7af464daa98aeae80b2d Mon Sep 17 00:00:00 2001 From: herengui Date: Mon, 28 Aug 2023 17:30:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=B3=E5=A8=81=E6=9E=B6?= =?UTF-8?q?=E6=9E=84=E7=BC=96=E8=AF=91=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: herengui --- lshw-B.02.19.2-sw.patch | 2 +- lshw.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lshw-B.02.19.2-sw.patch b/lshw-B.02.19.2-sw.patch index 2aa5865..3f2534f 100755 --- a/lshw-B.02.19.2-sw.patch +++ b/lshw-B.02.19.2-sw.patch @@ -18,7 +18,7 @@ diff -Naur lshw-B.02.19.2.org/src/core/cpuid.cc lshw-B.02.19.2.sw/src/core/cpuid __ID("@(#) $Id$"); -#if defined(__i386__) || defined(__alpha__) -+#if defined(__i386__) || defined(__alpha__) || deined(__sw_64__) ++#if defined(__i386__) || defined(__alpha__) || defined(__sw_64__) static hwNode *getcache(hwNode & node, int n = 0) diff --git a/lshw.spec b/lshw.spec index 747c0be..8f4ea83 100644 --- a/lshw.spec +++ b/lshw.spec @@ -1,6 +1,6 @@ Name: lshw Version: B.02.19.2 -Release: 2 +Release: 3 Summary: Hardware lister License: GPLv2 URL: http://ezix.org/project/wiki/HardwareLiSter @@ -78,6 +78,9 @@ src/lshw -json -disable usb -disable pcmcia -disable isapnp \ %{_mandir}/man1/lshw.1.gz %changelog +* Mon Aug 28 2023 herengui - B.02.19.2-3 +- fix compilation failure on sw_64 architecture + * Mon Oct 24 2022 wuzx - B.02.19.2-2 - add sw64 patch -- Gitee