libmo_unpack-3.1.2_cmake_have_stdint.patch 499 B

123456789
  1. # Header <stdint.h> only included if HAVE_STEDINT_H macro is set
  2. # May 8th 2018 by B. Hajgato (Free University Brussels - VUB)
  3. --- libmo_unpack-3.1.2/tests/CMakeLists.txt.orig 2015-10-09 12:44:17.000000000 +0200
  4. +++ libmo_unpack-3.1.2/tests/CMakeLists.txt 2018-05-08 15:03:00.115085372 +0200
  5. @@ -6,3 +6,4 @@
  6. add_executable(test_rle check_rle.c)
  7. target_link_libraries(test_rle ${LIBS})
  8. add_test(test_rle ${CMAKE_CURRENT_BINARY_DIR}/test_rle)
  9. +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_STDINT_H")