From cd4a914224c7e882e2f875706ce4b05196e7427c Mon Sep 17 00:00:00 2001 From: lukem Date: Tue, 23 Sep 2003 10:59:18 +0000 Subject: [PATCH] use COPTS(|.file.c)=-Wno-error to work around the gcc 3.3 warning: ``warning: comparison is always true due to limited range of data type'' --- x11/lib/FS/Makefile | 4 +++- x11/lib/X11/Makefile.libx11 | 5 ++++- x11/lib/xlibi18n/im/Makefile | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/x11/lib/FS/Makefile b/x11/lib/FS/Makefile index e1753834323f..84907b3e6970 100644 --- a/x11/lib/FS/Makefile +++ b/x11/lib/FS/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/09/13 20:18:42 lukem Exp $ +# $NetBSD: Makefile,v 1.3 2003/09/23 10:59:18 lukem Exp $ NOPIC= 1 @@ -27,5 +27,7 @@ CPPFLAGS.FSOpenServ.c= $(CONN_DEFINES) CPPFLAGS.FSConnServ.c= $(CONN_DEFINES) $(SOCK_DEFINES) CPPFLAGS.transport.c= $(CONN_DEFINES) $(SOCK_DEFINES) +COPTS+= -Wno-error # XXX gcc 3.3 + .include .include diff --git a/x11/lib/X11/Makefile.libx11 b/x11/lib/X11/Makefile.libx11 index d348698c49c8..427dffd225a9 100644 --- a/x11/lib/X11/Makefile.libx11 +++ b/x11/lib/X11/Makefile.libx11 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.libx11,v 1.2 2003/09/20 06:20:52 lukem Exp $ +# $NetBSD: Makefile.libx11,v 1.3 2003/09/23 10:59:19 lukem Exp $ LIB= X11 .PATH: ${X11SRCDIR.xc}/lib/${LIB} @@ -120,6 +120,9 @@ CPPFLAGS.lcFile.c= $(XLC_DEFINES) $(SETID_DEFINES) CPPFLAGS.KeyBind.c= $(XKB_DEFINES) CPPFLAGS.XKBBind.c= $(XKB_DEFINES) CPPFLAGS.imConv.c= $(XKB_DEFINES) +COPTS.XKBAlloc.c= -Wno-error # XXX gcc 3.3 +COPTS.XKBMAlloc.c= -Wno-error # XXX gcc 3.3 +COPTS.imThaiFlt.c= -Wno-error # XXX gcc 3.3 BUILDSYMLINKS= transport.c x11trans.c \ transport.c ximtrans.c diff --git a/x11/lib/xlibi18n/im/Makefile b/x11/lib/xlibi18n/im/Makefile index 1bf08b9936e4..12bf942fbada 100644 --- a/x11/lib/xlibi18n/im/Makefile +++ b/x11/lib/xlibi18n/im/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2003/09/12 02:52:32 lukem Exp $ +# $NetBSD: Makefile,v 1.2 2003/09/23 10:59:19 lukem Exp $ LIB= ximcp SRCS= imCallbk.c imDefFlt.c imDefIc.c imDefIm.c imDefLkup.c \ @@ -9,5 +9,6 @@ SRCS= imCallbk.c imDefFlt.c imDefIc.c imDefIm.c imDefLkup.c \ CPPFLAGS.imTrans.c= ${X11FLAGS.CONNECTION} -DXIM_t -DTRANS_CLIENT CPPFLAGS.imTransR.c= ${X11FLAGS.CONNECTION} -DXIM_t -DTRANS_CLIENT +COPTS.imThaiFlt.c= -Wno-error # XXX gcc 3.3 .include "../Makefile.xlibi18n"