summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation/gpsd/gpsd-2.95/fix-build-with-python2.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-navigation/gpsd/gpsd-2.95/fix-build-with-python2.7.patch')
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd-2.95/fix-build-with-python2.7.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd-2.95/fix-build-with-python2.7.patch b/meta-oe/recipes-navigation/gpsd/gpsd-2.95/fix-build-with-python2.7.patch
new file mode 100644
index 0000000000..6bba2b8600
--- /dev/null
+++ b/meta-oe/recipes-navigation/gpsd/gpsd-2.95/fix-build-with-python2.7.patch
@@ -0,0 +1,15 @@
1Without this patch python2.6 from host could be preferred over python from native sysroot.
2
3Upstream-Status: Pending
4diff -uNr gpsd-2.95.orig/configure.ac gpsd-2.95/configure.ac
5--- gpsd-2.95.orig/configure.ac 2011-10-31 18:26:08.860719033 +0100
6+++ gpsd-2.95/configure.ac 2011-10-31 18:27:47.718716963 +0100
7@@ -31,7 +31,7 @@
8 dnl AM_PATH_PYTHON provided with automake can be too old. Look
9 dnl for newer python first, and include 2.6 on the list.
10 m4_define([_AM_PYTHON_INTERPRETER_LIST],
11- [python2.6 python2.5 python2.4 python])
12+ [python2.7 python2.6 python2.5 python2.4 python])
13 AM_PATH_PYTHON([2.4])
14 ac_python=yes
15 if test "x$PYTHON" = "x"; then