From c4c6b78a870ecf4d3028675eb0066902726fa2b4 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Wed, 29 Apr 2009 15:35:56 +0000 Subject: [PATCH] add support for ARM --- pciutils-3.1.2-arm.patch | 21 +++++++++++++++++++++ pciutils.spec | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 pciutils-3.1.2-arm.patch diff --git a/pciutils-3.1.2-arm.patch b/pciutils-3.1.2-arm.patch new file mode 100644 index 0000000..53bcb1a --- /dev/null +++ b/pciutils-3.1.2-arm.patch @@ -0,0 +1,21 @@ +diff -up pciutils-3.0.2/lib/configure.arm pciutils-3.0.2/lib/configure +--- pciutils-3.0.2/lib/configure.arm 2009-04-29 16:58:54.097763684 +0200 ++++ pciutils-3.0.2/lib/configure 2009-04-29 17:16:50.442420669 +0200 +@@ -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/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^arm.*$/arm/'` + fi + if [ "$sys" = "GNU/kFreeBSD" -o "$sys" = "DragonFly" ] + then +@@ -73,6 +73,8 @@ cat >$c < - 3.1.2-5 +- add support for ARM + * Fri Feb 27 2009 Michal Hlavinka - 3.1.2-4 - fix typo & rebuild