aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fontforge/python-3.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fontforge/python-3.8.patch')
-rw-r--r--testing/fontforge/python-3.8.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/fontforge/python-3.8.patch b/testing/fontforge/python-3.8.patch
new file mode 100644
index 0000000000..7fd172a338
--- /dev/null
+++ b/testing/fontforge/python-3.8.patch
@@ -0,0 +1,13 @@
+diff --git a/m4/fontforge_arg_enable.m4 b/m4/fontforge_arg_enable.m4
+index 6f1177c..584261c 100644
+--- a/m4/fontforge_arg_enable.m4
++++ b/m4/fontforge_arg_enable.m4
+@@ -116,7 +116,7 @@ fi
+ if test x"${i_do_have_python_scripting}" != xyes; then
+ i_want_python_ver=
+ else
+- PKG_CHECK_MODULES([PYTHON],[python-"${PYTHON_VERSION}"], dnl [PKG_CHECK_MODULES([PYTHONDEV],[python-"${PYTHON_VERSION}"],,[i_do_have_python_scripting=maybe])],
++ PKG_CHECK_MODULES([PYTHON],[python-"${PYTHON_VERSION}"-embed], dnl [PKG_CHECK_MODULES([PYTHONDEV],[python-"${PYTHON_VERSION}"],,[i_do_have_python_scripting=maybe])],
+ [PKG_CHECK_MODULES([PYTHONDEV],[python-"${PYTHON_VERSION}"],,[i_do_have_python_scripting=no])],
+ [i_do_have_python_scripting=no])
+ dnl dnl TODO: have python3 AND python2, but only have python2 dev, but no python3 dev