commit: 71044ab300d054f295adfbda61112d8abc8e4368 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jan 8 03:48:16 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 8 03:48:16 2022 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=71044ab3
README*: modernise a bit Signed-off-by: Sam James <sam <AT> gentoo.org> README | 5 +++-- README.Gentoo.patches | 12 ++++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README b/README index 12357f1..5a5d70b 100644 --- a/README +++ b/README @@ -16,8 +16,9 @@ Naming Documention ----------- All patches need a header describing what the patch does, where it came from, -and all relevent URLs. Read http://dev.gentoo.org/~vapier/clean-patches and -in particular use scrub_patch() or face the wrath. +and all relevent URLs. Read https://dev.gentoo.org/~vapier/clean-patches (or +https://devmanual.gentoo.org/ebuild-writing/misc-files/patches/index.html#clean-patch-howto) +and in particular use scrub_patch() or face the wrath. Update README.history whenever you add (+), remove (-), or update (U) a patch. diff --git a/README.Gentoo.patches b/README.Gentoo.patches index 0463ad7..c6d3511 100644 --- a/README.Gentoo.patches +++ b/README.Gentoo.patches @@ -3,11 +3,11 @@ ================ Gentoo patchsets that have grown too large to keep on the rsync mirrors have -been moved to our cvs tree. From there, we bundle up all the whee little +been moved to our git tree. From there, we bundle up all the wee little patches into a tarball and distribute it via our public mirroring system. If you want specific info about a patch (like wtf it does or whose great idea -it was to change the code), read the patch ! We try to fill out the top of +it was to change the code), read the patch! We try to fill out the top of them with useful info such as what it does, why it's needed, bug reports, original creators, etc. @@ -25,13 +25,9 @@ read-write git tree: git+ssh://g...@git.gentoo.org/proj/gcc-patches.git The patch naming/applying convention might be a little confusing to the Gentoo outsider, so here's a quick rundown. Patch tarballs are applied in Gentoo via -a helper command called "epatch". This command is pretty forgiving when it -comes to applying patches. +a helper command called "eapply". -For example, it will autodetect the required -p# by starting at 0 and counting -up until things apply. So do not expect a patch series to all be at the same -p -level even if they all apply from the same source directory. Typically however, -people will use -p0 or -p1. +Patches should use -p1. The epatch command will also use the -E option by default as the `patch` command can be pretty picky about removing files. We just force the issue. If you