Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 21:19:34 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382958 - head/net/widentd
Message-ID:  <201504012119.t31LJYL6010276@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Apr  1 21:19:33 2015
New Revision: 382958
URL: https://svnweb.freebsd.org/changeset/ports/382958

Log:
  net/widentd: disable -Werror
  
  On gcc, this warning is given:
  
  widentd.c: In function 'main':
  widentd.c:194:3: error: 'memset' used with constant zero length parameter;
    this could be due to transposed parameters
    [-Werror=memset-transposed-args]
     memset(buff, sizeof(buff), 0);
     ^
  
  Removing -Werror is blanket-approved.  This is another port that uses
  <bsd.prog.mk> instead of providing an independent makefile, so the
  -Werror is coming from the system build framework.

Modified:
  head/net/widentd/Makefile

Modified: head/net/widentd/Makefile
==============================================================================
--- head/net/widentd/Makefile	Wed Apr  1 21:17:51 2015	(r382957)
+++ head/net/widentd/Makefile	Wed Apr  1 21:19:33 2015	(r382958)
@@ -13,6 +13,7 @@ LICENSE=	BSD3CLAUSE
 
 USES=		uidfix tar:xz
 MAKE_ENV+=	BINDIR="${PREFIX}/sbin" MANDIR="${PREFIX}/man/man"
+MAKE_ENV+=	NO_WERROR="defined"
 
 PLIST_FILES=	sbin/widentd man/man8/widentd.8.gz
 USE_RC_SUBR=	widentd



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504012119.t31LJYL6010276>