pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pharo-vm: fix build with gcc14
Module Name: pkgsrc-wip
Committed By: Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By: steleto
Date: Sun Jan 18 19:39:22 2026 +0900
Changeset: d2b0289cc3f32589b8c40ae42f64e16f5d6e2a75
Modified Files:
pharo-vm/Makefile
pharo-vm/distinfo
pharo-vm/patches/patch-src_debugUnix.c
Log Message:
pharo-vm: fix build with gcc14
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d2b0289cc3f32589b8c40ae42f64e16f5d6e2a75
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
pharo-vm/Makefile | 3 +++
pharo-vm/distinfo | 2 +-
pharo-vm/patches/patch-src_debugUnix.c | 4 ++--
3 files changed, 6 insertions(+), 3 deletions(-)
diffs:
diff --git a/pharo-vm/Makefile b/pharo-vm/Makefile
index a1207e5e6d..22c10ad0c0 100644
--- a/pharo-vm/Makefile
+++ b/pharo-vm/Makefile
@@ -25,6 +25,9 @@ CMAKE_CONFIGURE_ARGS+= -DALWAYS_INTERACTIVE=1
CMAKE_CONFIGURE_ARGS+= -DGENERATE_SOURCES=OFF
CMAKE_CONFIGURE_ARGS+= -DPHARO_BIN_LOCATION=${PREFIX}/lib/pharo9
+CFLAGS+= -Wno-error=int-conversion
+CFLAGS+= -Wno-error=incompatible-pointer-types
+
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-build
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
diff --git a/pharo-vm/distinfo b/pharo-vm/distinfo
index c0b6264206..93d3920889 100644
--- a/pharo-vm/distinfo
+++ b/pharo-vm/distinfo
@@ -10,4 +10,4 @@ SHA1 (patch-include_pharovm_debug.h) = a305dc8b2915bd457df3b76053a5072c1c2f8228
SHA1 (patch-packaging_linux_bin_launch.sh.in) = 116b5151e0bd58558a1af3691d1f546437d94eae
SHA1 (patch-plugins.cmake) = b8eb5ad47d505c0b52a7601f86109cf8f6ccae40
SHA1 (patch-plugins_UUIDPlugin_common_UUIDPlugin.c) = 20b9e7f850d662a8d79dc025e5d991b47358e3ad
-SHA1 (patch-src_debugUnix.c) = 5db80b0d0083cd1d4c471fe877ca7d65e69b97be
+SHA1 (patch-src_debugUnix.c) = 22f95610520b11f87a4e2de2e5c05b17a3f3445e
diff --git a/pharo-vm/patches/patch-src_debugUnix.c b/pharo-vm/patches/patch-src_debugUnix.c
index e8ce5fbe39..952e2afb59 100644
--- a/pharo-vm/patches/patch-src_debugUnix.c
+++ b/pharo-vm/patches/patch-src_debugUnix.c
@@ -2,7 +2,7 @@ $NetBSD$
support NetBSD/amd64
---- src/debugUnix.c.orig 2021-10-11 14:02:52.000000000 +0000
+--- src/debugUnix.c.orig 2023-03-30 10:55:45.000000000 +0000
+++ src/debugUnix.c
@@ -17,6 +17,12 @@
@@ -22,7 +22,7 @@ support NetBSD/amd64
regs->mc_eip);
return regs->mc_eip;
+#elif __NetBSD__ && __x86_64__
-+ __greg_t *regs = &uap->uc_mcontext.__gregs;
++ __gregset_t *regs = &uap->uc_mcontext.__gregs;
+ fprintf_impl(output,
+ "\trax 0x%08llx rbx 0x%08llx rcx 0x%08llx rdx 0x%08llx\n"
+ "\trdi 0x%08llx rsi 0x%08llx rbp 0x%08llx rsp 0x%08llx\n"
Home |
Main Index |
Thread Index |
Old Index