diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-04-06 17:36:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-08 10:53:29 +0100 |
commit | de32267517d61ebf4f66a859b7fe85da3549804a (patch) | |
tree | 4a17927dcc19d7740fce11068ecf26f1532472e0 /meta/recipes-graphics/xorg-lib/libpciaccess | |
parent | be8ffcd261ccd8b7acde0d291e93d1b27f6edde8 (diff) | |
download | poky-de32267517d61ebf4f66a859b7fe85da3549804a.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
(From OE-Core rev: 24fd4959aea55829c6095c81138daee2c5b5107f)
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.patch | 17 |
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 @@ | |||
1 | Add missing include file to get definition of PATH_MAX | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Index: libpciaccess-0.13.3/src/linux_sysfs.c | ||
7 | =================================================================== | ||
8 | --- libpciaccess-0.13.3.orig/src/linux_sysfs.c | ||
9 | +++ libpciaccess-0.13.3/src/linux_sysfs.c | ||
10 | @@ -44,6 +44,7 @@ | ||
11 | #include <sys/mman.h> | ||
12 | #include <dirent.h> | ||
13 | #include <errno.h> | ||
14 | +#include <limits.h> | ||
15 | |||
16 | #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) | ||
17 | #include <sys/io.h> | ||