1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:57:44 +00:00

Ports: Update CMake port to 3.25.1

This commit is contained in:
Andrew Kaster 2022-12-10 16:33:08 -07:00 committed by Andreas Kling
parent d9e76254a8
commit 232b40fefc
8 changed files with 28 additions and 239 deletions

View file

@ -0,0 +1,27 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Wed, 12 Jan 2022 22:18:23 +0330
Subject: [PATCH] cmcurl: Use struct stat and include sys/stat.h
For unknown reasons, curl_setup_once.h does not include sys/stat.h. This patch includes sys/stat.h.
- [ ] Local?
- [ ] Should be merged to upstream?
- [X] Resolves issue(s) with our side of things
- [X] Hack
---
Utilities/cmcurl/lib/curl_setup.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/Utilities/cmcurl/lib/curl_setup.h b/Utilities/cmcurl/lib/curl_setup.h
index c3ad25f999859dabc1c0c7846339c73aaafabded..0b6579aa7e64f7a0857fbbd47c39e9a991d1e72f 100644
--- a/Utilities/cmcurl/lib/curl_setup.h
+++ b/Utilities/cmcurl/lib/curl_setup.h
@@ -415,6 +415,7 @@
#endif
#ifndef struct_stat
+# include <sys/stat.h>
# define struct_stat struct stat
#endif