summaryrefslogtreecommitdiff
path: root/recipes/gizmod/files/fix-python-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gizmod/files/fix-python-configure.patch')
-rw-r--r--recipes/gizmod/files/fix-python-configure.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/gizmod/files/fix-python-configure.patch b/recipes/gizmod/files/fix-python-configure.patch
new file mode 100644
index 0000000000..9b48c9790f
--- /dev/null
+++ b/recipes/gizmod/files/fix-python-configure.patch
@@ -0,0 +1,17 @@
+Index: gizmod-2.3/configure.ac
+===================================================================
+--- gizmod-2.3.orig/configure.ac
++++ gizmod-2.3/configure.ac
+@@ -162,11 +162,7 @@ CFLAGS="$PYTHON_INC $CFLAGS"
+ # AC_MSG_ERROR([Cannot find python.h!])
+ # ])
+
+-AC_CHECK_FILE(${py_prefix}/include/python${py_ver}/Python.h, [
+- AC_DEFINE(HAVE_PYTHON_H, 1, [Has Python.h])
+- ], [
+- AC_MSG_ERROR([Cannot find Python.h!])
+- ])
++AC_DEFINE(HAVE_PYTHON_H, 1, [Has Python.h])
+
+ CFLAGS="$OLD_CFLAGS"
+