summaryrefslogtreecommitdiff
path: root/pcr/kiwix-git/0002-fix-python2-path.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-19 13:44:43 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-19 13:46:52 -0300
commit51ab08cbf695c7db7805465c2fe6a4d05118bdf2 (patch)
treeec91fa78c269776dde155c1d70db5a2ee2fda6e5 /pcr/kiwix-git/0002-fix-python2-path.patch
parentffa49c72db6d9db539cbbe2c65feac2f2e3ee871 (diff)
downloadabslibre-51ab08cbf695c7db7805465c2fe6a4d05118bdf2.tar.gz
abslibre-51ab08cbf695c7db7805465c2fe6a4d05118bdf2.tar.bz2
abslibre-51ab08cbf695c7db7805465c2fe6a4d05118bdf2.zip
kiwix-git: add new package to [pcr] -> https://labs.parabola.nu/issues/906
Diffstat (limited to 'pcr/kiwix-git/0002-fix-python2-path.patch')
-rw-r--r--pcr/kiwix-git/0002-fix-python2-path.patch16
1 files changed, 16 insertions, 0 deletions
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" ]