Mercurial > hg > orthanc
view OrthancFramework/Resources/Patches/curl-8.5.0.patch @ 5529:acdb8d78bf99
Whatever the SQL error that happens while inserting an instance in DB, remove the attachments that have been added to avoid orphan files
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 06 Feb 2024 15:32:54 +0100 |
parents | 5910aa0c96ce |
children |
line wrap: on
line source
diff -urEb curl-8.5.0.orig/CMake/Macros.cmake curl-8.5.0/CMake/Macros.cmake --- curl-8.5.0.orig/CMake/Macros.cmake 2024-01-24 17:21:21.387965189 +0100 +++ curl-8.5.0/CMake/Macros.cmake 2024-01-24 17:21:48.523719072 +0100 @@ -48,7 +48,7 @@ message(STATUS "Performing Curl Test ${CURL_TEST}") try_compile(${CURL_TEST} ${CMAKE_BINARY_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/CMake/CurlTests.c + ${CURL_SOURCES_DIR}/CMake/CurlTests.c CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} "${CURL_TEST_ADD_LIBRARIES}" OUTPUT_VARIABLE OUTPUT)