summaryrefslogtreecommitdiff
path: root/dev-lang/moarvm/files/moarvm-2023.02-fix-build-clang16.patch
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2023-07-22 14:44:14 +0000
committerArthur Zamarin <arthurzam@gentoo.org>2023-09-25 16:18:19 +0300
commit24aaadc3ec4d213875b8739a4c1fbcc7652b8953 (patch)
tree564567b6daa02c39a738374f9303d7153aa4dc0b /dev-lang/moarvm/files/moarvm-2023.02-fix-build-clang16.patch
parentd06cdc9de5436c639a494682ec1708aa2dfca2b8 (diff)
downloadgentoo-24aaadc3ec4d213875b8739a4c1fbcc7652b8953.tar.gz
gentoo-24aaadc3ec4d213875b8739a4c1fbcc7652b8953.tar.bz2
gentoo-24aaadc3ec4d213875b8739a4c1fbcc7652b8953.zip
dev-lang/moarvm: Fix incompatible function pointer types
Closes: https://bugs.gentoo.org/881335 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32000 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-lang/moarvm/files/moarvm-2023.02-fix-build-clang16.patch')
-rw-r--r--dev-lang/moarvm/files/moarvm-2023.02-fix-build-clang16.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-lang/moarvm/files/moarvm-2023.02-fix-build-clang16.patch b/dev-lang/moarvm/files/moarvm-2023.02-fix-build-clang16.patch
new file mode 100644
index 000000000000..9f8a60672ee2
--- /dev/null
+++ b/dev-lang/moarvm/files/moarvm-2023.02-fix-build-clang16.patch
@@ -0,0 +1,22 @@
+Bug: https://bugs.gentoo.org/881335
+Upstream PR: https://github.com/MoarVM/MoarVM/pull/1764
+--- a/src/6model/containers.c
++++ b/src/6model/containers.c
+@@ -114,7 +114,7 @@ static const MVMContainerSpec code_pair_spec = {
+ code_pair_fetch_s,
+ code_pair_store,
+ code_pair_store_i,
+- code_pair_store_i, /* FIXME need a code_pair_store_u but lacking tests showing this need */
++ (void *)code_pair_store_i, /* FIXME need a code_pair_store_u but lacking tests showing this need */
+ code_pair_store_n,
+ code_pair_store_s,
+ code_pair_store,
+@@ -371,7 +371,7 @@ static const MVMContainerSpec value_desc_cont_spec = {
+ value_desc_cont_fetch_s,
+ value_desc_cont_store,
+ value_desc_cont_store_i,
+- value_desc_cont_store_i, /* FIXME need a value_desc_cont_store_u but lacking tests showing this need */
++ (void *)value_desc_cont_store_i, /* FIXME need a value_desc_cont_store_u but lacking tests showing this need */
+ value_desc_cont_store_n,
+ value_desc_cont_store_s,
+ value_desc_cont_store_unchecked,