aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hplip/python-3.8-compat.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-01 13:56:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-05 15:35:29 +0000
commitfc41b98ad728a784b5d8702339bf13803e2df93e (patch)
tree2a7d60b43c75677a703a7ecb7cde4d41a9f897b0 /testing/hplip/python-3.8-compat.patch
parent1d39dfd8473e299b5c88a4df6dd696322b4370da (diff)
downloadaports-fc41b98ad728a784b5d8702339bf13803e2df93e.tar.bz2
aports-fc41b98ad728a784b5d8702339bf13803e2df93e.tar.xz
testing/hplip: upgrade to 3.19.10 and python 3.8
Diffstat (limited to 'testing/hplip/python-3.8-compat.patch')
-rw-r--r--testing/hplip/python-3.8-compat.patch15
1 files changed, 15 insertions, 0 deletions
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