From 2605a95e5cb98bafacbff2c5dd322225c3b7ceb3 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 16 May 2011 19:01:50 +0200 Subject: [PATCH] pciutils: changed to not install the shipped pci.ids file --- ...3.1.7-do-not-install-shipped-pci-ids.patch | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 base/pciutils/pciutils-3.1.7-do-not-install-shipped-pci-ids.patch diff --git a/base/pciutils/pciutils-3.1.7-do-not-install-shipped-pci-ids.patch b/base/pciutils/pciutils-3.1.7-do-not-install-shipped-pci-ids.patch new file mode 100644 index 000000000..72bde6aef --- /dev/null +++ b/base/pciutils/pciutils-3.1.7-do-not-install-shipped-pci-ids.patch @@ -0,0 +1,44 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../pciutils/pciutils-3.1.7-do-not-install-shipped-pci-ids.patch +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +diff -ruN pciutils-3.1.7-orig/Makefile pciutils-3.1.7/Makefile +--- pciutils-3.1.7-orig/Makefile 2010-01-31 18:42:12.000000000 +0100 ++++ pciutils-3.1.7/Makefile 2011-05-16 18:48:30.244002338 +0200 +@@ -52,7 +52,7 @@ + + export + +-all: lib/$(PCILIB) lspci setpci example lspci.8 setpci.8 pcilib.7 update-pciids update-pciids.8 $(PCI_IDS) ++all: lib/$(PCILIB) lspci setpci example lspci.8 setpci.8 pcilib.7 update-pciids update-pciids.8 + + lib/$(PCILIB): $(PCIINC) force + $(MAKE) -C lib all +@@ -103,7 +103,6 @@ + $(DIRINSTALL) -m 755 $(DESTDIR)$(SBINDIR) $(DESTDIR)$(IDSDIR) $(DESTDIR)$(MANDIR)/man8 $(DESTDIR)$(MANDIR)/man7 + $(INSTALL) -c -m 755 $(STRIP) lspci setpci $(DESTDIR)$(SBINDIR) + $(INSTALL) -c -m 755 update-pciids $(DESTDIR)$(SBINDIR) +- $(INSTALL) -c -m 644 $(PCI_IDS) $(DESTDIR)$(IDSDIR) + $(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(DESTDIR)$(MANDIR)/man8 + $(INSTALL) -c -m 644 pcilib.7 $(DESTDIR)$(MANDIR)/man7 + ifeq ($(SHARED),yes) +@@ -123,7 +122,6 @@ + + uninstall: all + rm -f $(DESTDIR)$(SBINDIR)/lspci $(DESTDIR)$(SBINDIR)/setpci $(DESTDIR)$(SBINDIR)/update-pciids +- rm -f $(DESTDIR)$(IDSDIR)/$(PCI_IDS) + rm -f $(DESTDIR)$(MANDIR)/man8/lspci.8 $(DESTDIR)$(MANDIR)/man8/setpci.8 $(DESTDIR)$(MANDIR)/man8/update-pciids.8 + rm -f $(DESTDIR)$(MANDIR)/man7/pcilib.7 + ifeq ($(SHARED),yes)