From owner-svn-src-stable-8@FreeBSD.ORG Fri Feb 20 05:23:54 2015 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1970F21; Fri, 20 Feb 2015 05:23:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C31B099; Fri, 20 Feb 2015 05:23:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1K5NrH4038834; Fri, 20 Feb 2015 05:23:53 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1K5NqSt038826; Fri, 20 Feb 2015 05:23:52 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201502200523.t1K5NqSt038826@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Fri, 20 Feb 2015 05:23:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r279041 - in stable/8: sbin/hastctl sbin/hastd usr.bin/mklocale usr.sbin/bsnmpd/modules usr.sbin/config X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2015 05:23:54 -0000 Author: ian Date: Fri Feb 20 05:23:51 2015 New Revision: 279041 URL: https://svnweb.freebsd.org/changeset/base/279041 Log: Lower some WARNS from 6 to 5 to eliminate redundant redeclaration errors on yylex(). This allows stable-8 to build on machines running 10 or later (with a newer yacc that emits its own declaration) and also keep building on older machines with a yacc that doesn't do so. This is a direct commit to stable-8 because it fixes a problem that doesn't exist on later branches. Modified: stable/8/sbin/hastctl/Makefile stable/8/sbin/hastd/Makefile stable/8/usr.bin/mklocale/Makefile stable/8/usr.sbin/bsnmpd/modules/Makefile.inc stable/8/usr.sbin/config/Makefile Modified: stable/8/sbin/hastctl/Makefile ============================================================================== --- stable/8/sbin/hastctl/Makefile Fri Feb 20 05:17:24 2015 (r279040) +++ stable/8/sbin/hastctl/Makefile Fri Feb 20 05:23:51 2015 (r279041) @@ -17,7 +17,9 @@ SRCS+= proto.c proto_common.c proto_uds. SRCS+= token.l SRCS+= subr.c SRCS+= y.tab.h -WARNS?= 6 +.warning WARNS is ${WARNS} +WARNS?= 5 +.warning WARNS is now ${WARNS} MAN= hastctl.8 NO_WFORMAT= Modified: stable/8/sbin/hastd/Makefile ============================================================================== --- stable/8/sbin/hastd/Makefile Fri Feb 20 05:17:24 2015 (r279040) +++ stable/8/sbin/hastd/Makefile Fri Feb 20 05:23:51 2015 (r279041) @@ -17,7 +17,9 @@ SRCS+= rangelock.c SRCS+= subr.c SRCS+= token.l SRCS+= y.tab.h -WARNS?= 6 +.warning WARNS is ${WARNS} +WARNS?= 5 +.warning WARNS is now ${WARNS} MAN= hastd.8 hast.conf.5 NO_WFORMAT= Modified: stable/8/usr.bin/mklocale/Makefile ============================================================================== --- stable/8/usr.bin/mklocale/Makefile Fri Feb 20 05:17:24 2015 (r279040) +++ stable/8/usr.bin/mklocale/Makefile Fri Feb 20 05:23:51 2015 (r279041) @@ -2,7 +2,7 @@ # $FreeBSD$ PROG= mklocale -WARNS?= 6 +WARNS?= 5 SRCS= yacc.y lex.l y.tab.h CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/locale Modified: stable/8/usr.sbin/bsnmpd/modules/Makefile.inc ============================================================================== --- stable/8/usr.sbin/bsnmpd/modules/Makefile.inc Fri Feb 20 05:17:24 2015 (r279040) +++ stable/8/usr.sbin/bsnmpd/modules/Makefile.inc Fri Feb 20 05:23:51 2015 (r279041) @@ -1,7 +1,7 @@ # $FreeBSD$ SHLIB_MAJOR= 6 -WARNS?= 6 +WARNS?= 5 MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \ -e 's%@DEFPATH@%${DEFSDIR}/%g' \ Modified: stable/8/usr.sbin/config/Makefile ============================================================================== --- stable/8/usr.sbin/config/Makefile Fri Feb 20 05:17:24 2015 (r279040) +++ stable/8/usr.sbin/config/Makefile Fri Feb 20 05:23:51 2015 (r279041) @@ -9,7 +9,7 @@ SRCS= config.y main.c lang.l mkmakefile. kernconf.c: kernconf.tmpl file2c 'char kernconfstr[] = {' ',0};' < ${.CURDIR}/kernconf.tmpl > kernconf.c -WARNS?= 6 +WARNS?= 5 CFLAGS+= -I. -I${.CURDIR} DPADD= ${LIBL} ${LIBSBUF}