rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / developer / ccache / patches / nsl-socket.patch
blob3275ef0169759ae683fc1f6b27a75d0d20ed0a2c
1 diff -Nru ccache-4.8.3.orig/CMakeLists.txt ccache-4.8.3/CMakeLists.txt
2 --- ccache-4.8.3.orig/CMakeLists.txt 2023-08-29 21:41:23.000000000 +0200
3 +++ ccache-4.8.3/CMakeLists.txt 2023-10-01 15:04:39.129393873 +0200
4 @@ -144,7 +144,7 @@
5 # ccache executable
7 add_executable(ccache src/main.cpp)
8 -target_link_libraries(ccache PRIVATE standard_settings standard_warnings ccache_framework)
9 +target_link_libraries(ccache PRIVATE standard_settings standard_warnings ccache_framework nsl socket)
12 # Documentation
13 diff -Nru ccache-4.8.3.orig/unittest/CMakeLists.txt ccache-4.8.3/unittest/CMakeLists.txt
14 --- ccache-4.8.3.orig/unittest/CMakeLists.txt 2023-08-29 21:41:23.000000000 +0200
15 +++ ccache-4.8.3/unittest/CMakeLists.txt 2023-10-01 15:04:49.926288823 +0200
16 @@ -56,7 +56,7 @@
18 target_link_libraries(
19 unittest
20 - PRIVATE standard_settings standard_warnings ccache_framework third_party)
21 + PRIVATE standard_settings standard_warnings ccache_framework third_party nsl socket)
23 target_include_directories(unittest PRIVATE ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${ccache_SOURCE_DIR}/src)