/* 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.
+
+#include <stdlib.h>
+#include <stdio.h>
-+#include <malloc.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/utsname.h>
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.
+
+#include <stdlib.h>
+#include <stdio.h>
-+#include <malloc.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/utsname.h>
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.1.11-r5.ebuild,v 1.11 2005/11/11 19:46:34 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.1.11-r5.ebuild,v 1.12 2006/06/21 20:52:24 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
epatch "${FILESDIR}"/${P}-gentoo-paths.patch
epatch "${FILESDIR}"/${PV}-scan.patch #from fedora
epatch "${FILESDIR}"/${P}-bsd.patch #103241
- epatch "${FILESDIR}"/${P}-malloc.patch
# Unconditionally use -fPIC for libs (#55238)
# Make sure we respect $AR / $RANLIB / $CFLAGS
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild,v 1.14 2006/04/18 17:05:48 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild,v 1.15 2006/06/21 20:52:24 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
epatch "${FILESDIR}"/pcimodules-${P}.patch
epatch "${FILESDIR}"/${P}-shared-lib.patch
- epatch "${FILESDIR}"/${PN}-2.1.11-malloc.patch
# Set Gentoo paths
# and do not strip (breaks cross-compile), portage handles stripping
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.3.ebuild,v 1.1 2006/06/08 10:30:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.3.ebuild,v 1.2 2006/06/21 20:52:24 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
epatch "${FILESDIR}"/pcimodules-${PN}-2.2.0.patch
epatch "${FILESDIR}"/${PN}-2.2.0-shared-lib.patch
- epatch "${FILESDIR}"/${PN}-2.1.11-malloc.patch
# Set Gentoo paths
# and do not strip (breaks cross-compile), portage handles stripping