- fix build with recent kernels
This commit is contained in:
parent
2dcd7db243
commit
c8eb0771d0
11
libica-2.3-zcrypt.patch
Normal file
11
libica-2.3-zcrypt.patch
Normal file
@ -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 <stdint.h>
|
||||
#include <openssl/bn.h>
|
||||
#include <asm/zcrypt.h>
|
||||
#include "ica_api.h"
|
@ -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 <dan[at]danny.cz> - 2.3.0-5
|
||||
- fix build with recent kernels
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user