diff options
| author | Bradley Austin Davis <bdavis@saintandreas.org> | 2019-07-31 13:03:44 -0700 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-07-31 13:03:44 -0700 |
| commit | e8e78c449b176db3f546994ec044328cf1dca551 (patch) | |
| tree | c4caa2bcdd7389b51ca5503e86783897a2d97610 /ports/openxr-loader/0003-windows-path-python-fix.patch | |
| parent | bcff929875d76ade98c251038eea6f48171facc6 (diff) | |
| download | vcpkg-e8e78c449b176db3f546994ec044328cf1dca551.tar.gz vcpkg-e8e78c449b176db3f546994ec044328cf1dca551.zip | |
Update OpenXR to 1.0 (#7488)
Diffstat (limited to 'ports/openxr-loader/0003-windows-path-python-fix.patch')
| -rw-r--r-- | ports/openxr-loader/0003-windows-path-python-fix.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ports/openxr-loader/0003-windows-path-python-fix.patch b/ports/openxr-loader/0003-windows-path-python-fix.patch deleted file mode 100644 index a68f87722..000000000 --- a/ports/openxr-loader/0003-windows-path-python-fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/specification/scripts/generator.py b/specification/scripts/generator.py -index d6a1afe..5f9d0b6 100644 ---- a/specification/scripts/generator.py -+++ b/specification/scripts/generator.py -@@ -516,9 +516,10 @@ class OutputGenerator: - # Generator can be used without writing to a file. - if self.genOpts.filename is not None: - if sys.platform == 'win32': -- directory = Path(self.genOpts.directory) -+ directory = self.genOpts.directory - if not os.path.exists(directory): - os.makedirs(directory) -- self.outFile = io.open(directory / self.genOpts.filename, 'w', encoding='utf-8') -+ self.outFile = io.open(directory + '/' + self.genOpts.filename, 'w', encoding='utf-8') - else: - filename = self.genOpts.directory + '/' + self.genOpts.filename |
