diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-07-04 08:52:12 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-07-04 08:52:12 +0200 |
commit | e03cb81023c93697fa249dbfe079fb40e9bf20b7 (patch) | |
tree | c97f3264ee031c5eba92ac048c0a8171e249fbb1 /recipes-utils/xfsprogs/files/0001-define-__-prefixed-version-of-intXY_t-types.patch | |
parent | b128af95613557af8deaea30212e89e6316eab88 (diff) |
xfsprogs: 4.11.0 with build time fix
Pull later xfsprogs 4.11.0 from meta-filesystems required by snapd from
meta-snappy:
http://cgit.openembedded.org/meta-openembedded/commit/meta-filesystems/recipes-utils/xfsprogs?id=d53546b7cb38e0dfea6f458859f7f477065daa43
This already incorporates the following fix as reported by our
customer:
https://patchwork.openembedded.org/patch/141247/
Reported-by: Carlos Silvestre Herrera Trujillo <carlos.herrera.trujillo@gmail.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-utils/xfsprogs/files/0001-define-__-prefixed-version-of-intXY_t-types.patch')
-rw-r--r-- | recipes-utils/xfsprogs/files/0001-define-__-prefixed-version-of-intXY_t-types.patch | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/recipes-utils/xfsprogs/files/0001-define-__-prefixed-version-of-intXY_t-types.patch b/recipes-utils/xfsprogs/files/0001-define-__-prefixed-version-of-intXY_t-types.patch new file mode 100644 index 0000000..951a144 --- /dev/null +++ b/recipes-utils/xfsprogs/files/0001-define-__-prefixed-version-of-intXY_t-types.patch @@ -0,0 +1,58 @@ +From 2b4714123cdecb558babb76074d0ab945bf5b177 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 16 Jun 2017 18:59:10 -0700 +Subject: [PATCH] define __ prefixed version of intXY_t types + +This is required since musl does not define them +unlike glibc + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + include/linux.h | 29 +++++++++++++++++++++++++++++ + 1 file changed, 29 insertions(+) + +diff --git a/include/linux.h b/include/linux.h +index 6a676ca..6976d83 100644 +--- a/include/linux.h ++++ b/include/linux.h +@@ -40,6 +40,35 @@ + # undef fsxattr + #endif + ++#ifndef loff_t ++#define loff_t off_t ++#endif ++#ifndef __uint8_t ++#define __uint8_t uint8_t ++#endif ++#ifndef __uint16_t ++#define __uint16_t uint16_t ++#endif ++#ifndef __uint32_t ++#define __uint32_t uint32_t ++#endif ++#ifndef __uint64_t ++#define __uint64_t uint64_t ++#endif ++ ++#ifndef __int8_t ++#define __int8_t int8_t ++#endif ++#ifndef __int16_t ++#define __int16_t int16_t ++#endif ++#ifndef __int32_t ++#define __int32_t int32_t ++#endif ++#ifndef __int64_t ++#define __int64_t int64_t ++#endif ++ + static __inline__ int xfsctl(const char *path, int fd, int cmd, void *p) + { + return ioctl(fd, cmd, p); +-- +2.13.1 + |