diff options
Diffstat (limited to 'app-forensics/libewf/files/libewf-20171104-openssl-3.patch')
-rw-r--r-- | app-forensics/libewf/files/libewf-20171104-openssl-3.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-forensics/libewf/files/libewf-20171104-openssl-3.patch b/app-forensics/libewf/files/libewf-20171104-openssl-3.patch new file mode 100644 index 000000000000..2d30da7042f8 --- /dev/null +++ b/app-forensics/libewf/files/libewf-20171104-openssl-3.patch @@ -0,0 +1,27 @@ +https://bugs.gentoo.org/805188 +https://github.com/libyal/libewf/commit/033ea5b4e5f8f1248f74a2ec61fc1be183c6c46b +--- a/ewftools/ewftools_output.c ++++ b/ewftools/ewftools_output.c +@@ -238,12 +238,20 @@ void ewfoutput_version_detailed_fprint( + LIBHMAC_VERSION_STRING ); + + #if defined( HAVE_LIBCRYPTO ) ++#if defined( SHLIB_VERSION_NUMBER ) + fprintf( + stream, + " (libcrypto %s)", + SHLIB_VERSION_NUMBER ); +-#endif +-#endif ++#elif defined( OPENSSL_VERSION_MAJOR ) && defined( OPENSSL_VERSION_MINOR ) ++ fprintf( ++ stream, ++ " (libcrypto %d.%d)", ++ OPENSSL_VERSION_MAJOR, ++ OPENSSL_VERSION_MINOR ); ++#endif ++#endif ++#endif + + #if defined( HAVE_LIBODRAW ) || defined( HAVE_LOCAL_LIBODRAW ) + fprintf( |