Warning, /graphics/krita/3rdparty/ext_fontconfig/0001-fontconfig-Do-not-create-symlinks-microsoft-23735.patch is written in an unsupported language. File is not indexed.
0001 From e5972ccd998a39efc562af6edb0a107b2b26ff37 Mon Sep 17 00:00:00 2001 0002 From: Alonso Schaich <alonsoschaich@fastmail.fm> 0003 Date: Thu, 24 Mar 2022 21:03:32 +0000 0004 Subject: [PATCH 1/2] [fontconfig] Do not create symlinks (microsoft#23735) 0005 0006 --- 0007 conf.d/link_confs.py | 3 ++- 0008 1 file changed, 2 insertions(+), 1 deletion(-) 0009 0010 diff --git a/conf.d/link_confs.py b/conf.d/link_confs.py 0011 index 52b8093..03608c6 100644 0012 --- a/conf.d/link_confs.py 0013 +++ b/conf.d/link_confs.py 0014 @@ -4,6 +4,7 @@ import os 0015 import sys 0016 import argparse 0017 import platform 0018 +import shutil 0019 0020 if __name__=='__main__': 0021 parser = argparse.ArgumentParser() 0022 @@ -32,7 +33,7 @@ if __name__=='__main__': 0023 except FileNotFoundError: 0024 pass 0025 try: 0026 - os.symlink(src, dst) 0027 + shutil.copyfile(src, dst) 0028 except NotImplementedError: 0029 # Not supported on this version of Windows 0030 break 0031 -- 0032 2.32.0.windows.2 0033