[Buildroot] [PATCH v1 2/3] docs/manual: patches that change files with spaces in the name
Ricardo Martincoski
ricardo.martincoski at gmail.com
Sat Jan 23 15:28:48 UTC 2016
Patches generated by diff version 3.3 or any later must be edited
to allow the use of patch versions 2.5.9, 2.6 and 2.6.1 on the host
system.
Signed-off-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
Probably this patch will need some rewording.
It's my first patch to the manual.
I tested using 'make manual-html'
I used the real example. Should I change to a generic one?
e.g. path/to/filename with spaces date an time
---
docs/manual/patch-policy.txt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/docs/manual/patch-policy.txt b/docs/manual/patch-policy.txt
index 0b4604e..f0c89d1 100644
--- a/docs/manual/patch-policy.txt
+++ b/docs/manual/patch-policy.txt
@@ -134,6 +134,22 @@ AC_PROG_MAKE_SET
+AM_CONDITIONAL([CXX_WORKS], [test "x$rw_cv_prog_cxx_works" = "xyes"])
---------------
+==== Patches that change files with spaces in the name
+
+When a patch changes one or more files with space in the name and it
+was generated using +diff+ version 3.3 or any later, the patch must be
+edited to ensure it can applied using old versions of +patch+ (2.5.9,
+2.6 and 2.6.1).
+
+Remove the double quotes that +diff+ added around the filename.
+
+At the end, the edited patch should look like:
+
+---------------
+--- soil.org/projects/makefile/alternate Makefile.txt 2008-07-07 18:13:28.000000000 +0200
++++ soil/projects/makefile/alternate Makefile.txt 2015-11-07 11:15:04.140106336 +0100
+---------------
+
=== Integrating patches found on the Web
When integrating a patch of which you are not the author, you have to
--
1.9.1
More information about the buildroot
mailing list