Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib/libXi libXi: Fixup libmansuffix in man...



details:   https://anonhg.NetBSD.org/src/rev/00ddeec0b73f
branches:  trunk
changeset: 361997:00ddeec0b73f
user:      uwe <uwe%NetBSD.org@localhost>
date:      Wed Feb 23 00:06:49 2022 +0000

description:
libXi: Fixup libmansuffix in manual pages.

The manpages use unadorned libmansuffix instead of __libmansuffix__ or
@libmansuffix@ that the standard transformations handle.

Add ad-hoc s/// command for it.  It has "3" hardcoded because there's
no easy way to look up that mapping, but then that very same "3" is
hardcoded in the file names anyway.

diffstat:

 external/mit/xorg/lib/libXi/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 6efa14572f31 -r 00ddeec0b73f external/mit/xorg/lib/libXi/Makefile
--- a/external/mit/xorg/lib/libXi/Makefile      Tue Feb 22 22:49:39 2022 +0000
+++ b/external/mit/xorg/lib/libXi/Makefile      Wed Feb 23 00:06:49 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2022/02/22 22:49:39 uwe Exp $
+#      $NetBSD: Makefile,v 1.15 2022/02/23 00:06:49 uwe Exp $
 
 .include <bsd.own.mk>
 
@@ -84,6 +84,9 @@
 
 CWARNFLAGS.clang+=     -Wno-pointer-sign
 
+# libXi does not use __libmansuffix__ or @libmansuffix@ in its man pages
+X11EXTRAMANDEFS = -e 's,libmansuffix,3,g'
+
 # X Input v1 man pages
 MAN +=         XAllowDeviceEvents.3
 MAN +=         XChangeDeviceDontPropagateList.3



Home | Main Index | Thread Index | Old Index