Module Name:    src
Committed By:   uwe
Date:           Wed Feb 23 00:06:49 UTC 2022

Modified Files:
        src/external/mit/xorg/lib/libXi: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/mit/xorg/lib/libXi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libXi/Makefile
diff -u src/external/mit/xorg/lib/libXi/Makefile:1.14 src/external/mit/xorg/lib/libXi/Makefile:1.15
--- src/external/mit/xorg/lib/libXi/Makefile:1.14	Tue Feb 22 22:49:39 2022
+++ src/external/mit/xorg/lib/libXi/Makefile	Wed Feb 23 00:06:49 2022
@@ -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 @@ COPTS.XSndExEv.c+=	-Wno-error	# XXX
 
 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

Reply via email to