* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlfuse/, dev-ml/ocamlfuse/files/
@ 2024-05-30 13:09 Alfredo Tupone
0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2024-05-30 13:09 UTC (permalink / raw
To: gentoo-commits
commit: 0f137461dbf0a9d09d67f597ec5060a5079f6471
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu May 30 12:50:49 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu May 30 13:08:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f137461
dev-ml/ocamlfuse: -Wint-conversion
Closes: https://bugs.gentoo.org/932194
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ml/ocamlfuse/files/ocamlfuse-2.7.1_p7-Wint.patch | 11 +++++++++++
dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild | 7 +++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/dev-ml/ocamlfuse/files/ocamlfuse-2.7.1_p7-Wint.patch b/dev-ml/ocamlfuse/files/ocamlfuse-2.7.1_p7-Wint.patch
new file mode 100644
index 000000000000..94df1c01546a
--- /dev/null
+++ b/dev-ml/ocamlfuse/files/ocamlfuse-2.7.1_p7-Wint.patch
@@ -0,0 +1,11 @@
+--- a/lib/Fuse_util.c 2024-05-30 14:46:19.594917120 +0200
++++ b/lib/Fuse_util.c 2024-05-30 14:46:39.870690546 +0200
+@@ -354,7 +354,7 @@
+
+ #define init_ARGS (struct fuse_conn_info *conn)
+ #define init_CALL_ARGS (conn)
+-#define init_RTYPE void *
++#define init_RTYPE int
+ #define init_CB vres=callback(*init_closure,Val_unit);
+ /* TODO: the result from init is wrong, it should return unit */
+ #define init_RES
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 63891abc2fe4..ec2cd36592e8 100644
--- a/dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild
+++ b/dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -31,7 +31,10 @@ BDEPEND="
dev-ml/opam
"
-PATCHES=( "${FILESDIR}"/${P}-unistd.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-unistd.patch
+ "${FILESDIR}"/${P}-Wint.patch
+)
src_compile() {
tc-export CPP
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-30 13:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30 13:09 [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlfuse/, dev-ml/ocamlfuse/files/ Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox