forked from pool/ibmswtpm2
Accepting request 831924 from security
OBS-URL: https://build.opensuse.org/request/show/831924 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ibmswtpm2?expand=0&rev=9
This commit is contained in:
commit
d2700be82f
13
ibmswtpm2-fix-ppc32.patch
Normal file
13
ibmswtpm2-fix-ppc32.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -ur ibmswtpm2-1637.orig/src/LibSupport.h ibmswtpm2-1637/src/LibSupport.h
|
||||
--- ibmswtpm2-1637.orig/src/LibSupport.h 2020-05-27 21:35:29.000000000 +0200
|
||||
+++ ibmswtpm2-1637/src/LibSupport.h 2020-09-01 14:32:06.752690872 +0200
|
||||
@@ -75,7 +75,8 @@
|
||||
# define RADIX_BITS 64
|
||||
# elif defined(__i386__) || defined(__i386) || defined(i386) \
|
||||
|| defined(_WIN32) || defined(_M_IX86) \
|
||||
- || defined(_M_ARM) || defined(__arm__) || defined(__thumb__)
|
||||
+ || defined(_M_ARM) || defined(__arm__) || defined(__thumb__) \
|
||||
+ || defined(__powerpc__)
|
||||
# define RADIX_BITS 32
|
||||
# else
|
||||
# error Unable to determine RADIX_BITS from compiler environment
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 12:34:41 UTC 2020 - Michal Suchanek <msuchanek@suse.de>
|
||||
|
||||
- Fix ppc32 build.
|
||||
+ ibmswtpm2-fix-ppc32.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 17 16:59:04 UTC 2020 - Michal Suchanek <msuchanek@suse.de>
|
||||
|
||||
|
@ -35,6 +35,7 @@ Source: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm%{version
|
||||
Patch: makefile.patch
|
||||
Patch1: ibmswtpm2-TcpServerPosix-Fix-use-of-uninitialized-value.patch
|
||||
Patch2: ibmswtpm2-NVDynamic-Fix-use-of-uninitialized-value.patch
|
||||
Patch3: ibmswtpm2-fix-ppc32.patch
|
||||
BuildRequires: libopenssl-devel >= 1.0
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user