diff --git a/pciutils-dir-d.patch b/pciutils-dir-d.patch index 1a24150..1885890 100644 --- a/pciutils-dir-d.patch +++ b/pciutils-dir-d.patch @@ -39,7 +39,7 @@ diff -up pciutils-3.0.0/lib/names-parse.c.dird pciutils-3.0.0/lib/names-parse.c if (!(f = pci_open(a))) - return 0; - err = id_parse_list(a, f, &lino); -+ return eci_new_load_name_list(a); ++ return pci_new_load_name_list(a); + err = id_parse_list(a, f, &lino, 0); PCI_ERROR(f, err); pci_close(f); diff --git a/pciutils.spec b/pciutils.spec index af52682..0fc584e 100644 --- a/pciutils.spec +++ b/pciutils.spec @@ -1,6 +1,6 @@ Name: pciutils Version: 3.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz Patch1: pciutils-2.2.4-buf.patch Patch2: pciutils-2.1.10-scan.patch @@ -112,6 +112,9 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig rm -rf $RPM_BUILD_ROOT %changelog +* Fri Feb 27 2009 Michal Hlavinka - 3.1.2-4 +- fix typo & rebuild + * Fri Feb 27 2009 Michal Hlavinka - 3.1.2-3 - fix: lspci segfaults when pci.ids cannot be found (#487516)