summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-08 16:00:05 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-08 16:00:05 +0000
commit381359328f3b28326ce1f1423377c4d3faf3eafa (patch)
treec4036b8f91413a3f826a7cbc41eddf469b883a80 /sources
parentb2e89e7d8c10f9203b7d57402c4db7252e92a8c7 (diff)
update so that it actually works ;)
Diffstat (limited to 'sources')
-rw-r--r--sources/pciutils.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/sources/pciutils.patch b/sources/pciutils.patch
new file mode 100644
index 000000000..7718b253a
--- /dev/null
+++ b/sources/pciutils.patch
@@ -0,0 +1,29 @@
+diff -ur pciutils-2.1.11.orig/lib/configure pciutils-2.1.11/lib/configure
+--- pciutils-2.1.11.orig/lib/configure 2004-10-08 11:56:42.876316816 -0400
++++ pciutils-2.1.11/lib/configure 2004-10-08 11:57:04.965958680 -0400
+@@ -25,7 +25,6 @@
+ echo " $sys/$cpu $rel"
+
+ c=config.h
+-echo >$c "#define ARCH_`echo $cpu | tr 'a-z' 'A-Z'`"
+ echo >>$c "#define OS_`echo $sys | tr 'a-z' 'A-Z'`"
+
+ echo_n "Looking for access methods..."
+@@ -40,17 +39,6 @@
+ ok=1
+ ;;
+ esac
+- case $cpu in
+- i386) echo_n " i386-ports"
+- echo >>$c '#define HAVE_PM_INTEL_CONF'
+- ok=1
+- ;;
+- alpha|ia64) echo >>$c '#define HAVE_64BIT_ADDRESS'
+- ;;
+- sparc|sparc64) echo >>$c '#define HAVE_64BIT_ADDRESS'
+- echo >>$c '#define HAVE_LONG_ADDRESS'
+- ;;
+- esac
+ ;;
+ FreeBSD)
+ echo_n " fbsd-device"