Summary: | devel/ptlib: Fails to build with OpenSSL 1.1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Bernard Spil <brnrd> | ||||||
Component: | Individual Port(s) | Assignee: | Steve Wills <swills> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | ghelmer, swills, thomas, w.schwarzenfeld | ||||||
Priority: | --- | Keywords: | needs-qa, patch | ||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(gnome) |
||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 228865 | ||||||||
Attachments: |
|
Description
Bernard Spil
2018-06-14 20:04:27 UTC
#if (OPENSSL_VERSION_NUMBER >= 0x10000000L) +# define BIO_s_file_internal BIO_s_file +#endif This issue has already been fixed in the Linux From Scratch project, see the diff here: http://lfs.phayoune.org/blfs/downloads/8.2-systemd/patches/ptlib-2.10.11-openssl-1.1.0-1.patch devel/ptlib can be built properly after applying it, maybe it can be adapted to the port. Created attachment 199019 [details] Patch for files/patch-src_ptclib_pssl.cxx in devel/ptlib Patch for devel/ptlib using ptclib_pssl.cxx changes obtained from https://git.archlinux.org/svntogit/packages.git/plain/trunk/openssl-1.1.0.patch?h=packages/ptlib (In reply to Guy Helmer from comment #3) This fails to build on 11.2 with base openssl. I'll take a look though. Created attachment 199025 [details]
ugly patch
This isn't how I wanted to do it, but all I have time for right now.
A commit references this bug: Author: swills Date: Fri Nov 9 15:46:59 UTC 2018 New revision: 484518 URL: https://svnweb.freebsd.org/changeset/ports/484518 Log: devel/ptlib: fix build with OpenSSL 1.1 PR: 229023 Submitted by: brnrd (based on) Changes: head/devel/ptlib/Makefile head/devel/ptlib/files/extra-patch-src_ptclib_pssl.cxx head/devel/ptlib/files/extra-patch-src_ptclib_pssl.cxx-openssl111 head/devel/ptlib/files/patch-src_ptclib_pssl.cxx Committed, thanks! |