sysutils/barrier: unbreak build on non-OpenSSL 3 systems (12 and 13)
Builds of barrier started failing on non-OpenSSL 3 systems after commit29ba81195awith the following error: /wrkdirs/usr/ports/sysutils/barrier/work/barrier-2.4.0/src/lib/net/SecureUtils.cpp:163:25: error: use of undeclared identifier 'EVP_RSA_gen' auto* private_key = EVP_RSA_gen(2048); ^ 1 warning and 1 error generated. Applying the patch in commit29ba81195aconditionally solves the issue. Approved by: portmgr (build fix blanket)
This commit is contained in:
@@ -37,6 +37,12 @@ GUI_USES= qt:5
|
||||
GUI_USE= QT=core,gui,network,widgets,buildtools:build,qmake:build
|
||||
GUI_CMAKE_BOOL= BARRIER_BUILD_GUI
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_lib_net_SecureUtils.cpp
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CP} -a ${WRKSRC_gulrak}/include ${WRKSRC}/ext/gulrak-filesystem/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user