diff --git a/ports/tmx/libxml2.patch b/ports/tmx/libxml2.patch new file mode 100644 index 00000000000..4c43310be3b --- /dev/null +++ b/ports/tmx/libxml2.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index abb5e18..30b88c5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -48,7 +48,6 @@ else() + message("Zlib not wanted") + endif() + +-include(FindLibXml2) + find_package(LibXml2 REQUIRED) + target_link_libraries(tmx LibXml2::LibXml2) + diff --git a/ports/tmx/portfile.cmake b/ports/tmx/portfile.cmake index ee76169108b..0c96c0eebf6 100644 --- a/ports/tmx/portfile.cmake +++ b/ports/tmx/portfile.cmake @@ -4,6 +4,8 @@ vcpkg_from_github( REF tmx_1.2.0 HEAD_REF master SHA512 cb29c67af560a1844e798d3fe2677a6b71866943b233c0700212b91de35f252a0a465c33911a2c432aa54be309e3ac10770bc95c6450227e39abe049c1fbbdd1 + PATCHES + libxml2.patch ) vcpkg_cmake_configure( diff --git a/ports/tmx/vcpkg.json b/ports/tmx/vcpkg.json index 764177045fe..016d673d010 100644 --- a/ports/tmx/vcpkg.json +++ b/ports/tmx/vcpkg.json @@ -1,8 +1,9 @@ { "name": "tmx", "version": "1.2.0", - "port-version": 1, + "port-version": 2, "description": "A portable C library to load tiled maps in your games.", + "license": "BSD-2-Clause", "dependencies": [ "libxml2", { diff --git a/versions/baseline.json b/versions/baseline.json old mode 100755 new mode 100644 index 334cf9bc4a7..5452ea90048 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7158,7 +7158,7 @@ }, "tmx": { "baseline": "1.2.0", - "port-version": 1 + "port-version": 2 }, "tmxlite": { "baseline": "1.3.0", diff --git a/versions/t-/tmx.json b/versions/t-/tmx.json index 862004cd447..1f74b06a67d 100644 --- a/versions/t-/tmx.json +++ b/versions/t-/tmx.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ad73505d8e08d0252406303852df5916e44209f6", + "version": "1.2.0", + "port-version": 2 + }, { "git-tree": "1b0ec7979f9a75aab71e9488940a4beff74bd745", "version": "1.2.0",