shithub: freetype+ttf2subf

Download patch

ref: 842ec5ed623724f2139525a3ac11539994fd6b32
parent: 0f23ae2e80309d199ea6fea55691fa2d74bfed60
author: Jan Alexander Steffens (heftig) <[email protected]>
date: Wed Oct 6 20:46:14 EDT 2021

meson.build (gen_docs): Use `current_source_dir` instead of `source_root`.

These two are not equal when FreeType is used as a subproject, such as in
`freetype-demos`.  In that case, `source_root` points at the root project,
causing the docs build to fail.

git/fs: mount .git/fs: mount/attach disallowed
--- a/meson.build
+++ b/meson.build
@@ -391,7 +391,7 @@
   command: [python_exe,
     files('builds/meson/generate_reference_docs.py'),
     '--version=' + meson.project_version(),
-    '--input-dir=' + meson.source_root(),
+    '--input-dir=' + meson.current_source_dir(),
     '--output-dir=@OUTPUT@'
   ],
 )