From 3dd9f12c852c0b1b4037a362d00578abaf8fe320 Mon Sep 17 00:00:00 2001 From: Kedar Sovani Date: Tue, 13 Jan 2009 11:12:32 +0530 Subject: [PATCH] pciutils: Include arm support. Signed-off-by: Kedar Sovani --- pciutils-3.0.2-arm.patch | 20 ++++++++++++++++++++ pciutils.spec | 4 +++- 2 files changed, 23 insertions(+), 1 deletions(-) create mode 100755 pciutils-3.0.2-arm.patch diff --git a/pciutils-3.0.2-arm.patch b/pciutils-3.0.2-arm.patch new file mode 100755 index 0000000..eaab411 --- /dev/null +++ b/pciutils-3.0.2-arm.patch @@ -0,0 +1,20 @@ +--- pciutils-3.0.2/lib/configure 2009-01-11 19:35:29.000000000 -0500 ++++ pciutils-3.0.2.orig/lib/configure 2009-01-11 19:35:06.000000000 -0500 +@@ -26,7 +26,7 @@ if [ -z "$HOST" ] ; then + proc=`/usr/sbin/lsdev -C -c processor -S available -F name | head -1` + cpu=`/usr/sbin/lsattr -F value -l $proc -a type | sed 's/_.*//'` + else +- cpu=`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/'` ++ cpu=`uname -m | sed 's/^i.86$/i386/;s/^arm.*/arm/;s/^sun4u$/sparc64/;s/^i86pc$/i386/'` + fi + if [ "$sys" = "GNU/kFreeBSD" -o "$sys" = "DragonFly" ] + then +@@ -57,6 +57,8 @@ cat >$c <