Warning, /graphics/krita/3rdparty/ext_boost/0001-Fix-Krita-builds-with-Clang.patch is written in an unsupported language. File is not indexed.

0001 diff --git a/tools/build/src/engine/guess_toolset.bat b/tools/build/src/engine/guess_toolset.bat
0002 index 7093327116..8465770641 100644
0003 --- a/tools/build/src/engine/guess_toolset.bat 
0004 +++ b/tools/build/src/engine/guess_toolset.bat
0005 @@ -24,11 +24,27 @@ call :Clear_Error
0006  setlocal
0007  set test=%~$PATH:1
0008  endlocal
0009 -if not errorlevel 1 set FOUND_PATH=%~dp$PATH:1
0010 +if not "%test%" == "" set FOUND_PATH=%~dp$PATH:1
0011  goto :eof
0012  
0013  
0014  :Guess
0015 +call :Test_Path bcc32c.exe
0016 +if not "%FOUND_PATH%" == "" (
0017 +    set "B2_TOOLSET=borland"
0018 +    set "B2_TOOLSET_ROOT=%FOUND_PATH%..\"
0019 +    echo %FOUND_PATH%
0020 +    exit /b 0)
0021 +call :Test_Path icl.exe
0022 +if not "%FOUND_PATH%" == "" (
0023 +    set "B2_TOOLSET=intel-win32"
0024 +    set "B2_TOOLSET_ROOT=%FOUND_PATH%..\"
0025 +    exit /b 0)
0026 +call :Test_Path gcc.exe
0027 +if not "%FOUND_PATH%" == "" (
0028 +    set "B2_TOOLSET=gcc"
0029 +    set "B2_TOOLSET_ROOT=%FOUND_PATH%..\"
0030 +    exit /b 0)
0031  REM Let vswhere tell us where msvc is at, if available.
0032  call :Clear_Error
0033  call vswhere_usability_wrapper.cmd
0034 @@ -85,19 +101,5 @@ if not errorlevel 1 (
0035      call "%FOUND_PATH%VCVARS32.BAT"
0036      set "B2_TOOLSET_ROOT=%MSVCDir%\"
0037      exit /b 0)
0038 -call :Test_Path bcc32c.exe
0039 -if not errorlevel 1 (
0040 -    set "B2_TOOLSET=borland"
0041 -    set "B2_TOOLSET_ROOT=%FOUND_PATH%..\"
0042 -    exit /b 0)
0043 -call :Test_Path icl.exe
0044 -if not errorlevel 1 (
0045 -    set "B2_TOOLSET=intel-win32"
0046 -    set "B2_TOOLSET_ROOT=%FOUND_PATH%..\"
0047 -    exit /b 0)
0048 -if EXIST "C:\MinGW\bin\gcc.exe" (
0049 -    set "B2_TOOLSET=mingw"
0050 -    set "B2_TOOLSET_ROOT=C:\MinGW\"
0051 -    exit /b 0)
0052  REM Could not find a suitable toolset
0053  exit /b 1