Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2021 20:41:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257866] security/sssd: Build fails compiling nss_sha512crypt.c: static declaration of 'mempcpy' follows non-static declaration
Message-ID:  <bug-257866-7788-1XIOFqLa0f@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257866-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257866-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257866

Mikhail Teterin <mi@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mi@FreeBSD.org
 Attachment #228679|                            |maintainer-approval?
              Flags|                            |

--- Comment #3 from Mikhail Teterin <mi@FreeBSD.org> ---
Created attachment 228679
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D228679&action=
=3Dedit
Check for mempcpy

The root cause of the problem is that FreeBSD-13.0 has mempcpy(3) in libc --
and declared in <string.h>, whereas the earlier versions did not.

There are several other ports affected -- chromium among them (Bug #257352).
The earlier solutions simply grep-ed /usr/include/string.h for mempcpy.

Here I'm offering a different approach -- test for the function's using
configure. It has the advantage of being (potentially) acceptable upstream.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257866-7788-1XIOFqLa0f>