diff --git a/libica-2.3-zcrypt.patch b/libica-2.3-zcrypt.patch new file mode 100644 index 0000000..7022c77 --- /dev/null +++ b/libica-2.3-zcrypt.patch @@ -0,0 +1,11 @@ +diff -up libica-2.3.0/src/include/s390_rsa.h.zcrypt libica-2.3.0/src/include/s390_rsa.h +--- libica-2.3.0/src/include/s390_rsa.h.zcrypt 2014-05-29 11:28:24.000000000 +0200 ++++ libica-2.3.0/src/include/s390_rsa.h 2014-05-29 11:28:32.000000000 +0200 +@@ -14,6 +14,7 @@ + #ifndef S390_RSA_H + #define S390_RSA_H + ++#include + #include + #include + #include "ica_api.h" diff --git a/libica.spec b/libica.spec index 85ddf60..f9005d4 100644 --- a/libica.spec +++ b/libica.spec @@ -1,7 +1,7 @@ Summary: Library for accessing ICA hardware crypto on IBM zSeries Name: libica Version: 2.3.0 -Release: 4%{?dist} +Release: 5%{?dist} License: CPL Group: System Environment/Libraries URL: http://sourceforge.net/projects/opencryptoki/ @@ -10,6 +10,8 @@ Source0: http://downloads.sourceforge.net/opencryptoki/%{name}-%{version}.tar.gz Patch0: %{name}-2.3-version.patch # post-release fixes Patch1: %{name}-2.3-fixes.patch +# fix build with recent kernels +Patch2: %{name}-2.3-zcrypt.patch BuildRequires: openssl-devel BuildRequires: autoconf automake libtool ExclusiveArch: s390 s390x @@ -38,6 +40,7 @@ IBM zSeries. %patch0 -p1 -b .version %patch1 -p1 -b .fixes +%patch2 -p1 -b .zcrypt # fix EOLs sed -i -e 's/\r//g' LICENSE @@ -76,6 +79,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/libica.la %changelog +* Wed Jun 11 2014 Dan HorĂ¡k - 2.3.0-5 +- fix build with recent kernels + * Sat Jun 07 2014 Fedora Release Engineering - 2.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild