pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/xlog ham/xlog: Add another warning workaround



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2e958c29faf
branches:  trunk
changeset: 446136:b2e958c29faf
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Feb 04 19:21:48 2021 +0000

description:
ham/xlog: Add another warning workaround

(Upstream sources do not compile cleanly under clang.)

diffstat:

 ham/xlog/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 1456addb4a99 -r b2e958c29faf ham/xlog/Makefile
--- a/ham/xlog/Makefile Thu Feb 04 18:13:47 2021 +0000
+++ b/ham/xlog/Makefile Thu Feb 04 19:21:48 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2021/02/04 14:10:07 gdt Exp $
+# $NetBSD: Makefile,v 1.93 2021/02/04 19:21:48 gdt Exp $
 #
 
 DISTNAME=      xlog-2.0.20
@@ -19,8 +19,8 @@
 .include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mclang)
 BUILDLINK_TRANSFORM+=  rm:-Wno-unused-but-set-variable
-_WRAP_EXTRA_ARGS.CC+=  -Wno-error=parentheses-equality -Wno-error=tautological-compare -Wno-unknown-warning-option -Wno-deprecated-declarations
-CWRAPPERS_APPEND.cc+=  -Wno-error=parentheses-equality -Wno-error=tautological-compare -Wno-unknown-warning-option -Wno-deprecated-declarations
+_WRAP_EXTRA_ARGS.CC+=  -Wno-error=parentheses-equality -Wno-error=tautological-compare -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-uninitialized
+CWRAPPERS_APPEND.cc+=  -Wno-error=parentheses-equality -Wno-error=tautological-compare -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-uninitialized
 .endif
 
 # Problematic with 5.5.0 on netbsd-8.



Home | Main Index | Thread Index | Old Index