shithub: freetype+ttf2subf

Download patch

ref: 6fb7b7a09dfe348fefb16d163dc9d91f7503f1f6
parent: ed4d0710f14878b51ce1885e0f3221e2d6d97a5a
author: Brendan Shanks <bshanks@codeweavers.com>
date: Tue Apr 26 11:29:35 EDT 2022

autogen.sh: Fix building when freetype is itself a git submodule.

There are situations where .git is not a directory, like when
freetype is a submodule in another repository.

git/fs: mount .git/fs: mount/attach disallowed
--- a/autogen.sh
+++ b/autogen.sh
@@ -182,7 +182,7 @@
   cp $DLG_SRC_DIR/* src/dlg
 }
 
-if test -d ".git"; then
+if test -e ".git"; then
   DLG_INC_DIR=subprojects/dlg/include/dlg
   DLG_SRC_DIR=subprojects/dlg/src/dlg