[Bug 257938] net/bsdec2-image-upload: fix build with libressl >= 3.3.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Aug 2021 07:01:36 +0000

            Bug ID: 257938
           Summary: net/bsdec2-image-upload: fix build with libressl >=
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: cperciva_at_FreeBSD.org
          Reporter: tphilipp_at_potion-studios.com
          Assignee: cperciva_at_FreeBSD.org
             Flags: maintainer-feedback?(cperciva_at_FreeBSD.org)
 Attachment #227318 text/plain
         mime type:

Created attachment 227318
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227318&action=edit
tiny #ifdef version check patch

Heya Colin,

libressl 3.3.2 introduced SSL_set_hostflags(), which conflicts with the one you
provided in sslreq.c for versions that don't have it. Attached is a patch to
fix the build for when using bsdec2-image-upload with libressl >= 3.3.2. Builds
fine in poudriere.

The patch is just a tiny #ifdef version check, there might be a better way to
test this... dunno.

You are receiving this mail because:
You are the assignee for the bug.
Received on Thu Aug 19 2021 - 07:01:36 UTC

Original text of this message