aboutsummaryrefslogtreecommitdiff
path: root/ports/openxr-loader/0003-windows-path-python-fix.patch
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-08-16 10:01:32 +0800
committerGitHub <noreply@github.com>2019-08-16 10:01:32 +0800
commitadb84c2658b9774ff535eb88f377ee818dd429be (patch)
treefcfcf4a93057037152a14aa2885598b45c5b03bd /ports/openxr-loader/0003-windows-path-python-fix.patch
parent2865da8f4a6d911617cdd9b147816c4cd02bbf7e (diff)
parent22e787f9448a25dae734ca06c80e7e5af5fb6537 (diff)
downloadvcpkg-adb84c2658b9774ff535eb88f377ee818dd429be.tar.gz
vcpkg-adb84c2658b9774ff535eb88f377ee818dd429be.zip
Merge branch 'master' into dev/jack/4167
Diffstat (limited to 'ports/openxr-loader/0003-windows-path-python-fix.patch')
-rw-r--r--ports/openxr-loader/0003-windows-path-python-fix.patch16
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