summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-gst
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python-gst')
-rw-r--r--meta/recipes-devtools/python/python-gst/python-path.patch11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/recipes-devtools/python/python-gst/python-path.patch b/meta/recipes-devtools/python/python-gst/python-path.patch
index af5badd4d9..00bab2c565 100644
--- a/meta/recipes-devtools/python/python-gst/python-path.patch
+++ b/meta/recipes-devtools/python/python-gst/python-path.patch
@@ -1,8 +1,8 @@
1Index: gst-python-0.10.18/acinclude.m4 1Index: gst-python-0.10.19/acinclude.m4
2=================================================================== 2===================================================================
3--- gst-python-0.10.18.orig/acinclude.m4 3--- gst-python-0.10.19.orig/acinclude.m4 2010-04-21 15:23:44.000000000 -0700
4+++ gst-python-0.10.18/acinclude.m4 4+++ gst-python-0.10.19/acinclude.m4 2010-11-15 14:43:00.642994001 -0800
5@@ -43,6 +43,12 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS], 5@@ -43,6 +43,13 @@
6 [AC_REQUIRE([AM_PATH_PYTHON]) 6 [AC_REQUIRE([AM_PATH_PYTHON])
7 AC_MSG_CHECKING(for headers required to compile python extensions) 7 AC_MSG_CHECKING(for headers required to compile python extensions)
8 dnl deduce PYTHON_INCLUDES 8 dnl deduce PYTHON_INCLUDES
@@ -11,11 +11,12 @@ Index: gst-python-0.10.18/acinclude.m4
11+ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) 11+ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval)
12+if test x$py_exec_prefix != x; then 12+if test x$py_exec_prefix != x; then
13+PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" 13+PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}"
14+py_prefix="${py_exec_prefix}"
14+else 15+else
15 py_prefix=`$PYTHON -c "import sys; print sys.prefix"` 16 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
16 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` 17 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
17 if $PYTHON-config --help 2>/dev/null; then 18 if $PYTHON-config --help 2>/dev/null; then
18@@ -53,6 +59,7 @@ else 19@@ -53,6 +60,7 @@
19 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" 20 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
20 fi 21 fi
21 fi 22 fi