diff options
Diffstat (limited to 'packages/gizmod/files/fix-python-configure.patch')
-rw-r--r-- | packages/gizmod/files/fix-python-configure.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gizmod/files/fix-python-configure.patch b/packages/gizmod/files/fix-python-configure.patch new file mode 100644 index 0000000000..9b48c9790f --- /dev/null +++ b/packages/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" + |