Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2024 05:12:50 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: db3a524c8a96 - main - bsnmpd: FreeBSD has strlcpy(3)
Message-ID:  <202407160512.46G5CoBL056638@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=db3a524c8a965d3adcf03fe08b28b37f63e1126b

commit db3a524c8a965d3adcf03fe08b28b37f63e1126b
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2024-07-16 05:12:29 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2024-07-16 05:12:29 +0000

    bsnmpd: FreeBSD has strlcpy(3)
    
    Fixes the fortified build of bsnmp, which otherwise fails because of the
    shadowed declaration.
    
    Reviewed by:    kib (earlier version), markj
    Sponsored by:   Klara, Inc.
    Sponsored by:   Stormshield
    Differential Revision:  https://reviews.freebsd.org/D45976
---
 usr.sbin/bsnmpd/Makefile.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.sbin/bsnmpd/Makefile.inc b/usr.sbin/bsnmpd/Makefile.inc
index 876d6f891e7f..7f666307467c 100644
--- a/usr.sbin/bsnmpd/Makefile.inc
+++ b/usr.sbin/bsnmpd/Makefile.inc
@@ -1,2 +1,3 @@
+CFLAGS+=	-DHAVE_STRLCPY
 PACKAGE=	bsnmp
 .include "../Makefile.inc"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407160512.46G5CoBL056638>