[Bug 260098] usr.sbin/syslogd ld: error: undefined symbol: iovlist_truncate WITHOUT_<alll> build options

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Nov 2021 15:12:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260098

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

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

commit 23566768d92aed2a59d3e5d9392824cbe83b867f
Author:     Artem Khramov <akhramov@pm.me>
AuthorDate: 2021-06-12 17:21:13 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-11-29 15:10:53 +0000

    syslogd: fix WITHOUT_INET builds

    Since 2d82b47 syslogd can't be built with `WITHOUT_INET` or
    `WITHOUT_INET6` build variables set, because `iovlist_truncate` is not
    defined but used.

    This change wraps the problematic `iovlist_truncate` call within ifdef
    directive.  It's compiled out in this situation...

    Pull Request:   https://github.com/freebsd/freebsd-src/pull/475
    Reviewed by:    imp@ (commit message slightly tweaked)

    (cherry picked from commit f06fa6f88733d709a5f9dd3a27b1a08571e49e6b)

    PR:             260098

 usr.sbin/syslogd/syslogd.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.