gettext: update to 0.23.1
[oi-userland.git] / components / x11 / spirv-tools / patches / 01-add-sunos.patch
blob417c0c9061ead386b6d7c2abe9d38fc5c2530450
1 --- SPIRV-Tools-2024.3/CMakeLists.txt.old 2024-11-18 14:18:25.146940505 -0500
2 +++ SPIRV-Tools-2024.3/CMakeLists.txt 2024-11-18 14:19:01.876955989 -0500
3 @@ -78,6 +78,8 @@
4 add_definitions(-DSPIRV_GNU)
5 elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "QNX")
6 add_definitions(-DSPIRV_QNX)
7 +elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
8 + add_definitions(-DSPIRV_SUNOS)
9 else()
10 message(FATAL_ERROR "Your platform '${CMAKE_SYSTEM_NAME}' is not supported!")
11 endif()
12 --- SPIRV-Tools-2024.3/source/print.cpp.old 2024-11-18 14:25:14.998945818 -0500
13 +++ SPIRV-Tools-2024.3/source/print.cpp 2024-11-18 14:25:48.464713809 -0500
14 @@ -17,7 +17,7 @@
15 #if defined(SPIRV_ANDROID) || defined(SPIRV_LINUX) || defined(SPIRV_MAC) || \
16 defined(SPIRV_IOS) || defined(SPIRV_TVOS) || defined(SPIRV_FREEBSD) || \
17 defined(SPIRV_OPENBSD) || defined(SPIRV_EMSCRIPTEN) || \
18 - defined(SPIRV_FUCHSIA) || defined(SPIRV_GNU) || defined(SPIRV_QNX)
19 + defined(SPIRV_FUCHSIA) || defined(SPIRV_GNU) || defined(SPIRV_QNX) || defined(SPIRV_SUNOS)
20 namespace spvtools {
22 clr::reset::operator const char*() { return "\x1b[0m"; }