llvm-terminfo.patch 788 B

123456789101112131415161718192021
  1. --- a/backend/src/CMakeLists.txt 2015-12-18 07:40:03.000000000 +0100
  2. +++ b/backend/src/CMakeLists.txt 2016-08-01 13:44:31.475875150 +0200
  3. @@ -153,7 +153,7 @@
  4. add_library(gbeinterp SHARED gbe_bin_interpreter.cpp)
  5. -if (LLVM_VERSION_NODOT VERSION_EQUAL 34)
  6. +if (NOT (LLVM_VERSION_NODOT LESS 34))
  7. find_library(TERMINFO NAMES tinfo ncurses)
  8. if (${TERMINFO} STREQUAL TERMINFO-NOTFOUND)
  9. message(FATAL_ERROR "no libtinfo or libncurses is found in system")
  10. @@ -161,7 +161,7 @@
  11. target_link_libraries(gbe ${TERMINFO})
  12. message(STATUS "use ${TERMINFO} as terminal control library")
  13. endif (${TERMINFO} STREQUAL TERMINFO-NOTFOUND)
  14. -endif(LLVM_VERSION_NODOT VERSION_EQUAL 34)
  15. +endif(NOT (LLVM_VERSION_NODOT LESS 34))
  16. link_directories (${LLVM_LIBRARY_DIR} ${DRM_LIBDIR})