Source-Changes-HG archive

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

[src/trunk]: src/lib/libpam/libpam work around lint bug



details:   https://anonhg.NetBSD.org/src/rev/20fc4377d331
branches:  trunk
changeset: 1024733:20fc4377d331
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 01 12:26:18 2021 +0000

description:
work around lint bug

diffstat:

 lib/libpam/libpam/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 03d0429758ba -r 20fc4377d331 lib/libpam/libpam/Makefile
--- a/lib/libpam/libpam/Makefile        Mon Nov 01 11:46:50 2021 +0000
+++ b/lib/libpam/libpam/Makefile        Mon Nov 01 12:26:18 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2021/08/11 09:12:07 christos Exp $
+# $NetBSD: Makefile,v 1.29 2021/11/01 12:26:18 christos Exp $
 #-
 # Copyright (c) 1998 Juniper Networks, Inc.
 # All rights reserved.
@@ -54,6 +54,9 @@
 
 WARNS=         6
 LINTFLAGS+=    -w
+# XXX: lint bug: The enum contains an additional constant
+# for the number of values
+LINTFLAGS+= -X 348
 
 CPPFLAGS+= -DLIB_MAJ=${SHLIB_MAJOR} -DHAVE_CONFIG_H -I${.CURDIR}
 #CPPFLAGS+= -DOPENPAM_DEBUG



Home | Main Index | Thread Index | Old Index