mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
- Fix build if WITH_OPENSSL_BETA is defined.
PR: ports/85457 Submitted by: Daniel Roethlisberger <daniel@roe.ch>
This commit is contained in:
parent
14fedededa
commit
8404a38b4a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142344
@ -45,6 +45,10 @@ IGNORE= : Please define WITH_KQUEUE_SUPPORT instead
|
||||
EXTRA_PATCHES+= ${FILESDIR}/exp-apr-kqueue.patch
|
||||
.endif
|
||||
|
||||
.if defined(WITH_OPENSSL_BETA)
|
||||
EXTRA_PATCHES+= ${FILESDIR}/build-fix-openssl_beta
|
||||
.endif
|
||||
|
||||
SCRIPTS_ENV+= LIBTOOL=${LIBTOOL} LIBTOOLIZE=${LIBTOOLIZE} \
|
||||
LIBTOOL_VERSION=${LIBTOOL_VERSION} AUTOCONF=${AUTOCONF} \
|
||||
LIBTOOL_M4=${LOCALBASE}/share/aclocal/libtool${LIBTOOL_VERSION}.m4 \
|
||||
|
16
www/apache2/files/build-fix-openssl_beta
Normal file
16
www/apache2/files/build-fix-openssl_beta
Normal file
@ -0,0 +1,16 @@
|
||||
--- modules/ssl/ssl_toolkit_compat.h.orig Fri Feb 4 21:21:18 2005
|
||||
+++ modules/ssl/ssl_toolkit_compat.h Tue Aug 30 01:42:51 2005
|
||||
@@ -99,6 +99,13 @@
|
||||
#define HAVE_SSL_X509V3_EXT_d2i
|
||||
#endif
|
||||
|
||||
+#ifndef PEM_F_DEF_CALLBACK
|
||||
+#ifdef PEM_F_PEM_DEF_CALLBACK
|
||||
+/* In OpenSSL 0.9.8 PEM_F_DEF_CALLBACK was renamed */
|
||||
+#define PEM_F_DEF_CALLBACK PEM_F_PEM_DEF_CALLBACK
|
||||
+#endif
|
||||
+#endif
|
||||
+
|
||||
#elif defined (SSLC_VERSION_NUMBER) /* RSA */
|
||||
|
||||
/* sslc does not support this function, OpenSSL has since 9.5.1 */
|
Loading…
Reference in New Issue
Block a user