diff --git a/ports/double-conversion/portfile.cmake b/ports/double-conversion/portfile.cmake index 9f1fa7aa4b9749..cb8379182c5fbf 100644 --- a/ports/double-conversion/portfile.cmake +++ b/ports/double-conversion/portfile.cmake @@ -1,9 +1,17 @@ +vcpkg_download_distfile(PATCH_501_FIX_CMAKE_3_5 + URLS https://github.com/google/double-conversion/commit/101e1ba89dc41ceb75090831da97c43a76cd2906.patch?full_index=1 + SHA512 a946a1909b10f3ac5262cbe5cd358a74cf018325223403749aaeb81570ef3e2f833ee806afdefcd388e56374629de8ccca0a1cef787afa481c79f9e8f8dcaa13 + FILENAME google-double-conversion-101e1ba89dc41ceb75090831da97c43a76cd2906.patch +) + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO google/double-conversion REF "v${VERSION}" SHA512 51e84eb7a5c407f7bc8f8b8ca19932ece5c9d8ac18aedff7b7620fc67369d9b2aa8c5a6b133e7f8633d7cc5e3788bad6e60b0e48ac08d0a4bc5e4abe7cee1334 HEAD_REF master + PATCHES + "${PATCH_501_FIX_CMAKE_3_5}" ) vcpkg_cmake_configure( @@ -21,5 +29,4 @@ vcpkg_copy_pdbs() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") -# Handle copyright -configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/double-conversion/vcpkg.json b/ports/double-conversion/vcpkg.json index f7c1da8618ddec..95276d44c3af74 100644 --- a/ports/double-conversion/vcpkg.json +++ b/ports/double-conversion/vcpkg.json @@ -1,6 +1,7 @@ { "name": "double-conversion", "version": "3.3.0", + "port-version": 1, "description": "Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles.", "homepage": "https://github.com/google/double-conversion", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index cc21f9ba21e70b..cb53f430513564 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2386,7 +2386,7 @@ }, "double-conversion": { "baseline": "3.3.0", - "port-version": 0 + "port-version": 1 }, "dp-thread-pool": { "baseline": "0.7.0", diff --git a/versions/d-/double-conversion.json b/versions/d-/double-conversion.json index 60ebfa7e22c01f..a3324fd4021325 100644 --- a/versions/d-/double-conversion.json +++ b/versions/d-/double-conversion.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "aab0be9dfa5d0fe2452be21cfd4c7997e437c05b", + "version": "3.3.0", + "port-version": 1 + }, { "git-tree": "63037e8b38231f15de1dddb0593eebfb0bf32496", "version": "3.3.0",