libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / clang-18 / patches / 11-cmake_path.patch
blob004e2f93e480ca24077db2560fd5d3fbc52020ce
1 --- llvm-16.0.0.src/tools/clang/CMakeLists.txt 2023-03-17 13:26:07.000000000 +0100
2 +++ llvm-16.0.0.src/tools/clang/CMakeLists.txt.orig 2023-03-24 10:19:42.035659075 +0100
3 @@ -1,7 +1,7 @@
4 cmake_minimum_required(VERSION 3.13.4)
6 if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
7 - set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
8 + set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
9 endif()
10 include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
11 NO_POLICY_SCOPE)
12 --- llvm-16.0.3.src/CMakeLists.txt 2023-05-02 19:50:56.000000000 +0200
13 +++ llvm-16.0.3.src/CMakeLists.txt.new 2023-05-06 21:50:18.070375923 +0200
14 @@ -9,8 +9,8 @@
15 "at least 3.20.0 now to avoid issues in the future!")
16 endif()
18 -set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
19 -include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
20 +set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
21 +include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
22 NO_POLICY_SCOPE)
24 set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)
25 --- llvm-17.0.1.src/cmake/modules/HandleLLVMOptions.cmake 2023-09-19 11:05:13.000000000 +0200
26 +++ llvm-17.0.1.src/cmake/modules/HandleLLVMOptions.cmake.new 2023-09-23 19:21:33.854537851 +0200
27 @@ -1324,7 +1324,7 @@
28 add_flag_if_supported("-no-canonical-prefixes" NO_CANONICAL_PREFIXES)
29 endif()
31 -set(LLVM_THIRD_PARTY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../third-party CACHE STRING
32 +set(LLVM_THIRD_PARTY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third-party CACHE STRING
33 "Directory containing third party software used by LLVM (e.g. googletest)")
35 set(LLVM_UNITTEST_LINK_FLAGS "" CACHE STRING