aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/patching.md
diff options
context:
space:
mode:
authorLeonid Pospelov <pospelovlm@yandex.ru>2020-06-19 00:35:30 +0200
committerGitHub <noreply@github.com>2020-06-18 15:35:30 -0700
commit5f237aa8a44a09fc2447366f2a07601a03491cd9 (patch)
treeb138dad345174c1ba08cc3a68d2488aaa08348cb /docs/examples/patching.md
parentda3be5d43b3c60a458a746fcec6825b7e3891aae (diff)
downloadvcpkg-5f237aa8a44a09fc2447366f2a07601a03491cd9.tar.gz
vcpkg-5f237aa8a44a09fc2447366f2a07601a03491cd9.zip
Mention --ignore-space-at-eol in patching.md (#11952)
Diffstat (limited to 'docs/examples/patching.md')
-rw-r--r--docs/examples/patching.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/patching.md b/docs/examples/patching.md
index b152231e2..77b488aad 100644
--- a/docs/examples/patching.md
+++ b/docs/examples/patching.md
@@ -140,7 +140,7 @@ Now we can modify `pngpriv.h` to use `abort()` everywhere.
The output of `git diff` is already in patch format, so we just need to save the patch into the `ports/libpng` directory.
```no-highlight
-PS buildtrees\libpng\src\libpng-1.6.24> git diff | out-file -enc ascii ..\..\..\..\ports\libpng\use-abort-on-all-platforms.patch
+PS buildtrees\libpng\src\libpng-1.6.24> git diff --ignore-space-at-eol | out-file -enc ascii ..\..\..\..\ports\libpng\use-abort-on-all-platforms.patch
```
Finally, we need to apply the patch after extracting the source.