Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2026 20:17:59 +0000
From:      Gordon Tetlow <gordon@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: cbd70fd3ce - main - Update patch instructions to use patch -E -p0.
Message-ID:  <6a35a3f7.38ce3.6a3c8b21@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by gordon:

URL: https://cgit.FreeBSD.org/doc/commit/?id=cbd70fd3ce45fd8aee98f0e3d843738fa0d93ad5

commit cbd70fd3ce45fd8aee98f0e3d843738fa0d93ad5
Author:     Gordon Tetlow <gordon@FreeBSD.org>
AuthorDate: 2026-06-19 20:17:24 +0000
Commit:     Gordon Tetlow <gordon@FreeBSD.org>
CommitDate: 2026-06-19 20:17:24 +0000

    Update patch instructions to use patch -E -p0.
---
 website/static/security/advisory-template.txt | 2 +-
 website/static/security/errata-template.txt   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/website/static/security/advisory-template.txt b/website/static/security/advisory-template.txt
index 238f6b0244..75ef02e938 100644
--- a/website/static/security/advisory-template.txt
+++ b/website/static/security/advisory-template.txt
@@ -92,7 +92,7 @@ detached PGP signature using your PGP utility.
 b) Apply the patch.  Execute the following commands as root:
 
 # cd /usr/src
-# patch < /path/to/patch
+# patch -E -p0 < /path/to/patch
 
 <XX for a userland utility:>
 
diff --git a/website/static/security/errata-template.txt b/website/static/security/errata-template.txt
index f60cd142f9..a10901f5d2 100644
--- a/website/static/security/errata-template.txt
+++ b/website/static/security/errata-template.txt
@@ -92,7 +92,7 @@ detached PGP signature using your PGP utility.
 b) Apply the patch.  Execute the following commands as root:
 
 # cd /usr/src
-# patch < /path/to/patch
+# patch -E -p0 < /path/to/patch
 
 <XX for a userland utility:>
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a35a3f7.38ce3.6a3c8b21>