aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpciaccess/fix-arm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/libpciaccess/fix-arm.patch')
-rw-r--r--main/libpciaccess/fix-arm.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/libpciaccess/fix-arm.patch b/main/libpciaccess/fix-arm.patch
new file mode 100644
index 0000000000..4a59ae906d
--- /dev/null
+++ b/main/libpciaccess/fix-arm.patch
@@ -0,0 +1,11 @@
+--- libpciaccess-0.13.2.orig/src/linux_sysfs.c
++++ libpciaccess-0.13.2/src/linux_sysfs.c
+@@ -46,7 +46,7 @@
+ #include <errno.h>
+ #include <limits.h>
+
+-#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
++#if defined(__i386__) || defined(__x86_64__)
+ #include <sys/io.h>
+ #else
+ #define inb(x) -1