svn commit: r566450 - in branches/2021Q1/net/widentd: . files
Fernando Apesteguía
fernape at FreeBSD.org
Wed Feb 24 06:31:06 UTC 2021
Author: fernape
Date: Wed Feb 24 06:31:05 2021
New Revision: 566450
URL: https://svnweb.freebsd.org/changeset/ports/566450
Log:
MFH: r566449
net/widentd: Replace deprecated variable (fixes build)
PR: 253240
Submitted by: portmaster at bsdforge.com (maintainer)
Added:
branches/2021Q1/net/widentd/files/patch-widentd.c
- copied unchanged from r566449, head/net/widentd/files/patch-widentd.c
Modified:
branches/2021Q1/net/widentd/Makefile
Directory Properties:
branches/2021Q1/ (props changed)
Modified: branches/2021Q1/net/widentd/Makefile
==============================================================================
--- branches/2021Q1/net/widentd/Makefile Wed Feb 24 06:29:21 2021 (r566449)
+++ branches/2021Q1/net/widentd/Makefile Wed Feb 24 06:31:05 2021 (r566450)
@@ -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
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
Copied: branches/2021Q1/net/widentd/files/patch-widentd.c (from r566449, head/net/widentd/files/patch-widentd.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2021Q1/net/widentd/files/patch-widentd.c Wed Feb 24 06:31:05 2021 (r566450, copy of r566449, head/net/widentd/files/patch-widentd.c)
@@ -0,0 +1,11 @@
+--- 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;
+
More information about the svn-ports-branches
mailing list