aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-01-23 23:21:53 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-01-23 23:51:41 +0000
commit8996a92bf264597b9f80f524f208446e0d92ef39 (patch)
tree787d4b02d045d69fc00388efe629f00c4498d9b8
parentbe5f2b52fbf4f7ece02243f2ecdbac6c15f17340 (diff)
downloadports-8996a92bf264597b9f80f524f208446e0d92ef39.tar.gz
ports-8996a92bf264597b9f80f524f208446e0d92ef39.zip
astro/mepo: unbreak build after 91552559ae79
src/main.zig:15:13: error: encountered @panic at comptime @panic("Must be built against Zig 0.10.0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ referenced by: comptime_0: /usr/local/lib/zig/std/start.zig:59:50 remaining reference traces hidden; use '-freference-trace' to see all reference traces
-rw-r--r--astro/mepo/files/patch-zig-0.10.115
1 files changed, 15 insertions, 0 deletions
diff --git a/astro/mepo/files/patch-zig-0.10.1 b/astro/mepo/files/patch-zig-0.10.1
new file mode 100644
index 000000000000..9aaa10bd3cf1
--- /dev/null
+++ b/astro/mepo/files/patch-zig-0.10.1
@@ -0,0 +1,15 @@
+Allow newer often compatible Zig patch-level updates
+
+--- src/main.zig.orig 2022-11-17 16:38:59 UTC
++++ src/main.zig
+@@ -11,8 +11,8 @@ pub fn main() !void {
+ pub fn main() !void {
+ comptime {
+ const v = builtin.zig_version;
+- if (v.major != 0 or v.minor != 10 or v.patch != 0)
+- @panic("Must be built against Zig 0.10.0");
++ if (v.major != 0 or v.minor != 10)
++ @panic("Must be built against Zig 0.10");
+ }
+
+ const allocator = std.heap.c_allocator;