View | Details | Raw Unified | Return to bug 253240 | Differences between
and this patch

Collapse All | Expand All

(-)widentd/Makefile (-1 / +7 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	widentd
4
PORTNAME=	widentd
5
PORTVERSION=	1.04
5
PORTVERSION=	1.04
6
PORTREVISION=	1
6
CATEGORIES=	net
7
CATEGORIES=	net
7
MASTER_SITES=	https://BSDforge.com/projects/source/net/widentd/
8
MASTER_SITES=	https://BSDforge.com/projects/source/net/widentd/
8
9
Lines 13-21 Link Here
13
14
14
USES=		ncurses uidfix tar:xz
15
USES=		ncurses uidfix tar:xz
15
MAKE_ENV+=	BINDIR="${PREFIX}/sbin" MANDIR="${PREFIX}/man/man"
16
MAKE_ENV+=	BINDIR="${PREFIX}/sbin" MANDIR="${PREFIX}/man/man"
16
MAKE_ENV+=	NO_WERROR="defined"
17
17
18
PLIST_FILES=	sbin/widentd man/man8/widentd.8.gz
18
PLIST_FILES=	sbin/widentd man/man8/widentd.8.gz
19
USE_RC_SUBR=	widentd
19
USE_RC_SUBR=	widentd
20
20
21
.include <bsd.port.mk>
21
.include <bsd.port.mk>
22
23
.if ${OSREL:R} < 13
24
MAKE_ENV+=NO_WERROR=1
25
.else
26
MAKE_ENV+=MK_WERROR=no
27
.endif
(-)widentd/files/patch-widentd.c (+11 lines)
Line 0 Link Here
1
--- widentd.c.orig	2021-02-23 08:59:14.998576000 -0800
2
+++ widentd.c	2021-02-23 08:59:46.186246000 -0800
3
@@ -191,7 +191,7 @@
4
 
5
 		to.tv_sec = TIMEOUT;
6
 		to.tv_usec = 0;
7
-		memset(buff, sizeof(buff), 0);
8
+		memset(buff, (0), sizeof(buff));
9
 		do {
10
 			int             n;
11
 

Return to bug 253240