FreeBSD Bugzilla – Attachment 179916 Details for
Bug 217048
sysutils/afflib: Fix build with LibreSSL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for sysutils/afflib
patch-sysutils_afflib-LibreSSL-1.1.0 (text/plain), 4.92 KB, created by
Bernard Spil
on 2017-02-12 20:07:04 UTC
(
hide
)
Description:
svn diff for sysutils/afflib
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2017-02-12 20:07:04 UTC
Size:
4.92 KB
patch
obsolete
>Index: sysutils/afflib/files/patch-lib_aftest.cpp >=================================================================== >--- sysutils/afflib/files/patch-lib_aftest.cpp (nonexistent) >+++ sysutils/afflib/files/patch-lib_aftest.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- lib/aftest.cpp.orig 2016-09-12 18:18:01 UTC >++++ lib/aftest.cpp >+@@ -39,7 +39,7 @@ const char *tempdir = "/tmp/"; >+ #endif >+ >+ /* Support OpenSSL before 1.1.0 */ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) >+ #define EVP_MD_CTX_new EVP_MD_CTX_create >+ #define EVP_MD_CTX_free EVP_MD_CTX_destroy >+ #endif > >Property changes on: sysutils/afflib/files/patch-lib_aftest.cpp >___________________________________________________________________ >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 >Index: sysutils/afflib/files/patch-lib_crypto.cpp >=================================================================== >--- sysutils/afflib/files/patch-lib_crypto.cpp (nonexistent) >+++ sysutils/afflib/files/patch-lib_crypto.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- lib/crypto.cpp.orig 2016-09-12 18:18:01 UTC >++++ lib/crypto.cpp >+@@ -26,7 +26,7 @@ using namespace std; >+ #endif >+ >+ /* Support OpenSSL before 1.1.0 */ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) >+ #define EVP_MD_CTX_new EVP_MD_CTX_create >+ #define EVP_MD_CTX_free EVP_MD_CTX_destroy >+ #endif > >Property changes on: sysutils/afflib/files/patch-lib_crypto.cpp >___________________________________________________________________ >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 >Index: sysutils/afflib/files/patch-tools_aff__bom.cpp >=================================================================== >--- sysutils/afflib/files/patch-tools_aff__bom.cpp (nonexistent) >+++ sysutils/afflib/files/patch-tools_aff__bom.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- tools/aff_bom.cpp.orig 2016-09-12 18:18:01 UTC >++++ tools/aff_bom.cpp >+@@ -36,7 +36,7 @@ >+ #endif >+ >+ /* Support OpenSSL before 1.1.0 */ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) >+ #define EVP_MD_CTX_new EVP_MD_CTX_create >+ #define EVP_MD_CTX_free EVP_MD_CTX_destroy >+ #endif > >Property changes on: sysutils/afflib/files/patch-tools_aff__bom.cpp >___________________________________________________________________ >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 >Index: sysutils/afflib/files/patch-tools_affverify.cpp >=================================================================== >--- sysutils/afflib/files/patch-tools_affverify.cpp (nonexistent) >+++ sysutils/afflib/files/patch-tools_affverify.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- tools/affverify.cpp.orig 2016-09-12 18:18:01 UTC >++++ tools/affverify.cpp >+@@ -28,7 +28,7 @@ >+ #include <openssl/x509.h> >+ >+ /* Support OpenSSL before 1.1.0 */ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) >+ #define EVP_MD_CTX_new EVP_MD_CTX_create >+ #define EVP_MD_CTX_free EVP_MD_CTX_destroy >+ #endif > >Property changes on: sysutils/afflib/files/patch-tools_affverify.cpp >___________________________________________________________________ >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 >Index: sysutils/afflib/files/patch-tools_hashextent.h >=================================================================== >--- sysutils/afflib/files/patch-tools_hashextent.h (nonexistent) >+++ sysutils/afflib/files/patch-tools_hashextent.h (working copy) >@@ -0,0 +1,11 @@ >+--- tools/hashextent.h.orig 2016-09-12 18:18:01 UTC >++++ tools/hashextent.h >+@@ -19,7 +19,7 @@ >+ #include <algorithm> >+ >+ /* Support OpenSSL before 1.1.0 */ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) >+ #define EVP_MD_CTX_new EVP_MD_CTX_create >+ #define EVP_MD_CTX_free EVP_MD_CTX_destroy >+ #endif > >Property changes on: sysutils/afflib/files/patch-tools_hashextent.h >___________________________________________________________________ >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 217048
: 179916