fix libgd arm64 regression ......

This commit is contained in:
Alexander Neumann 2020-01-22 22:06:43 +01:00
parent b8a3341998
commit c7ad054bd0
3 changed files with 15 additions and 1 deletions

View File

@ -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
View 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,

View File

@ -9,6 +9,7 @@ vcpkg_from_github(
PATCHES
0001-fix-cmake.patch
no-write-source-dir.patch
intrin.patch
)
#delete CMake builtins modules