aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-03 19:03:55 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-03 19:59:24 +0000
commitfff552e2f38c4a5628d5aeabacc49bf34c0ffd47 (patch)
treef8eb61ac9d8fc4f29f879f0e84b6c25180597343
parentf66ba23073f5e808aba273db474b0749ef1d0a64 (diff)
downloadports-fff552e2f38c4a5628d5aeabacc49bf34c0ffd47.tar.gz
ports-fff552e2f38c4a5628d5aeabacc49bf34c0ffd47.zip
databases/libcouchbase: Fix build
Approved by: portmgr (blanket)
-rw-r--r--databases/libcouchbase/files/patch-plugins_io_libuv_libuv__compat.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/libcouchbase/files/patch-plugins_io_libuv_libuv__compat.h b/databases/libcouchbase/files/patch-plugins_io_libuv_libuv__compat.h
new file mode 100644
index 000000000000..c082286f2d92
--- /dev/null
+++ b/databases/libcouchbase/files/patch-plugins_io_libuv_libuv__compat.h
@@ -0,0 +1,13 @@
+--- plugins/io/libuv/libuv_compat.h.orig 2023-06-03 18:58:46 UTC
++++ plugins/io/libuv/libuv_compat.h
+@@ -35,6 +35,10 @@
+ #define UNKNOWN -1
+ #endif
+
++#ifndef ENODATA
++#define ENODATA EPIPE
++#endif
++
+ #ifndef EAIFAMNOSUPPORT
+ #define EAIFAMNOSUPPORT EAI_FAMILY
+ #endif