aboutsummaryrefslogtreecommitdiff
path: root/ports/pmdk/addPowerShellExecutionPolicy.patch
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-10-07 19:35:13 +0200
committerCurtis J Bezault <curtbezault@gmail.com>2019-10-07 10:35:13 -0700
commit726c11148105a97aef39bec024fdb7c140b1b154 (patch)
tree26bd2aee0c13a8351b259cc4ffffaf0efededb4e /ports/pmdk/addPowerShellExecutionPolicy.patch
parente86ff2cc54bda9e9ee322ab69141e7113d5c40a9 (diff)
downloadvcpkg-726c11148105a97aef39bec024fdb7c140b1b154.tar.gz
vcpkg-726c11148105a97aef39bec024fdb7c140b1b154.zip
[vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
Diffstat (limited to 'ports/pmdk/addPowerShellExecutionPolicy.patch')
-rw-r--r--ports/pmdk/addPowerShellExecutionPolicy.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/ports/pmdk/addPowerShellExecutionPolicy.patch b/ports/pmdk/addPowerShellExecutionPolicy.patch
deleted file mode 100644
index 692ff176a..000000000
--- a/ports/pmdk/addPowerShellExecutionPolicy.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/src/windows/srcversion/srcversion.vcxproj b/src/windows/srcversion/srcversion.vcxproj
-index 8761197..795d1a7 100644
---- a/src/windows/srcversion/srcversion.vcxproj
-+++ b/src/windows/srcversion/srcversion.vcxproj
-@@ -72,7 +72,7 @@
- </Command>
- </PreBuildEvent>
- <CustomBuildStep>
-- <Command>powershell.exe -file "$(SolutionDir)..\utils\SRCVERSION.ps1" $(SRCVERSION)</Command>
-+ <Command>powershell.exe -ExecutionPolicy Bypass -file "$(SolutionDir)..\utils\SRCVERSION.ps1" $(SRCVERSION)</Command>
- <Outputs>__NON_EXISTENT_FILE__</Outputs>
- <Message>generate srcversion.h</Message>
- </CustomBuildStep>
-@@ -99,7 +99,7 @@
- </Command>
- </PreBuildEvent>
- <CustomBuildStep>
-- <Command>powershell.exe -file "$(SolutionDir)..\utils\SRCVERSION.ps1" $(SRCVERSION)</Command>
-+ <Command>powershell.exe -ExecutionPolicy Bypass -file "$(SolutionDir)..\utils\SRCVERSION.ps1" $(SRCVERSION)</Command>
- <Outputs>__NON_EXISTENT_FILE__</Outputs>
- <Message>generate srcversion.h</Message>
- </CustomBuildStep>