svn commit: r382958 - head/net/widentd

John Marino marino at FreeBSD.org
Wed Apr 1 21:19:35 UTC 2015


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


More information about the svn-ports-head mailing list