freetype: switch to meson
[feed/packages.git] / libs / freetype / patches / 020-distutils.patch
diff --git a/libs/freetype/patches/020-distutils.patch b/libs/freetype/patches/020-distutils.patch
new file mode 100644 (file)
index 0000000..207e4fb
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/meson.build
++++ b/meson.build
+@@ -26,7 +26,7 @@ project('freetype2', 'c',
+ # running an external command is required.
+ python = import('python')
+-python_exe = python.find_installation(required: true)
++python_exe = 'python3'
+ ft2_version = run_command(python_exe,
+   files('builds/meson/extract_freetype_version.py'),