!10 Fix ewfoutput to compile with openssl-3.x
From: @caodongxia Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
7293c0702c
19
libewf-ewfoutput-openssl3.patch
Normal file
19
libewf-ewfoutput-openssl3.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff --git a/ewftools/ewfoutput.c b/ewftools/ewfoutput.c
|
||||||
|
index 80ae16a..1d2c97f 100644
|
||||||
|
--- a/ewftools/ewfoutput.c
|
||||||
|
+++ b/ewftools/ewfoutput.c
|
||||||
|
@@ -197,9 +197,13 @@ void ewfoutput_version_detailed_fprint(
|
||||||
|
fprintf(
|
||||||
|
stream,
|
||||||
|
" (libcrypto %s)",
|
||||||
|
+#if defined ( OPENSSL_FULL_VERSION_STR )
|
||||||
|
+ OPENSSL_FULL_VERSION_STR );
|
||||||
|
+#else
|
||||||
|
SHLIB_VERSION_NUMBER );
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#if defined( HAVE_LIBODRAW ) || defined( HAVE_LOCAL_LIBODRAW )
|
||||||
|
fprintf(
|
||||||
|
|
||||||
@ -1,10 +1,11 @@
|
|||||||
Name: libewf
|
Name: libewf
|
||||||
Version: 20140608
|
Version: 20140608
|
||||||
Release: 15
|
Release: 16
|
||||||
Summary: Library to access the Expert Witness Compression Format (EWF)
|
Summary: Library to access the Expert Witness Compression Format (EWF)
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
URL: http://sourceforge.net/projects/libewf/
|
URL: http://sourceforge.net/projects/libewf/
|
||||||
Source0: https://github.com/ArchAssault-Project/libewf/archive/v.20140608.tar.gz
|
Source0: https://github.com/ArchAssault-Project/libewf/archive/v.20140608.tar.gz
|
||||||
|
Patch0: libewf-ewfoutput-openssl3.patch
|
||||||
BuildRequires: gcc-c++ fuse-devel libuuid-devel openssl-devel zlib-devel
|
BuildRequires: gcc-c++ fuse-devel libuuid-devel openssl-devel zlib-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -78,6 +79,9 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|||||||
%{_mandir}/man3/*.gz
|
%{_mandir}/man3/*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 3 2023 caodongxia <caodongxia@h-partners.com> - 20140608-16
|
||||||
|
- Fix ewfoutput to compile with openssl-3.x
|
||||||
|
|
||||||
* Mon Oct 26 2020 leiju <leiju4@huawei.com> - 20140608-15
|
* Mon Oct 26 2020 leiju <leiju4@huawei.com> - 20140608-15
|
||||||
- Remove BuildRequires python2-devel and Requires python2-fuse
|
- Remove BuildRequires python2-devel and Requires python2-fuse
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user