Warning, /education/kstars/packaging/android/3rdparty/cfitsio.patch is written in an unsupported language. File is not indexed.

0001 diff --git a/CMakeLists.txt b/CMakeLists.txt
0002 index c749abb..051960d 100644
0003 --- a/CMakeLists.txt
0004 +++ b/CMakeLists.txt
0005 @@ -22,6 +22,10 @@ ENDIF()
0006  
0007  #add_subdirectory (src)
0008  
0009 +IF("${CMAKE_TOOLCHAIN_FILE}" MATCHES "android.toolchain.cmake$")
0010 +    include(${CMAKE_TOOLCHAIN_FILE})
0011 +ENDIF()
0012 +
0013  SET (LIB_TYPE STATIC)
0014  IF (BUILD_SHARED_LIBS)
0015    SET (LIB_TYPE SHARED)
0016 @@ -59,8 +63,6 @@ TARGET_LINK_LIBRARIES(${LIB_NAME} m ${PTHREADS_LIBRARY}
0017  )
0018  
0019  SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES VERSION ${${PROJECT_NAME}_VERSION} SOVERSION ${${PROJECT_NAME}_MAJOR_VERSION})
0020 -install(TARGETS ${LIB_NAME} LIBRARY DESTINATION ${LIB_DESTINATION})
0021 -install(FILES ${H_FILES} DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel)
0022  
0023  ENABLE_TESTING()
0024  
0025 diff --git a/fitscore.c b/fitscore.c
0026 index 4c90df0..5e59cc1 100644
0027 --- a/fitscore.c
0028 +++ b/fitscore.c
0029 @@ -9230,7 +9230,7 @@ int ffc2rr(const char *cval,   /* I - string representation of the value */
0030  
0031      if (!decimalpt) { /* only do this once for efficiency */
0032         lcc = localeconv();   /* set structure containing local decimal point symbol */
0033 -       decimalpt = *(lcc->decimal_point);
0034 +//       decimalpt = *(lcc->decimal_point);
0035      }
0036  
0037      errno = 0;
0038 @@ -9300,7 +9300,7 @@ int ffc2dd(const char *cval,   /* I - string representation of the value */
0039  
0040      if (!decimalpt) { /* only do this once for efficiency */
0041         lcc = localeconv();   /* set structure containing local decimal point symbol */
0042 -       decimalpt = *(lcc->decimal_point);
0043 +//       decimalpt = *(lcc->decimal_point);
0044      }
0045     
0046      errno = 0;