diff --git a/pciutils-strip.patch b/pciutils-strip.patch index 69c172c..b8f75f4 100644 --- a/pciutils-strip.patch +++ b/pciutils-strip.patch @@ -1,5 +1,14 @@ ---- pciutils-2.1.10/Makefile.werror Tue Jun 25 00:25:40 2002 -+++ pciutils-2.1.10/Makefile Tue Jun 25 00:27:21 2002 +--- pciutils-2.1.10/Makefile.strip 2002-03-30 10:42:16.000000000 -0500 ++++ pciutils-2.1.10/Makefile 2002-07-18 21:15:59.000000000 -0400 +@@ -2,7 +2,7 @@ + # Makefile for Linux PCI Utilities + # (c) 1998--2002 Martin Mares + +-OPT=-O2 -fomit-frame-pointer ++OPT=-O2 + #OPT=-O2 -g + CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes + @@ -59,7 +59,7 @@ install: all # -c is ignored on Linux, but required on FreeBSD @@ -9,3 +18,14 @@ if [ ! -f $(PREFIX)/share/pci.ids -o pci.ids -nt $(PREFIX)/share/pci.ids ] ; then \ $(INSTALL) -c -m 644 pci.ids $(PREFIX)/share ; \ elif [ -f $(PREFIX)/share/pci.ids ] ; then \ +--- pciutils-2.1.9/lspci.c.old Tue May 28 23:54:03 2002 ++++ pciutils-2.1.9/lspci.c Wed May 29 00:29:39 2002 +@@ -1506,7 +1506,7 @@ + break; + case 's': + if (msg = pci_filter_parse_slot(&filter, optarg)) +- die("-f: %s", msg); ++ die("-s: %s", msg); + break; + case 'd': + if (msg = pci_filter_parse_id(&filter, optarg)) diff --git a/pciutils.spec b/pciutils.spec index fa58e62..281a66f 100644 --- a/pciutils.spec +++ b/pciutils.spec @@ -1,6 +1,6 @@ Name: pciutils Version: 2.1.10 -Release: 1 +Release: 2 Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz Patch0: pciutils-strip.patch Patch1: pciutils-bufsiz.patch @@ -62,6 +62,9 @@ install lib/config.h $RPM_BUILD_ROOT/usr/include/pci rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jul 8 2002 Bill Nottingham 2.1.10-2 +- don't build with -fomit-frame-pointer + * Mon Jun 24 2002 Bill Nottingham 2.1.10-1 - update to 2.1.10