summaryrefslogtreecommitdiff
path: root/package/libpciaccess/patches/patch-src_linux_sysfs_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/libpciaccess/patches/patch-src_linux_sysfs_c')
-rw-r--r--package/libpciaccess/patches/patch-src_linux_sysfs_c11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/libpciaccess/patches/patch-src_linux_sysfs_c b/package/libpciaccess/patches/patch-src_linux_sysfs_c
index f03152988..ad31ac509 100644
--- a/package/libpciaccess/patches/patch-src_linux_sysfs_c
+++ b/package/libpciaccess/patches/patch-src_linux_sysfs_c
@@ -1,5 +1,5 @@
--- libpciaccess-0.13.1.orig/src/linux_sysfs.c 2012-04-09 19:02:57.000000000 +0200
-+++ libpciaccess-0.13.1/src/linux_sysfs.c 2013-10-21 15:25:14.000000000 +0200
++++ libpciaccess-0.13.1/src/linux_sysfs.c 2013-12-01 18:26:04.000000000 +0100
@@ -34,6 +34,7 @@
#define _GNU_SOURCE
@@ -8,3 +8,12 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+@@ -45,7 +46,7 @@
+ #include <dirent.h>
+ #include <errno.h>
+
+-#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
++#if defined(__i386__) || defined(__x86_64__)
+ #include <sys/io.h>
+ #else
+ #define inb(x) -1