Subject: [bug#76594] [PATCH 1/3] doc: Mention that patch files should be generated with quilt.

From: Morgan Smith <[email-masked]>
Date: Wed, 26 Feb 2025 12:44:17 -0500

* doc/guix.texi: Add a reference to the command quilt in the places that
mention patch files

Change-Id: If6ed0556ee57f383d04c9d98aaaeba9323d43390
---
 doc/guix.texi | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index b525913c15..ffcd012b5a 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7730,7 +7730,8 @@ Defining Packages
 @cindex patches
 When needed, the @code{origin} form can also have a @code{patches} field
 listing patches to be applied, and a @code{snippet} field giving a
-Scheme expression to modify the source code.
+Scheme expression to modify the source code.  The patch files can be
+created using @command{quilt}.
 
 @item
 @cindex GNU Build System
@@ -8232,6 +8233,7 @@ origin Reference
 @item @code{patches} (default: @code{'()})
 A list of file names, origins, or file-like objects (@pxref{G-Expressions,
 file-like objects}) pointing to patches to be applied to the source.
+The patch files can be created using @command{quilt}.
 
 This list of patches must be unconditional.  In particular, it cannot
 depend on the value of @code{%current-system} or
@@ -13508,7 +13510,8 @@ Package Transformation Options
 @var{file} must contain a patch; it is applied with the flags specified
 in the @code{origin} of @var{package} (@pxref{origin Reference}), which
 by default includes @code{-p1} (@pxref{patch Directories,,, diffutils,
-Comparing and Merging Files}).
+Comparing and Merging Files}).  The patch files can be created using
+@command{quilt}.
 
 As an example, the command below rebuilds Coreutils with the GNU C
 Library (glibc) patched with the given patch:
-- 
2.48.1