[Bug 257866] security/sssd: Build fails compiling nss_sha512crypt.c: static declaration of 'mempcpy' follows non-static declaration

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Oct 2021 10:58:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257866

Richard Frewin <Richard@FrewinIT.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Richard@FrewinIT.uk

--- Comment #4 from Richard Frewin <Richard@FrewinIT.uk> ---
Created attachment 228718
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228718&action=edit
Modified fix for this bug and Bug 258898

(In reply to Mikhail Teterin from comment #3)

For me the test in configure.ac always succeeds using poudriere on 12.2 with a
12.2 jail (even though 12.2 does not have mempcpy). I think the compile results
only in a warning as it looks like -Werror is not set by default.

Attached is a patch that combines my modification of this fix with a patch from
Bug 258898 for the package failure.

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