diff options
Diffstat (limited to 'dev-ml/ocamlfuse')
-rw-r--r-- | dev-ml/ocamlfuse/files/ocamlfuse-2.7.1_p7-unistd.patch | 10 | ||||
-rw-r--r-- | dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-ml/ocamlfuse/files/ocamlfuse-2.7.1_p7-unistd.patch b/dev-ml/ocamlfuse/files/ocamlfuse-2.7.1_p7-unistd.patch new file mode 100644 index 000000000000..b13f906a5ef3 --- /dev/null +++ b/dev-ml/ocamlfuse/files/ocamlfuse-2.7.1_p7-unistd.patch @@ -0,0 +1,10 @@ +--- a/lib/Unix_util_stubs.c 2022-09-20 19:53:44.445778566 +0200 ++++ b/lib/Unix_util_stubs.c 2022-09-20 19:54:03.521504343 +0200 +@@ -24,6 +24,7 @@ + vincenzo_ml@yahoo.it + */ + ++#include <unistd.h> + #include <stddef.h> + #include <string.h> + #include <errno.h> diff --git a/dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild b/dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild index fdf08ccbc300..63891abc2fe4 100644 --- a/dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild +++ b/dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild @@ -31,6 +31,8 @@ BDEPEND=" dev-ml/opam " +PATCHES=( "${FILESDIR}"/${P}-unistd.patch ) + src_compile() { tc-export CPP dune_src_compile |