1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:27:45 +00:00

Ports: Bump Zig version to 0.11.0-dev.4003+c6aa29b6f

This commit fixes the build for LLVM 16 now that the toolchain has been
updated, and updates us to the latest available Zig commit.

The main patch changes are making more symbols available (and exposing
them through std.c.serenity) and working around new Zig build
requirements.

Co-Authored-By: Andre Herbst <moormaster@gmx.net>
This commit is contained in:
sin-ack 2023-07-17 00:51:29 +00:00 committed by Linus Groh
parent 92b56ded02
commit 752d9d7c03
22 changed files with 814 additions and 508 deletions

View file

@ -0,0 +1,21 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Andre Herbst <moormaster@gmx.net>
Date: Sat, 8 Jul 2023 14:17:19 +0200
Subject: [PATCH] zlib: Fix implicit write() method declaration error
---
zlib/gzguts.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/zlib/gzguts.h b/zlib/gzguts.h
index 57faf37165a3546c3d0a783457a51e7dedff49ae..3c700c2a908cf4f675299fb4769f905533945831 100644
--- a/zlib/gzguts.h
+++ b/zlib/gzguts.h
@@ -19,6 +19,7 @@
#endif
#include <stdio.h>
+#include <unistd.h>
#include "zlib.h"
#ifdef STDC
# include <string.h>