man-page-sections.patch revision 1625
1625N/AFrom 8b92f46ab371ec51dac2b73c768173cd63126402 Mon Sep 17 00:00:00 2001
1625N/AFrom: Alan Coopersmith <alan.coopersmith@oracle.com>
1625N/ADate: Tue, 27 Oct 2015 16:19:51 -0700
1625N/ASubject: [PATCH:macros 1/2] XORG_MANPAGE_SECTIONS: limit SysV man page
1625N/A sections to Solaris 2.0-11
1625N/A
1625N/AAll others (including other SunOS/Solaris releases) use the
1625N/Atraditional Bell Labs / BSD / Linux section numbering.
1625N/A
1625N/A(The [[01]] is an m4-quoted shell character set of "[01]" to make sure
1625N/A autoconf doesn't lose the [] when generating the configure script.)
1625N/A
1625N/ASigned-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1625N/AReviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1625N/A---
1625N/A xorg-macros.m4.in | 22 +++++++++++++---------
1625N/A 1 file changed, 13 insertions(+), 9 deletions(-)
1625N/A
1625N/Adiff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
1625N/Aindex f160a40..9b3c503 100644
1625N/A--- a/xorg-macros.m4.in
1625N/A+++ b/xorg-macros.m4.in
1625N/A@@ -1,6 +1,6 @@
1625N/A dnl @configure_input@
1625N/A dnl
1625N/A-dnl Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
1625N/A+dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
1625N/A dnl
1625N/A dnl Permission is hereby granted, free of charge, to any person obtaining a
1625N/A dnl copy of this software and associated documentation files (the "Software"),
1625N/A@@ -130,8 +130,9 @@ fi
1625N/A
1625N/A if test x$FILE_MAN_SUFFIX = x ; then
1625N/A case $host_os in
1625N/A- solaris*) FILE_MAN_SUFFIX=4 ;;
1625N/A- *) FILE_MAN_SUFFIX=5 ;;
1625N/A+ # Solaris 2.0 - 11 use SysV man page sections
1625N/A+ solaris2.?|solaris2.1[[01]]) FILE_MAN_SUFFIX=4 ;;
1625N/A+ *) FILE_MAN_SUFFIX=5 ;;
1625N/A esac
1625N/A fi
1625N/A if test x$FILE_MAN_DIR = x ; then
1625N/A@@ -140,8 +141,9 @@ fi
1625N/A
1625N/A if test x$MISC_MAN_SUFFIX = x ; then
1625N/A case $host_os in
1625N/A- solaris*) MISC_MAN_SUFFIX=5 ;;
1625N/A- *) MISC_MAN_SUFFIX=7 ;;
1625N/A+ # Solaris 2.0 - 11 use SysV man page sections
1625N/A+ solaris2.?|solaris2.1[[01]]) MISC_MAN_SUFFIX=5 ;;
1625N/A+ *) MISC_MAN_SUFFIX=7 ;;
1625N/A esac
1625N/A fi
1625N/A if test x$MISC_MAN_DIR = x ; then
1625N/A@@ -150,8 +152,9 @@ fi
1625N/A
1625N/A if test x$DRIVER_MAN_SUFFIX = x ; then
1625N/A case $host_os in
1625N/A- solaris*) DRIVER_MAN_SUFFIX=7 ;;
1625N/A- *) DRIVER_MAN_SUFFIX=4 ;;
1625N/A+ # Solaris 2.0 - 11 use SysV man page sections
1625N/A+ solaris2.?|solaris2.1[[01]]) DRIVER_MAN_SUFFIX=7 ;;
1625N/A+ *) DRIVER_MAN_SUFFIX=4 ;;
1625N/A esac
1625N/A fi
1625N/A if test x$DRIVER_MAN_DIR = x ; then
1625N/A@@ -160,8 +163,9 @@ fi
1625N/A
1625N/A if test x$ADMIN_MAN_SUFFIX = x ; then
1625N/A case $host_os in
1625N/A- solaris*) ADMIN_MAN_SUFFIX=1m ;;
1625N/A- *) ADMIN_MAN_SUFFIX=8 ;;
1625N/A+ # Solaris 2.0 - 11 use SysV man page sections
1625N/A+ solaris2.?|solaris2.1[[01]]) ADMIN_MAN_SUFFIX=1m ;;
1625N/A+ *) ADMIN_MAN_SUFFIX=8 ;;
1625N/A esac
1625N/A fi
1625N/A if test x$ADMIN_MAN_DIR = x ; then
1625N/A--
1625N/A2.7.4
1625N/A