* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlfuse/files/, dev-ml/ocamlfuse/
@ 2022-09-20 17:58 Alfredo Tupone
0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2022-09-20 17:58 UTC (permalink / raw
To: gentoo-commits
commit: 2958fd6e3029daf53af53720cc85840d2374c6ec
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 20 17:57:27 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 17:57:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2958fd6e
dev-ml/ocamlfuse: add unistd include
Closes: https://bugs.gentoo.org/870685
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ml/ocamlfuse/files/ocamlfuse-2.7.1_p7-unistd.patch | 10 ++++++++++
dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild | 2 ++
2 files changed, 12 insertions(+)
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-20 17:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-20 17:58 [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlfuse/files/, dev-ml/ocamlfuse/ Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox