aboutsummaryrefslogtreecommitdiff
path: root/ports/libgd/no-write-source-dir.patch
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2021-09-15 03:01:57 +0800
committerGitHub <noreply@github.com>2021-09-14 12:01:57 -0700
commita35e2377cfb8a48aa5a5fdfb0d94b9e598c0b782 (patch)
treeb581fdece6a99cafaf1d2df96cbabd24ee4d701e /ports/libgd/no-write-source-dir.patch
parente201002b4f4827d7b7b672f0c5c672a77fc3b77d (diff)
downloadvcpkg-a35e2377cfb8a48aa5a5fdfb0d94b9e598c0b782.tar.gz
vcpkg-a35e2377cfb8a48aa5a5fdfb0d94b9e598c0b782.zip
[cimg/libgd/libfabric] Update to latest release version (#20068)
* [cimg/libgd/libfabric] Update to latest release version * Remove empty line * [libgd] Update the patch * Small changes * [libgd] Update to version semver
Diffstat (limited to 'ports/libgd/no-write-source-dir.patch')
-rw-r--r--ports/libgd/no-write-source-dir.patch28
1 files changed, 14 insertions, 14 deletions
diff --git a/ports/libgd/no-write-source-dir.patch b/ports/libgd/no-write-source-dir.patch
index 3017e7ee4..4cc17dbef 100644
--- a/ports/libgd/no-write-source-dir.patch
+++ b/ports/libgd/no-write-source-dir.patch
@@ -1,14 +1,14 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index b16d4a4..5126085 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -191,7 +191,8 @@ else (USE_EXT_GD)
- CHECK_INCLUDE_FILE("stdint.h" HAVE_STDINT_H)
- CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H)
-
-- CONFIGURE_FILE(${GD_SOURCE_DIR}/src/config.h.cmake ${GD_SOURCE_DIR}/src/config.h ESCAPE_QUOTES)
-+ CONFIGURE_FILE(${GD_SOURCE_DIR}/src/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/config.h ESCAPE_QUOTES)
-+ include_directories(${CMAKE_CURRENT_BINARY_DIR}/src)
-
- option(BUILD_SHARED_LIBS "Build shared libs" ON)
- option(BUILD_STATIC_LIBS "Build static libs" OFF)
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 50d5b9a..17ddf6b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -248,7 +248,8 @@ else (USE_EXT_GD)
+ CHECK_INCLUDE_FILE("stdint.h" HAVE_STDINT_H)
+ CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H)
+
+- CONFIGURE_FILE(${GD_SOURCE_DIR}/src/config.h.cmake ${GD_SOURCE_DIR}/src/config.h ESCAPE_QUOTES)
++ CONFIGURE_FILE(${GD_SOURCE_DIR}/src/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/config.h ESCAPE_QUOTES)
++ include_directories(${CMAKE_CURRENT_BINARY_DIR}/src)
+
+ option(BUILD_SHARED_LIBS "Build shared libs" ON)
+ option(BUILD_STATIC_LIBS "Build static libs" OFF)