summaryrefslogtreecommitdiff
path: root/sys-libs/librpc/files/librpc-20151104-sys-types.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2016-10-28 06:06:47 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2016-10-28 06:06:47 -0500
commit174ab1ab1e8bf7aaaebdb05ffe7365579e844c5e (patch)
tree9b48ed46f160f9ff224a519a930a526ff9bfefe4 /sys-libs/librpc/files/librpc-20151104-sys-types.patch
parenta7b8777e296c246b3e6159312311188534c973e0 (diff)
downloadpackages-174ab1ab1e8bf7aaaebdb05ffe7365579e844c5e.tar.gz
packages-174ab1ab1e8bf7aaaebdb05ffe7365579e844c5e.tar.bz2
packages-174ab1ab1e8bf7aaaebdb05ffe7365579e844c5e.tar.xz
packages-174ab1ab1e8bf7aaaebdb05ffe7365579e844c5e.zip
sys-libs/librpc: add new port (how did this escape?)
Diffstat (limited to 'sys-libs/librpc/files/librpc-20151104-sys-types.patch')
-rw-r--r--sys-libs/librpc/files/librpc-20151104-sys-types.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-libs/librpc/files/librpc-20151104-sys-types.patch b/sys-libs/librpc/files/librpc-20151104-sys-types.patch
new file mode 100644
index 000000000..197f5e0e6
--- /dev/null
+++ b/sys-libs/librpc/files/librpc-20151104-sys-types.patch
@@ -0,0 +1,14 @@
+--- librpc-uclibc-a921e3d/rpc/types.h.old 2015-11-04 19:33:16.000000000 +0100
++++ librpc-uclibc-a921e3d/rpc/types.h 2016-08-30 10:08:22.426289916 +0100
+@@ -79,6 +79,11 @@
+ #include <sys/types.h>
+ #endif
+
++#if !defined(__GLIBC__) && !defined(__UCLIBC__)
++typedef gid_t __gid_t;
++typedef uid_t __uid_t;
++#endif
++
+ #include <sys/time.h>
+ #include <sys/param.h>
+