Commit a5c91cf0 authored by fernape's avatar fernape
Browse files

net/widentd: Replace deprecated variable (fixes build)

PR:	253240
Submitted by:	portmaster@bsdforge.com (maintainer)
MFH:	2021Q
parent 800f8528
......@@ -3,6 +3,7 @@
PORTNAME= widentd
PORTVERSION= 1.04
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://BSDforge.com/projects/source/net/widentd/
......@@ -12,10 +13,15 @@ COMMENT= RFC1413 auth/identd daemon providing a fixed fake reply
LICENSE= BSD3CLAUSE
USES= ncurses uidfix tar:xz
USE_RC_SUBR= widentd
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
.include <bsd.port.mk>
.if ${OSREL:R} < 13
MAKE_ENV+=NO_WERROR=1
.else
MAKE_ENV+=MK_WERROR=no
.endif
--- widentd.c.orig 2015-02-24 19:27:09 UTC
+++ widentd.c
@@ -191,7 +191,7 @@ main(int argc, char **argv)
to.tv_sec = TIMEOUT;
to.tv_usec = 0;
- memset(buff, sizeof(buff), 0);
+ memset(buff, (0), sizeof(buff));
do {
int n;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment