X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/449d39d04a11ad248354d442a2fe364429aab289..d8608b14ec6c97f0228a63bea6b4044821f4ee61:/packages/weechat/cmake-FindPython.cmake.patch diff --git a/packages/weechat/cmake-FindPython.cmake.patch b/packages/weechat/cmake-FindPython.cmake.patch index ca7e6313..3ba6ac79 100644 --- a/packages/weechat/cmake-FindPython.cmake.patch +++ b/packages/weechat/cmake-FindPython.cmake.patch @@ -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()