-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): sync bit7z and 7zip from vcpkg (#29)
Signed-off-by: l.feng <43399351+msclock@users.noreply.github.com>
- Loading branch information
Showing
9 changed files
with
15 additions
and
180 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
cmake/vcpkg/ports/7zip/fix_timespec_get_broken_on_android.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CPP/Windows/TimeUtils.cpp b/CPP/Windows/TimeUtils.cpp | ||
index bbd79ba..8df3ea3 100644 | ||
--- a/CPP/Windows/TimeUtils.cpp | ||
+++ b/CPP/Windows/TimeUtils.cpp | ||
@@ -259,7 +259,7 @@ bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day, | ||
Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11.3, | ||
Cygwin 2.9, mingw, MSVC 14, Android 9.0. | ||
*/ | ||
-#if defined(TIME_UTC) | ||
+#if defined(TIME_UTC) && (!defined(__ANDROID__) || __ANDROID_API__ >= 29) | ||
#define ZIP7_USE_timespec_get | ||
// #pragma message("ZIP7_USE_timespec_get") | ||
#elif defined(CLOCK_REALTIME) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,6 @@ | |
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-get-vars", | ||
"host": true | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.