From 5f237aa8a44a09fc2447366f2a07601a03491cd9 Mon Sep 17 00:00:00 2001 From: Leonid Pospelov Date: Fri, 19 Jun 2020 00:35:30 +0200 Subject: Mention --ignore-space-at-eol in patching.md (#11952) --- docs/examples/patching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/patching.md') 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. -- cgit v1.2.3