FreeBSD Bugzilla – Attachment 191734 Details for
Bug 226845
ftp/curl: fix build with libressl-devel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
curl.patch (text/plain), 1.67 KB, created by
Piotr Kubaj
on 2018-03-22 13:41:45 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-03-22 13:41:45 UTC
Size:
1.67 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 465285) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= curl > PORTVERSION= 7.59.0 >+PORTREVISION= 1 > CATEGORIES= ftp net www > MASTER_SITES= https://curl.haxx.se/download/ \ > LOCAL/sunpoet >Index: files/patch-lib_vtls_openssl.c >=================================================================== >--- files/patch-lib_vtls_openssl.c (nonexistent) >+++ files/patch-lib_vtls_openssl.c (working copy) >@@ -0,0 +1,28 @@ >+--- lib/vtls/openssl.c.orig 2018-03-22 14:26:38 UTC >++++ lib/vtls/openssl.c >+@@ -117,12 +117,7 @@ >+ #define X509_get0_notBefore(x) X509_get_notBefore(x) >+ #define X509_get0_notAfter(x) X509_get_notAfter(x) >+ #define CONST_EXTS /* nope */ >+-#ifdef LIBRESSL_VERSION_NUMBER >+-static unsigned long OpenSSL_version_num(void) >+-{ >+- return LIBRESSL_VERSION_NUMBER; >+-} >+-#else >++#ifndef LIBRESSL_VERSION_NUMBER >+ #define OpenSSL_version_num() SSLeay() >+ #endif >+ #endif >+@@ -3526,7 +3521,11 @@ static size_t Curl_ossl_version(char *bu >+ unsigned long ssleay_value; >+ sub[2]='\0'; >+ sub[1]='\0'; >++#ifdef LIBRESSL_VERSION_NUMBER >++ ssleay_value = LIBRESSL_VERSION_NUMBER; >++#else >+ ssleay_value = OpenSSL_version_num(); >++#endif >+ if(ssleay_value < 0x906000) { >+ ssleay_value = SSLEAY_VERSION_NUMBER; >+ sub[0]='\0'; > >Property changes on: files/patch-lib_vtls_openssl.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226845
: 191734