Date: Sat, 25 Mar 2023 14:05:42 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269064] editors/pico-alpine has stopped building with libressl Message-ID: <bug-269064-7788-XxhGrFuXHh@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-269064-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-269064-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269064 Scuff <scuffbox@proton.me> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |scuffbox@proton.me --- Comment #2 from Scuff <scuffbox@proton.me> --- I encountered this issue recently after updating LibreSSL. When using Libre= SSL, the compile appears to be using blocks of code intended for versions of Ope= nSSL lower than 1.1.0, where some structs appear to be accessed directly. This probably isn't the proper solution, but my workaround was to make the configure script treat LibreSSL the same as OpenSSL >=3D 1.1.0 as follows: 1) From the port directory, `make patch` 2) Make the following change to work/alpine-9726c09/configure: --- configure.orig +++ configure @@ -19566,6 +19566,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } alpine_SSLPROVIDER=3D"libressl" + CFLAGS=3D"$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=3D0x101000= 00L" else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3) Continue the build/install with `make`/`make install`/etc. Hopefully this points someone towards a more proper solution. While it appe= ars to work as it should (for the mail/alpine port as well), it would be good if verified as flaw-free by others more familiar. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269064-7788-XxhGrFuXHh>