1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add forotten patch file

Submitted by:	Olli Hauer <ohauer@FreeBSD.org>
This commit is contained in:
Lev A. Serebryakov 2016-09-06 15:48:27 +00:00
parent 5ccb3e3d37
commit 25139d644f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421439
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= serf
PORTVERSION= 1.3.9
#PORTREVISION= 1
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= APACHE/serf

View File

@ -0,0 +1,11 @@
--- buckets/ssl_buckets.c.orig 2016-06-30 15:45:07 UTC
+++ buckets/ssl_buckets.c
@@ -52,7 +52,7 @@
#define APR_ARRAY_PUSH(ary,type) (*((type *)apr_array_push(ary)))
#endif
-#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
#define USE_OPENSSL_1_1_API
#endif