Source-Changes-HG archive

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

[src/trunk]: src/external/ibm-public/postfix Disable lint and explain why.



details:   https://anonhg.NetBSD.org/src/rev/6599187e5405
branches:  trunk
changeset: 1027652:6599187e5405
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 14 16:27:20 2021 +0000

description:
Disable lint and explain why.

diffstat:

 external/ibm-public/postfix/Makefile.inc |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 5ec510a4fa5f -r 6599187e5405 external/ibm-public/postfix/Makefile.inc
--- a/external/ibm-public/postfix/Makefile.inc  Tue Dec 14 16:25:11 2021 +0000
+++ b/external/ibm-public/postfix/Makefile.inc  Tue Dec 14 16:27:20 2021 +0000
@@ -1,4 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.29 2021/12/14 16:13:37 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.30 2021/12/14 16:27:20 christos Exp $
+
+# For now, don't lint:
+# 1. postfix uses 'struct { const char *name; int value } foo[] =
+#    { "n1", v1, "n2, v2", 0 };' and this is broken (should be fixed in lint)
+# 2. uses macros with extra ; (macros should be fixed)
+# 3. lint2 is broken (should be fixed in lint2)
+# 4. use use MKLINT:=no since this might have been included too late.
+MKLINT:=no
 
 .include <bsd.own.mk>
 



Home | Main Index | Thread Index | Old Index