diff --git a/ports/llvm/0009-add-missing-typename.patch b/ports/llvm/0009-add-missing-typename.patch new file mode 100644 index 0000000000..50fd603d7f --- /dev/null +++ b/ports/llvm/0009-add-missing-typename.patch @@ -0,0 +1,13 @@ +diff --git a/llvm/tools/dsymutil/DwarfLinkerForBinary.cpp b/llvm/tools/dsymutil/DwarfLinkerForBinary.cpp +index 4b281d5f1..0a008ab9b 100644 +--- a/llvm/tools/dsymutil/DwarfLinkerForBinary.cpp ++++ b/llvm/tools/dsymutil/DwarfLinkerForBinary.cpp +@@ -951,7 +951,7 @@ std::vector< + DwarfLinkerForBinary::AddressManager::getRelocations( + const std::vector &Relocs, uint64_t StartPos, uint64_t EndPos) { + std::vector< +- DwarfLinkerForBinary::AddressManager::ValidReloc> ++ typename DwarfLinkerForBinary::AddressManager::ValidReloc> + Res; + + auto CurReloc = partition_point(Relocs, [StartPos](const ValidReloc &Reloc) { diff --git a/ports/llvm/portfile.cmake b/ports/llvm/portfile.cmake index 41716fdcf6..a79c72a590 100644 --- a/ports/llvm/portfile.cmake +++ b/ports/llvm/portfile.cmake @@ -15,6 +15,7 @@ vcpkg_from_github( 0006-create-destination-mlir-directory.patch 0007-fix-compiler-rt-warnings.patch # fixed in upstream 0008-add-missing-case.patch # From upstream https://github.com/llvm/llvm-project/pull/72401 + 0009-add-missing-typename.patch # Fixed in version 18.1.0 and later ) vcpkg_check_features( diff --git a/ports/llvm/vcpkg.json b/ports/llvm/vcpkg.json index dfa1805d82..3bfc831eb5 100644 --- a/ports/llvm/vcpkg.json +++ b/ports/llvm/vcpkg.json @@ -1,7 +1,7 @@ { "name": "llvm", "version": "17.0.2", - "port-version": 4, + "port-version": 5, "description": "The LLVM Compiler Infrastructure.", "homepage": "https://llvm.org", "license": "Apache-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index 9a1a6bd8bb..7306f6b43e 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5382,7 +5382,7 @@ }, "llvm": { "baseline": "17.0.2", - "port-version": 4 + "port-version": 5 }, "lmdb": { "baseline": "0.9.31", diff --git a/versions/l-/llvm.json b/versions/l-/llvm.json index bbbe27eabf..03ea923e9b 100644 --- a/versions/l-/llvm.json +++ b/versions/l-/llvm.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "3782c35ec8e69e728302f4adeb98dd21d7452fce", + "version": "17.0.2", + "port-version": 5 + }, { "git-tree": "9b38326a02fb44545071f8a4ee72ca3e2bc9bd8e", "version": "17.0.2",