aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libpciaccess
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-04-06 17:36:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-08 10:45:26 +0100
commit24fd4959aea55829c6095c81138daee2c5b5107f (patch)
treeaeb22ff084ba6c7a689fdd0e706cc7e9e80069f7 /meta/recipes-graphics/xorg-lib/libpciaccess
parent4dd6bca8cdf538a7da9ffcb36faf70c3436b4f19 (diff)
downloadopenembedded-core-contrib-24fd4959aea55829c6095c81138daee2c5b5107f.tar.gz
pixman,libpciaccess: Fix build on musl
The fixes are not specific to musl, however they came to surface due to musl, these are generic problems which should be fixed in components Change-Id: If9aa95968d9dec9c16e3e5819955befcaa38937c Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libpciaccess')
-rw-r--r--meta/recipes-graphics/xorg-lib/libpciaccess/limits.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libpciaccess/limits.patch b/meta/recipes-graphics/xorg-lib/libpciaccess/limits.patch
new file mode 100644
index 0000000000..498020e534
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libpciaccess/limits.patch
@@ -0,0 +1,17 @@
+Add missing include file to get definition of PATH_MAX
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Upstream-Status: Pending
+
+Index: libpciaccess-0.13.3/src/linux_sysfs.c
+===================================================================
+--- libpciaccess-0.13.3.orig/src/linux_sysfs.c
++++ libpciaccess-0.13.3/src/linux_sysfs.c
+@@ -44,6 +44,7 @@
+ #include <sys/mman.h>
+ #include <dirent.h>
+ #include <errno.h>
++#include <limits.h>
+
+ #if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
+ #include <sys/io.h>