mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 12:49:00 +08:00
[fontconfig] Do not create symlinks (microsoft#23735) (#23736)
* [fontconfig] Do not create symlinks (microsoft#23735) * [fontconfig] Add a license identifier * Regenerate versions file
This commit is contained in:
parent
933d718910
commit
a76eb002a7
19
ports/fontconfig/no-etc-symlinks.patch
Normal file
19
ports/fontconfig/no-etc-symlinks.patch
Normal file
@ -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
|
||||
|
||||
if __name__=='__main__':
|
||||
parser = argparse.ArgumentParser()
|
||||
@@ -32,7 +33,7 @@
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
try:
|
||||
- os.symlink(src, dst)
|
||||
+ shutil.copyfile(src, dst)
|
||||
except NotImplementedError:
|
||||
# Not supported on this version of Windows
|
||||
break
|
@ -7,6 +7,8 @@ vcpkg_from_gitlab(
|
||||
REF ${FONTCONFIG_VERSION}
|
||||
SHA512 815f999146970c7f0e6c15a21f218d4b3f75b26d4ef14d36711bc0a1de19e59cc62d6a2c53993dd38b963ae30820c4db29f103380d5001886d55b6a7df361154
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
no-etc-symlinks.patch
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(GPERF)
|
||||
|
@ -1,9 +1,10 @@
|
||||
{
|
||||
"name": "fontconfig",
|
||||
"version": "2.13.94",
|
||||
"port-version": 5,
|
||||
"port-version": 6,
|
||||
"description": "Library for configuring and customizing font access.",
|
||||
"homepage": "https://www.freedesktop.org/wiki/Software/fontconfig",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
"dirent",
|
||||
"expat",
|
||||
|
@ -2262,7 +2262,7 @@
|
||||
},
|
||||
"fontconfig": {
|
||||
"baseline": "2.13.94",
|
||||
"port-version": 5
|
||||
"port-version": 6
|
||||
},
|
||||
"foonathan-memory": {
|
||||
"baseline": "2019-07-21",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8f782f79dc3a2c6834a7e5de4a941b11822067dd",
|
||||
"version": "2.13.94",
|
||||
"port-version": 6
|
||||
},
|
||||
{
|
||||
"git-tree": "2f32046747209c234e60dc297b48d5bdc7ee4494",
|
||||
"version": "2.13.94",
|
||||
|
Loading…
Reference in New Issue
Block a user