FreeBSD Bugzilla – Attachment 222762 Details for
Bug 253240
net/widentd: Replace deprecated variable (fixes build)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff against net/widentd
net_widentd03.diff (text/plain), 1.13 KB, created by
Chris Hutchinson
on 2021-02-23 17:21:42 UTC
(
hide
)
Description:
svn diff against net/widentd
Filename:
MIME Type:
Creator:
Chris Hutchinson
Created:
2021-02-23 17:21:42 UTC
Size:
1.13 KB
patch
obsolete
>Index: widentd/Makefile >=================================================================== >--- widentd/Makefile (revision 561698) >+++ widentd/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= widentd > PORTVERSION= 1.04 >+PORTREVISION= 1 > CATEGORIES= net > MASTER_SITES= https://BSDforge.com/projects/source/net/widentd/ > >@@ -13,9 +14,14 @@ > > USES= ncurses 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 > > .include <bsd.port.mk> >+ >+.if ${OSREL:R} < 13 >+MAKE_ENV+=NO_WERROR=1 >+.else >+MAKE_ENV+=MK_WERROR=no >+.endif >Index: widentd/files/patch-widentd.c >=================================================================== >--- widentd/files/patch-widentd.c (nonexistent) >+++ widentd/files/patch-widentd.c (working copy) >@@ -0,0 +1,11 @@ >+--- widentd.c.orig 2021-02-23 08:59:14.998576000 -0800 >++++ widentd.c 2021-02-23 08:59:46.186246000 -0800 >+@@ -191,7 +191,7 @@ >+ >+ to.tv_sec = TIMEOUT; >+ to.tv_usec = 0; >+- memset(buff, sizeof(buff), 0); >++ memset(buff, (0), sizeof(buff)); >+ do { >+ int n; >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
portmaster
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 253240
:
222154
|
222372
|
222745
| 222762 |
222764