> ptclib/pssl.cxx:143:35: error: use of undeclared identifier 'BIO_s_file_internal'
During BSDCan 2018 the intention to update OpenSSL in base to 1.1.x branch was documented.
Intention is to update 12-STABLE to current 1.1.0 and subsequently update it to 1.1.1 when that is released.
Poudriere logs: https://keg.brnrd.eu/data/111amd64-default-openssl110/2018-06-11_10h42m37s/logs/errors/ptlib-2.10.11_1.log
#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
+# define BIO_s_file_internal BIO_s_file
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]
This isn't how I wanted to do it, but all I have time for right now.
A commit references this bug:
Date: Fri Nov 9 15:46:59 UTC 2018
New revision: 484518
devel/ptlib: fix build with OpenSSL 1.1
Submitted by: brnrd (based on)