python310.patch 429 B

123456789101112
  1. --- cwiid/configure.ac.orig 2021-10-25 12:06:48.965614546 +0700
  2. +++ cwiid/configure.ac 2021-10-25 12:07:01.190613822 +0700
  3. @@ -67,7 +67,7 @@
  4. fi
  5. AC_SUBST(PYTHON)
  6. if test $PYTHON; then
  7. - PYTHON_VERSION=[`$PYTHON -c 'import sys; print (sys.version[:3])'`]
  8. + PYTHON_VERSION=[`$PYTHON -c 'import sys; print (sys.version[:4])'`]
  9. AC_SUBST(PYTHON_VERSION)
  10. AC_DEFINE([HAVE_PYTHON],1,[Define to 1 if python support is enabled])
  11. fi