From 51ab08cbf695c7db7805465c2fe6a4d05118bdf2 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 19 Jan 2016 13:44:43 -0300 Subject: kiwix-git: add new package to [pcr] -> https://labs.parabola.nu/issues/906 --- pcr/kiwix-git/0002-fix-python2-path.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pcr/kiwix-git/0002-fix-python2-path.patch (limited to 'pcr/kiwix-git/0002-fix-python2-path.patch') diff --git a/pcr/kiwix-git/0002-fix-python2-path.patch b/pcr/kiwix-git/0002-fix-python2-path.patch new file mode 100644 index 000000000..947dcf042 --- /dev/null +++ b/pcr/kiwix-git/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" ] -- cgit v1.2.3