summaryrefslogtreecommitdiff
path: root/user/vde2/musl-build-fix.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 04:21:53 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 04:21:53 -0500
commitdde7c77d0c5af6b66a6ca69376135558b7c11e8c (patch)
tree65f6ee81e380d85337ad571d0cc44f65535dcadb /user/vde2/musl-build-fix.patch
parent2d93668279aed9d04d659e1c353691e3ff19b58d (diff)
downloadpackages-dde7c77d0c5af6b66a6ca69376135558b7c11e8c.tar.gz
packages-dde7c77d0c5af6b66a6ca69376135558b7c11e8c.tar.bz2
packages-dde7c77d0c5af6b66a6ca69376135558b7c11e8c.tar.xz
packages-dde7c77d0c5af6b66a6ca69376135558b7c11e8c.zip
user/vde2: pull in, fix, modernise
Diffstat (limited to 'user/vde2/musl-build-fix.patch')
-rw-r--r--user/vde2/musl-build-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/vde2/musl-build-fix.patch b/user/vde2/musl-build-fix.patch
new file mode 100644
index 000000000..c03459c6e
--- /dev/null
+++ b/user/vde2/musl-build-fix.patch
@@ -0,0 +1,15 @@
+diff --git a/src/vdetaplib/libvdetap.c b/src/vdetaplib/libvdetap.c
+index 00cd401..c70f290 100644
+--- a/src/vdetaplib/libvdetap.c
++++ b/src/vdetaplib/libvdetap.c
+@@ -121,6 +121,10 @@ int open(const char *path, int flags, ...)
+ return native_open(path, flags, data);
+ }
+
++/* musl apparently defines open64 as a macro */
++#ifdef open64
++#undef open64
++#endif
+ int open64(const char *path, int flags, ...)
+ {
+ va_list ap;