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