mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 15:09:01 +08:00
4cbbcbddfd
* [vcpkg ci:osx] Remove brew install * add instructions for creating a new vagrant box * fix the vagrant scripts for the new box * finish fixing the setup * [mecab jxrlib] fix ports for CI mecab needed to use an actual ref that wasn't master, and jxrlib needed a patch for xcode 12 CLTs. Additionally, this fixes the mecab version to be a date, the date of the last commit, since `1.0` is not the correct version (mecab doesn't have released versions) * [many ports] fix compile with Xcode 12 CLTs This mostly means fixing errors on implicit-function-declaration, and removing some Werrors * alac-decoder * apr * argtable2 * arrow * hyperscan * mcpp * minizip * mosquitto * stormlib * [many ports] even more Xcode 12 CLT fixes * [jxrlib darknet] fix the last ports! (hopefully) * CRs, plus minor wip changes to osx scripts
30 lines
820 B
Diff
30 lines
820 B
Diff
From 6c38b6f544b55f9fc554f0fe22e2cbaddfaed7f8 Mon Sep 17 00:00:00 2001
|
|
From: Nicole Mazzuca <mazzucan@outlook.com>
|
|
Date: Tue, 22 Sep 2020 14:15:04 -0700
|
|
Subject: [PATCH 2/2] add declaration for mkdir
|
|
|
|
It's invalid in C99 to implicitly declare mkdir
|
|
|
|
---
|
|
contrib/minizip/miniunz.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/contrib/minizip/miniunz.c b/contrib/minizip/miniunz.c
|
|
index 3d65401..5341af2 100644
|
|
--- a/contrib/minizip/miniunz.c
|
|
+++ b/contrib/minizip/miniunz.c
|
|
@@ -12,6 +12,10 @@
|
|
Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
|
|
*/
|
|
|
|
+#if !defined(_WIN32)
|
|
+#include <sys/stat.h>
|
|
+#endif
|
|
+
|
|
#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
|
|
#ifndef __USE_FILE_OFFSET64
|
|
#define __USE_FILE_OFFSET64
|
|
--
|
|
2.24.3 (Apple Git-128)
|
|
|