Warning, /graphics/krita/3rdparty/ext_gsl/gsl-android.patch is written in an unsupported language. File is not indexed.

0001 --- a/CMakeLists.txt
0002 +++ b/CMakeLists.txt
0003 @@ -386,6 +386,7 @@
0004  # Compiles the source code, runs the program and sets ${VAR} to 1 if the
0005  # return value is equal to ${RESULT}.
0006  macro(check_run_result SRC RESULT VAR)
0007 +  if (NOT ANDROID)
0008    set(SRC_FILE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c)
0009    file(WRITE ${SRC_FILE} "${SRC}")
0010    try_run(RUN_RESULT COMPILE_RESULT ${CMAKE_BINARY_DIR} ${SRC_FILE}
0011 @@ -393,6 +394,9 @@
0012    if (RUN_RESULT EQUAL ${RESULT})
0013      set(${VAR} 1)
0014    endif ()
0015 +  else()
0016 +    set(${VAR} 1)
0017 +  endif()
0018  endmacro()
0019  
0020  # Check IEEE comparisons, whether "x != x" is true for NaNs.