diff options
Diffstat (limited to 'pcr/kiwix/0002-fix-python2-path.patch')
-rw-r--r-- | pcr/kiwix/0002-fix-python2-path.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr/kiwix/0002-fix-python2-path.patch b/pcr/kiwix/0002-fix-python2-path.patch new file mode 100644 index 000000000..947dcf042 --- /dev/null +++ b/pcr/kiwix/0002-fix-python2-path.patch @@ -0,0 +1,16 @@ +diff -Nur kiwix-0.9.orig/configure.ac kiwix-0.9/configure.ac +--- kiwix-0.9.orig/configure.ac 2014-10-29 20:55:35.000000000 -0200 ++++ kiwix-0.9/configure.ac 2016-01-18 18:25:25.287664496 -0300 +@@ -831,10 +831,10 @@ + else + # SDK 0.9 and further do not have an xpidl binary anymore + # This is replace by the python script typelib.py and header.py +- AC_PATH_PROG([PYTHON], "python") ++ AC_PATH_PROG([PYTHON], "python2") + if test [ ! "$PYTHON" ] + then +- AC_MSG_ERROR([[cannot find python]]) ++ AC_MSG_ERROR([[cannot find python2]]) + fi + + if test [ ! -f "$XPIDL_PATH/header.py" -o ! -f "$XPIDL_PATH/typelib.py" ] |