diff options
| author | Alexander Neumann <Alexander.Neumann@hamburg.de> | 2020-01-22 22:06:43 +0100 |
|---|---|---|
| committer | Alexander Neumann <Alexander.Neumann@hamburg.de> | 2020-01-22 22:06:43 +0100 |
| commit | c7ad054bd0f895b173497798c36c4857aa7c3e92 (patch) | |
| tree | ed19ba699d4513770c4a677500d8afe38d5a114f | |
| parent | b8a3341998d302f79e3c0fb45dd1bda5cb51d5f9 (diff) | |
| download | vcpkg-c7ad054bd0f895b173497798c36c4857aa7c3e92.tar.gz vcpkg-c7ad054bd0f895b173497798c36c4857aa7c3e92.zip | |
fix libgd arm64 regression ......
| -rw-r--r-- | ports/libgd/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libgd/intrin.patch | 13 | ||||
| -rw-r--r-- | ports/libgd/portfile.cmake | 1 |
3 files changed, 15 insertions, 1 deletions
diff --git a/ports/libgd/CONTROL b/ports/libgd/CONTROL index 1d16b2f27..81384cb06 100644 --- a/ports/libgd/CONTROL +++ b/ports/libgd/CONTROL @@ -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
diff --git a/ports/libgd/intrin.patch b/ports/libgd/intrin.patch new file mode 100644 index 000000000..1f1db8eb2 --- /dev/null +++ b/ports/libgd/intrin.patch @@ -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, diff --git a/ports/libgd/portfile.cmake b/ports/libgd/portfile.cmake index 6ef2127d5..1a25969e3 100644 --- a/ports/libgd/portfile.cmake +++ b/ports/libgd/portfile.cmake @@ -9,6 +9,7 @@ vcpkg_from_github( PATCHES 0001-fix-cmake.patch no-write-source-dir.patch + intrin.patch ) #delete CMake builtins modules |
