summaryrefslogtreecommitdiff
path: root/user/libtirpc/musl.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-29 21:43:08 -0700
committerDan Theisen <djt@hxx.in>2018-09-30 15:00:51 -0700
commite668f57c242e3b2480944703f0d27ac89438019e (patch)
treeec7749e9768f5560b6360c05b2d5ed85915b78d9 /user/libtirpc/musl.patch
parent31e6c31d362678ce123de247d982d5ac28fef6dd (diff)
downloadpackages-e668f57c242e3b2480944703f0d27ac89438019e.tar.gz
packages-e668f57c242e3b2480944703f0d27ac89438019e.tar.bz2
packages-e668f57c242e3b2480944703f0d27ac89438019e.tar.xz
packages-e668f57c242e3b2480944703f0d27ac89438019e.zip
user/libtirpc: add musl patch from alpine
Diffstat (limited to 'user/libtirpc/musl.patch')
-rw-r--r--user/libtirpc/musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/libtirpc/musl.patch b/user/libtirpc/musl.patch
new file mode 100644
index 000000000..5a4fb04f5
--- /dev/null
+++ b/user/libtirpc/musl.patch
@@ -0,0 +1,11 @@
+--- ./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