[Bug 260216] devel/libgit2 1.3.0 fails to build, error: static declaration of 'HMAC_CTX_cleanup' follows non-static declaration

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 04 Dec 2021 14:24:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260216

            Bug ID: 260216
           Summary: devel/libgit2 1.3.0 fails to build, error: static
                    declaration of 'HMAC_CTX_cleanup' follows non-static
                    declaration
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mfechner@FreeBSD.org
          Reporter: lysfjord.daniel@smokepit.net
             Flags: maintainer-feedback?(mfechner@FreeBSD.org)
          Assignee: mfechner@FreeBSD.org
 Attachment #229894 text/plain
         mime type:

Created attachment 229894
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229894&action=edit
poudriere build log for devel/libgit2-1.3.0

libgit2-1.3.0 fails to build, probably due to DEFAULT_VERSIONS+= ssl=libressl,
with the following error:

/wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.3.0/deps/ntlmclient/crypt_openssl.c:49:20:
error: static declaration of 'HMAC_CTX_cleanup' follows non-static declaration
static inline void HMAC_CTX_cleanup(HMAC_CTX *ctx)
                   ^
/usr/local/include/openssl/hmac.h:90:6: note: previous declaration is here
void HMAC_CTX_cleanup(HMAC_CTX *ctx);
     ^
Attached is build log from poudriere.

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