update to 3.1.0

This commit is contained in:
Michal Hlavinka 2009-01-20 10:08:34 +00:00
parent 4df46e9832
commit d1645e3284
5 changed files with 12 additions and 11 deletions

View File

@ -1 +1 @@
pciutils-3.0.3.tar.gz
pciutils-3.1.0.tar.gz

View File

@ -1,8 +1,8 @@
diff -up pciutils-3.0.0/lib/i386-ports.c.glibcmacros pciutils-3.0.0/lib/i386-ports.c
--- pciutils-3.0.0/lib/i386-ports.c.glibcmacros 2008-04-10 21:15:47.000000000 +0200
+++ pciutils-3.0.0/lib/i386-ports.c 2008-09-01 15:16:42.000000000 +0200
@@ -70,9 +70,9 @@ intel_sanity_check(struct pci_access *a,
for(d.dev = 0; d.dev < 32; d.dev++)
diff -up pciutils-3.1.0/lib/i386-ports.c.glibcmacros pciutils-3.1.0/lib/i386-ports.c
--- pciutils-3.1.0/lib/i386-ports.c.glibcmacros 2008-11-21 22:00:38.000000000 +0100
+++ pciutils-3.1.0/lib/i386-ports.c 2009-01-20 10:43:04.766937947 +0100
@@ -72,9 +72,9 @@ intel_sanity_check(struct pci_access *a,
for (d.dev = 0; d.dev < 32; d.dev++)
{
u16 class, vendor;
- if (m->read(&d, PCI_CLASS_DEVICE, (byte *) &class, sizeof(class)) &&

View File

@ -60,7 +60,7 @@ diff -up pciutils-3.0.0/lib/names-parse.c.dird pciutils-3.0.0/lib/names-parse.c
+ int lino, tempsize;
+ const char *err;
+ char *temp;
+ char new_id_path[PATH_MAX] = {0,};
+ char new_id_path[PATH_MAX+1] = {0,};
+ DIR *pci_ids_dir;
+ struct dirent *dp;
+

View File

@ -1,12 +1,11 @@
Name: pciutils
Version: 3.0.3
Version: 3.1.0
Release: 1%{?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
Patch3: pciutils-havepread.patch
Patch6: pciutils-2.2.1-idpath.patch
Patch7: pciutils-2.1.99-gcc4.patch
Patch8: pciutils-3.0.2-multilib.patch
Patch9: pciutils-dir-d.patch
Patch10: pciutils-2.2.10-sparc-support.patch
@ -49,7 +48,6 @@ devices connected to the PCI bus.
%patch2 -p1 -b .scan
%patch3 -p1 -b .pread
%patch6 -p1 -b .idpath
%patch7 -p1 -b .glibcmacros
%patch8 -p1 -b .multilib
%patch9 -p1 -b .dird
%patch10 -p1 -b .sparc
@ -114,6 +112,9 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Jan 19 2009 Michal Hlavinka <mhlavink@redhat.com> 3.1.0-1
- version 3.1.0
* Tue Dec 09 2008 Michal Hlavinka <mhlavink@redhat.com> 3.0.3-1
- version 3.0.3

View File

@ -1 +1 @@
d07da501bb11e6af40acd036536c2e9a pciutils-3.0.3.tar.gz
4b6e4f2b107a534b21c22400f5db9bf4 pciutils-3.1.0.tar.gz