diff --git a/lshw-B.02.19.2-sw.patch b/lshw-B.02.19.2-sw.patch index 2aa586538a5dfc19a915c8508b3a51087deeba8a..3f2534f658daccdc5984604c93fcb3ac2d558b3a 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 747c0beb2b1cc33b803b81c09312f49b3b29b239..d147453c5eb7706cb75b11bcfca5030a908d1c2c 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 Apr 24 2023 guoqinglan - B.02.19.2-3 +- fix build error for sw_64 + * Mon Oct 24 2022 wuzx - B.02.19.2-2 - add sw64 patch