weechat: Update from 1.7.1 to 1.8
[termux-packages] / packages / weechat / cmake-FindPython.cmake.patch
index ca7e631..3ba6ac7 100644 (file)
@@ -1,12 +1,12 @@
-diff -u -r ../weechat-1.6/cmake/FindPython.cmake ./cmake/FindPython.cmake
---- ../weechat-1.6/cmake/FindPython.cmake      2016-10-02 03:35:04.000000000 -0400
-+++ ./cmake/FindPython.cmake   2016-10-09 14:56:31.261168669 -0400
+diff -u -r ../weechat-1.8/cmake/FindPython.cmake ./cmake/FindPython.cmake
+--- ../weechat-1.8/cmake/FindPython.cmake      2017-05-13 07:07:57.000000000 +0200
++++ ./cmake/FindPython.cmake   2017-05-16 14:50:03.013699385 +0200
 @@ -34,64 +34,11 @@
  endif()
  
  if(ENABLE_PYTHON3)
 -  find_program(PYTHON_EXECUTABLE
--    NAMES python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
+-    NAMES python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
 -    PATHS /usr/bin /usr/local/bin /usr/pkg/bin
 -    )
 -else()
@@ -38,7 +38,7 @@ diff -u -r ../weechat-1.6/cmake/FindPython.cmake ./cmake/FindPython.cmake
 -    )
 -  if(ENABLE_PYTHON3)
 -    find_library(PYTHON_LIBRARY
--      NAMES python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
+-      NAMES python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
 -      HINTS ${PYTHON_POSSIBLE_LIB_PATH}
 -      )
 -  else()