git: 6b151ad1c83a - stable/14 - timeout(1): Update STANDARDS section

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Fri, 18 Oct 2024 06:57:08 UTC
The branch stable/14 has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=6b151ad1c83ae66156bd02badd6ee65be1728cfc

commit 6b151ad1c83ae66156bd02badd6ee65be1728cfc
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-09-24 16:42:18 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-10-18 06:56:48 +0000

    timeout(1): Update STANDARDS section
    
    Update the STANDARDS section for timeout(1) to
    POSIX 1003.1-2024.
    
    Update mandoc to be able to render the
    new POSIX macro.
    
    Reviewed by:    bapt, bcr
    Approved by:    bapt
    Obtained from:  OpenBSD
    Differential Revision:  https://reviews.freebsd.org/D45691
    
    (cherry picked from commit 044f94adff55f13130f03c0c170fa879c8febb5b)
---
 bin/timeout/timeout.1 | 8 +++++++-
 contrib/mandoc/st.c   | 1 +
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/bin/timeout/timeout.1 b/bin/timeout/timeout.1
index 9e624e809376..10e5fd70c393 100644
--- a/bin/timeout/timeout.1
+++ b/bin/timeout/timeout.1
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd June 26, 2023
+.Dd June 17, 2024
 .Dt TIMEOUT 1
 .Os
 .Sh NAME
@@ -195,6 +195,12 @@ $ timeout -k 5s 1m fetch \\
 .Xr nohup 1 ,
 .Xr signal 3 ,
 .Xr daemon 8
+.Sh STANDARDS
+The
+.Nm
+utility is compliant with the
+.St -p1003.1-2024
+specification.
 .Sh HISTORY
 The
 .Nm
diff --git a/contrib/mandoc/st.c b/contrib/mandoc/st.c
index ec754cc036f2..266df0081a95 100644
--- a/contrib/mandoc/st.c
+++ b/contrib/mandoc/st.c
@@ -37,6 +37,7 @@ LINE("-p1003.1-96",	"ISO/IEC 9945-1:1996 (\\(lqPOSIX.1\\(rq)")
 LINE("-p1003.1-2001",	"IEEE Std 1003.1-2001 (\\(lqPOSIX.1\\(rq)")
 LINE("-p1003.1-2004",	"IEEE Std 1003.1-2004 (\\(lqPOSIX.1\\(rq)")
 LINE("-p1003.1-2008",	"IEEE Std 1003.1-2008 (\\(lqPOSIX.1\\(rq)")
+LINE("-p1003.1-2024",	"IEEE Std 1003.1-2024 (\\(lqPOSIX.1\\(rq)")
 LINE("-p1003.1-2013",	"IEEE Std 1003.1-2008, 2013 Edition (\\(LqPOSIX.1\\(Rq)")
 LINE("-p1003.1-2016",	"IEEE Std 1003.1-2008, 2016 Edition (\\(LqPOSIX.1\\(Rq)")
 LINE("-p1003.1",	"IEEE Std 1003.1 (\\(lqPOSIX.1\\(rq)")