mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 14:43:04 +08:00
fix libgd arm64 regression ......
This commit is contained in:
parent
b8a3341998
commit
c7ad054bd0
@ -1,5 +1,5 @@
|
||||
Source: libgd
|
||||
Version: 2.2.5-3
|
||||
Version: 2.2.5-4
|
||||
Homepage: https://github.com/libgd/libgd
|
||||
Description: Open source code library for the dynamic creation of images by programmers.
|
||||
Default-Features: fontconfig, freetype, jpeg, png, tiff, webp
|
||||
|
13
ports/libgd/intrin.patch
Normal file
13
ports/libgd/intrin.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/gd_interpolation.c b/src/gd_interpolation.c
|
||||
index b9a206551..f75469329 100644
|
||||
--- a/src/gd_interpolation.c
|
||||
+++ b/src/gd_interpolation.c
|
||||
@@ -75,7 +75,7 @@ TODO:
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma optimize("t", on)
|
||||
-# include <emmintrin.h>
|
||||
+# include <intrin.h>
|
||||
#endif
|
||||
|
||||
static gdImagePtr gdImageScaleBilinear(gdImagePtr im,
|
@ -9,6 +9,7 @@ vcpkg_from_github(
|
||||
PATCHES
|
||||
0001-fix-cmake.patch
|
||||
no-write-source-dir.patch
|
||||
intrin.patch
|
||||
)
|
||||
|
||||
#delete CMake builtins modules
|
||||
|
Loading…
Reference in New Issue
Block a user