aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libtirpc/libtirpc/musl.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-04-28 00:33:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-09 10:39:35 +0100
commit94c23613724073f8def71bc9e76d7fd7a9f318ad (patch)
treecaced36313ed8bf7c759c92972f7b8dd2376d148 /meta/recipes-extended/libtirpc/libtirpc/musl.patch
parentcabef0916d860449bfbcc4ff596ec9f0029849e9 (diff)
downloadopenembedded-core-contrib-94c23613724073f8def71bc9e76d7fd7a9f318ad.tar.gz
libtirpc: Upgrade to 1.0.4-tc1
Drop backported patches Redo musl support patch such that it can be applied universally Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-extended/libtirpc/libtirpc/musl.patch')
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc/musl.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc/musl.patch b/meta/recipes-extended/libtirpc/libtirpc/musl.patch
new file mode 100644
index 0000000000..0c3ce603ea
--- /dev/null
+++ b/meta/recipes-extended/libtirpc/libtirpc/musl.patch
@@ -0,0 +1,18 @@
+Consider musl provided built-in defines
+
+Helps compile libtirpc with musl
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+--- ./tirpc/rpc/types.h.orig 2018-03-17 10:23:10.022055255 +0100
++++ ./tirpc/rpc/types.h 2018-03-17 10:23:30.877751656 +0100
+@@ -66,7 +66,7 @@
+ #define mem_free(ptr, bsize) free(ptr)
+
+
+-#if defined __APPLE_CC__ || defined __FreeBSD__
++#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined(__GLIBC__)
+ # define __u_char_defined
+ # define __daddr_t_defined
+ #endif