summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-21 20:52:24 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-21 20:52:24 +0000
commite15b90094abe6cea3bf0db2c7b87ac03f0888b05 (patch)
tree1773cd6cbb62f945e621d11c7033cce1f6a08e45 /sys-apps/pciutils/files
parentStable on ppc64; bug #137344 (diff)
downloadgentoo-2-e15b90094abe6cea3bf0db2c7b87ac03f0888b05.tar.gz
gentoo-2-e15b90094abe6cea3bf0db2c7b87ac03f0888b05.tar.bz2
gentoo-2-e15b90094abe6cea3bf0db2c7b87ac03f0888b05.zip
ugh, just fix the patch, dont patch it
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'sys-apps/pciutils/files')
-rw-r--r--sys-apps/pciutils/files/pcimodules-pciutils-2.1.11.diff3
-rw-r--r--sys-apps/pciutils/files/pcimodules-pciutils-2.2.0.patch3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys-apps/pciutils/files/pcimodules-pciutils-2.1.11.diff b/sys-apps/pciutils/files/pcimodules-pciutils-2.1.11.diff
index a351a2c66bd1..e3023b8a97bf 100644
--- a/sys-apps/pciutils/files/pcimodules-pciutils-2.1.11.diff
+++ b/sys-apps/pciutils/files/pcimodules-pciutils-2.1.11.diff
@@ -59,7 +59,7 @@
/* For cardbus bridges, we need to fetch 64 bytes more to get the full standard header... */
--- ./pcimodules.c.orig 2003-02-20 23:22:36.000000000 -0800
+++ ./pcimodules.c 2003-02-20 23:22:36.000000000 -0800
-@@ -0,0 +1,183 @@
+@@ -0,0 +1,182 @@
+/*
+ * pcimodules: Load all kernel modules for PCI device currently
+ * plugged into any PCI slot.
@@ -78,7 +78,6 @@
+
+#include <stdlib.h>
+#include <stdio.h>
-+#include <malloc.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/utsname.h>
diff --git a/sys-apps/pciutils/files/pcimodules-pciutils-2.2.0.patch b/sys-apps/pciutils/files/pcimodules-pciutils-2.2.0.patch
index 584bfde6e14b..3b778cdeb51f 100644
--- a/sys-apps/pciutils/files/pcimodules-pciutils-2.2.0.patch
+++ b/sys-apps/pciutils/files/pcimodules-pciutils-2.2.0.patch
@@ -58,7 +58,7 @@
cp ~/tree/pciids/pci.ids pci.ids
--- pciutils-2.2.0/pcimodules.c
+++ pciutils-dsd/pcimodules.c
-@@ -0,0 +1,183 @@
+@@ -0,0 +1,182 @@
+/*
+ * pcimodules: Load all kernel modules for PCI device currently
+ * plugged into any PCI slot.
@@ -77,7 +77,6 @@
+
+#include <stdlib.h>
+#include <stdio.h>
-+#include <malloc.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/utsname.h>