aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fontforge/python-3.8.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-04 10:02:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-05 15:35:33 +0000
commitf45e09feb2378283c5d91bdc8afed47f868c5f15 (patch)
tree3971d1f51e70288fa1e69678323edda68cf14ea1 /testing/fontforge/python-3.8.patch
parentfbfbc57cc09a5e2dfe29cdffc9460eb3eb39caa6 (diff)
downloadaports-f45e09feb2378283c5d91bdc8afed47f868c5f15.tar.bz2
aports-f45e09feb2378283c5d91bdc8afed47f868c5f15.tar.xz
testing/fontforge: rebuild against python 3.8
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