diff --git a/ports/libgd/CONTROL b/ports/libgd/CONTROL index 1d16b2f27ad..81384cb06e2 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 00000000000..1f1db8eb23e --- /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 ++# include + #endif + + static gdImagePtr gdImageScaleBilinear(gdImagePtr im, diff --git a/ports/libgd/portfile.cmake b/ports/libgd/portfile.cmake index 6ef2127d58e..1a25969e311 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