summaryrefslogtreecommitdiff
path: root/package/libpciaccess/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-03 12:38:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-03 12:38:59 +0100
commita7f00b82b5eadfcb460fd69d8de70d1c08a3ec9e (patch)
treee961ff269384c3eefbe411143cb27174aa15daa5 /package/libpciaccess/patches
parent777163c9b8c309b8f3e8bfae1e1e82f79aa1278d (diff)
some musl fixes
Diffstat (limited to 'package/libpciaccess/patches')
-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