From owner-svn-src-all@FreeBSD.ORG Sat Dec 31 15:03:30 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65EAC106566C; Sat, 31 Dec 2011 15:03:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 451848FC08; Sat, 31 Dec 2011 15:03:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pBVF3UQS069824; Sat, 31 Dec 2011 15:03:30 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBVF3UHu069818; Sat, 31 Dec 2011 15:03:30 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112311503.pBVF3UHu069818@svn.freebsd.org> From: Dimitry Andric Date: Sat, 31 Dec 2011 15:03:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r229112 - in stable/9: lib/libsm libexec/mail.local libexec/smrsh usr.bin/vacation usr.sbin/sendmail X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 15:03:30 -0000 Author: dim Date: Sat Dec 31 15:03:29 2011 New Revision: 229112 URL: http://svn.freebsd.org/changeset/base/229112 Log: MFC r228558, r228585, r228588, r228652, r228707: Unfortunately, clang gives warnings about sendmail code that cannot be turned off yet. Since this is contrib code, and we don't really care about the warnings, just make them non-fatal for now. MFC r228590: Fix typos in the comments about clang warnings in several sendmail-related Makefiles. Spotted by: arundel MFC r228708: In usr.bin/vacation/Makefile, fix a typo in the comment about clang warnings. Spotted by: arundel Modified: stable/9/lib/libsm/Makefile stable/9/libexec/mail.local/Makefile stable/9/libexec/smrsh/Makefile stable/9/usr.bin/vacation/Makefile stable/9/usr.sbin/sendmail/Makefile Directory Properties: stable/9/lib/libsm/ (props changed) stable/9/libexec/mail.local/ (props changed) stable/9/libexec/smrsh/ (props changed) stable/9/usr.bin/vacation/ (props changed) stable/9/usr.sbin/sendmail/ (props changed) Modified: stable/9/lib/libsm/Makefile ============================================================================== --- stable/9/lib/libsm/Makefile Sat Dec 31 14:57:52 2011 (r229111) +++ stable/9/lib/libsm/Makefile Sat Dec 31 15:03:29 2011 (r229112) @@ -18,6 +18,13 @@ CFLAGS+=${SENDMAIL_CFLAGS} WARNS?= 2 +.if ${CC:T:Mclang} == "clang" +# Unfortunately, clang gives warnings about sendmail code that cannot +# be turned off yet. Since this is contrib code, and we don't really +# care about the warnings, just make them non-fatal for now. +NO_WERROR= +.endif + LIB= sm SRCS+= sm_os.h Modified: stable/9/libexec/mail.local/Makefile ============================================================================== --- stable/9/libexec/mail.local/Makefile Sat Dec 31 14:57:52 2011 (r229111) +++ stable/9/libexec/mail.local/Makefile Sat Dec 31 15:03:29 2011 (r229112) @@ -12,6 +12,13 @@ CFLAGS+=-I${SENDMAIL_DIR}/include -I. WARNS?= 2 WFORMAT=0 +.if ${CC:T:Mclang} == "clang" +# Unfortunately, clang gives warnings about sendmail code that cannot +# be turned off yet. Since this is contrib code, and we don't really +# care about the warnings, just make them non-fatal for now. +NO_WERROR= +.endif + LIBSMDIR= ${.OBJDIR}/../../lib/libsm LIBSM= ${LIBSMDIR}/libsm.a Modified: stable/9/libexec/smrsh/Makefile ============================================================================== --- stable/9/libexec/smrsh/Makefile Sat Dec 31 14:57:52 2011 (r229111) +++ stable/9/libexec/smrsh/Makefile Sat Dec 31 15:03:29 2011 (r229112) @@ -17,6 +17,13 @@ LDADD= ${LIBSM} WARNS?= 2 +.if ${CC:T:Mclang} == "clang" +# Unfortunately, clang gives warnings about sendmail code that cannot +# be turned off yet. Since this is contrib code, and we don't really +# care about the warnings, just make them non-fatal for now. +NO_WERROR= +.endif + SRCS+= sm_os.h CLEANFILES+=sm_os.h Modified: stable/9/usr.bin/vacation/Makefile ============================================================================== --- stable/9/usr.bin/vacation/Makefile Sat Dec 31 14:57:52 2011 (r229111) +++ stable/9/usr.bin/vacation/Makefile Sat Dec 31 15:03:29 2011 (r229112) @@ -11,6 +11,13 @@ CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG WARNS?= 2 +.if ${CC:T:Mclang} == "clang" +# Unfortunately, clang gives warnings about sendmail code that cannot +# be turned off yet. Since this is contrib code, and we don't really +# care about the warnings, just make them non-fatal for now. +NO_WERROR= +.endif + LIBSMDIR= ${.OBJDIR}/../../lib/libsm LIBSM= ${LIBSMDIR}/libsm.a Modified: stable/9/usr.sbin/sendmail/Makefile ============================================================================== --- stable/9/usr.sbin/sendmail/Makefile Sat Dec 31 14:57:52 2011 (r229111) +++ stable/9/usr.sbin/sendmail/Makefile Sat Dec 31 15:03:29 2011 (r229112) @@ -45,6 +45,13 @@ CFLAGS+= -DNETINET6 WARNS?= 1 +.if ${CC:T:Mclang} == "clang" +# Unfortunately, clang gives warnings about sendmail code that cannot +# be turned off yet. Since this is contrib code, and we don't really +# care about the warnings, just make them non-fatal for now. +NO_WERROR= +.endif + DPADD= ${LIBUTIL} ${LIBWRAP} LDADD= -lutil -lwrap