From fc41b98ad728a784b5d8702339bf13803e2df93e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 1 Nov 2019 13:56:54 +0000 Subject: testing/hplip: upgrade to 3.19.10 and python 3.8 --- testing/hplip/python-3.8-compat.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 testing/hplip/python-3.8-compat.patch (limited to 'testing/hplip/python-3.8-compat.patch') diff --git a/testing/hplip/python-3.8-compat.patch b/testing/hplip/python-3.8-compat.patch new file mode 100644 index 0000000000..10cc034fdd --- /dev/null +++ b/testing/hplip/python-3.8-compat.patch @@ -0,0 +1,15 @@ +diff --git a/configure.in b/configure.in +index 470486d..d6acb9d 100755 +--- a/configure.in ++++ b/configure.in +@@ -611,10 +611,6 @@ if test "$class_driver" = "no" && test "$hpijs_only_build" = "no" && test "$lite + PYTHONINCLUDEDIR=`$PYTHON -c "from distutils.sysconfig import get_python_inc; print (get_python_inc());"` + AC_MSG_RESULT("using $PYTHONINCLUDEDIR .... python${PYTHON_VERSION}/Python.h") + AC_ARG_VAR(PYTHONINCLUDEDIR, [path to Python.h C header file]) +- AC_CHECK_HEADERS([python${PYTHON_VERSION}/Python.h python${PYTHON_VERSION}mu/Python.h python${PYTHON_VERSION}m/Python.h ], +- [FOUND_HEADER=yes; break;]) +- AS_IF([test "x$FOUND_HEADER" != "xyes"], +- [AC_MSG_ERROR([cannot find python-devel support], 6)]) + fi + + if test "$hpijs_only_build" = "no" && test "$scan_build" = "yes" && test "$hpcups_only_build" = "no"; then -- cgit v1.2.3