Bug 275568 - devel/gdcm: Fails to build with LibreSSL 3.8.2
Summary: devel/gdcm: Fails to build with LibreSSL 3.8.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-06 12:15 UTC by Felix Palmen
Modified: 2023-12-07 05:49 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (stephen)


Attachments
gdcm_fix_build_libressl (1.64 KB, patch)
2023-12-06 12:15 UTC, Felix Palmen
zirias: maintainer-approval? (stephen)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Palmen freebsd_committer freebsd_triage 2023-12-06 12:15:41 UTC
Created attachment 246818 [details]
gdcm_fix_build_libressl

Uses the BUF_memdup() function which was removed from LibreSSL. Attached patch adds a local copy when built with LibreSSL.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-12-07 05:48:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=003fde6b296d6047db112bb72e2f7a7eb794c4e8

commit 003fde6b296d6047db112bb72e2f7a7eb794c4e8
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2023-12-07 05:44:17 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2023-12-07 05:44:17 +0000

    devel/gdcm: Fix build when with LibreSSL 3.8.2.

    gdcm uses the BUF_memdup() function which was removed from LibreSSL.
    Attached patch adds a local copy when built with LibreSSL.

    PR:             275568
    Reported by:    zirias@

 ...gdcmOpenSSLCryptographicMessageSyntax.cxx (new) | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
Comment 2 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2023-12-07 05:49:10 UTC
Committed.  Thank you very much.