aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/fontconfig/no-etc-symlinks.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/fontconfig/no-etc-symlinks.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/fontconfig/no-etc-symlinks.patch')
-rw-r--r--vcpkg/ports/fontconfig/no-etc-symlinks.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/fontconfig/no-etc-symlinks.patch b/vcpkg/ports/fontconfig/no-etc-symlinks.patch
new file mode 100644
index 0000000..774640c
--- /dev/null
+++ b/vcpkg/ports/fontconfig/no-etc-symlinks.patch
@@ -0,0 +1,19 @@
+--- a/conf.d/link_confs.py 2022-03-24 04:13:59.000982000 +0900
++++ b/conf.d/link_confs.py 2022-03-24 04:14:46.271964000 +0900
+@@ -4,6 +4,7 @@
+ import sys
+ import argparse
+ import platform
++import shutil
+ from pathlib import PurePath
+
+ if __name__=='__main__':
+@@ -32,7 +33,7 @@
+ except FileNotFoundError:
+ pass
+ try:
+- os.symlink(os.path.relpath(src, start=args.confpath), dst)
++ shutil.copyfile(src, dst)
+ except NotImplementedError:
+ # Not supported on this version of Windows
+ break