mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
Fix error C2169 (#5118)
This commit is contained in:
parent
1955e755b7
commit
1fe5a31cd7
@ -1,4 +1,4 @@
|
||||
Source: libmupdf
|
||||
Version: 1.12.0
|
||||
Version: 1.12.0-1
|
||||
Build-Depends: freetype, libjpeg-turbo, harfbuzz, zlib, curl, glfw3, openjpeg, jbig2dec
|
||||
Description: a lightweight PDF, XPS, and E-book library
|
||||
|
12
ports/libmupdf/Fix-error-C2169.patch
Normal file
12
ports/libmupdf/Fix-error-C2169.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h
|
||||
index 0552771..42fd037 100644
|
||||
--- a/include/mupdf/fitz/system.h
|
||||
+++ b/include/mupdf/fitz/system.h
|
||||
@@ -117,7 +117,6 @@ static __inline int signbit(double x)
|
||||
#define isinf(x) (!_finite(x))
|
||||
#endif
|
||||
|
||||
-#define hypotf _hypotf
|
||||
#define atoll _atoi64
|
||||
|
||||
char *fz_utf8_from_wchar(const wchar_t *s);
|
@ -6,6 +6,8 @@ vcpkg_from_github(
|
||||
REF 1.12.0
|
||||
SHA512 893a1958e34355acf73624e9c47f4a97adf13d5fe33604ac384df9ac22a56ef7c18e02143eaffc3c2a08f460e4c71fee00c094b6d6696f8446977bb18f65e3da
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
"${CURRENT_PORT_DIR}/Fix-error-C2169.patch"
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
|
Loading…
x
Reference in New Issue
Block a user