commit:     617268dc04e273b738008cba32d1c44d2338cad0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 28 17:50:56 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Oct  9 17:15:26 2017 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=617268dc

EAPI 7 requires GNU patch 2.7.

Bug: https://bugs.gentoo.org/593786

 commands.tex         | 13 ++++++++-----
 eapi-differences.tex |  4 ++++
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/commands.tex b/commands.tex
index 86b4232..5ba9626 100644
--- a/commands.tex
+++ b/commands.tex
@@ -26,7 +26,8 @@ The following commands must always be available in the ebuild 
environment:
     page~\pageref{tab:bash-version}.
 \item \t{sed} must be available, and must support all forms of invocations 
valid for GNU sed
     version 4 or later.
-\item \t{patch} must be available, and must support all inputs valid for GNU 
patch.
+\item \featurelabel{gnu-patch} \t{patch} must be available, and must support 
all inputs valid
+    for GNU patch, version as listed in table~\ref{tab:system-commands-table}.
 \item \featurelabel{gnu-find} \t{find} and \t{xargs} must be available, and 
must support all forms
     of invocations valid for GNU findutils version 4.4 or later. Only for 
EAPIs listed in
     table~\ref{tab:system-commands-table} as requiring GNU find.
@@ -35,13 +36,15 @@ The following commands must always be available in the 
ebuild environment:
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{System commands for EAPIs}
     \label{tab:system-commands-table}
-    \begin{tabular}{ll}
+    \begin{tabular}{lll}
       \toprule
       \multicolumn{1}{c}{\textbf{EAPI}} &
-      \multicolumn{1}{c}{\textbf{GNU \t{find}?}} \\
+      \multicolumn{1}{c}{\textbf{GNU \t{find}?}} &
+      \multicolumn{1}{c}{\textbf{GNU \t{patch} version}} \\
       \midrule
-      0, 1, 2, 3, 4     & Undefined \\
-      5, 6, 7           & Yes       \\
+      0, 1, 2, 3, 4     & Undefined & Any \\
+      5, 6              & Yes       & Any \\
+      7                 & Yes       & 2.7 \\
       \bottomrule
     \end{tabular}
 \end{centertable}

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 49e6be9..f7f6b51 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+GNU patch version & \compactfeatureref{gnu-patch} &
+    Any & Any & Any & Any & 2.7 \\
+
 Trailing slash in \t{ROOT}, \t{D}... & \compactfeatureref{trailing-slash} &
     Yes & Yes & Yes & Yes & No \\
 
@@ -400,6 +403,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item Output commands can no longer use stdout, \featureref{output-no-stdout}.
 \item \t{ROOT}, \t{EROOT}, \t{D}, \t{ED} no longer end with a trailing slash,
     \featureref{trailing-slash}.
+\item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

Reply via email to