diff options
| author | NancyLi1013 <lirui09@beyondsoft.com> | 2020-04-06 19:21:59 -0700 |
|---|---|---|
| committer | NancyLi1013 <lirui09@beyondsoft.com> | 2020-04-06 19:22:19 -0700 |
| commit | 9cbb1bd46e0948374fe496195cca828e68a71f3c (patch) | |
| tree | e65160aa6a3783966bba32283d1dd2a2eb05a41f /ports/glad/encoding.patch | |
| parent | 0f1294c61e51bba3c4257502852eecbe1a943a4b (diff) | |
| parent | 6c4e822611324de4af9c8bb0ef8094e4a9b30a6e (diff) | |
| download | vcpkg-9cbb1bd46e0948374fe496195cca828e68a71f3c.tar.gz vcpkg-9cbb1bd46e0948374fe496195cca828e68a71f3c.zip | |
Merge branch 'master' of https://github.com/Microsoft/vcpkg into dev/NancyLi/10611-fix-mosquitto
# Conflicts:
# ports/libwebsockets/CONTROL
Diffstat (limited to 'ports/glad/encoding.patch')
| -rw-r--r-- | ports/glad/encoding.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/glad/encoding.patch b/ports/glad/encoding.patch new file mode 100644 index 000000000..0497cc79a --- /dev/null +++ b/ports/glad/encoding.patch @@ -0,0 +1,13 @@ +diff --git a/glad/__main__.py b/glad/__main__.py +index e7c0544a5..1e10dcc60 100644 +--- a/glad/__main__.py ++++ b/glad/__main__.py +@@ -32,7 +32,7 @@ def main(): + if reproducible: + logger.info('reproducible build, using packaged specification: \'%s.xml\'', value) + try: +- return spec_cls.from_file(glad.files.open_local(value + '.xml')) ++ return spec_cls.from_file(glad.files.open_local(value + '.xml', encoding='utf-8-sig')) + except IOError: + raise ValueError('unable to open reproducible copy of {}.xml, ' + 'try dropping --reproducible'.format(value)) |
