package/ibm-sw-tpm2: add patch to fix build issues on several architectures
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 27 Apr 2020 05:46:49 +0000 (07:46 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 27 Apr 2020 20:36:50 +0000 (22:36 +0200)
commit26e37cef1627faa1f5ab8935482e2b2bc3465c33
treeb06a5663f64f5c2d3cfc9ea4572b46b23caefc7e
parentcf3636af9bcea734c4428b0422a645d4c09698a6
package/ibm-sw-tpm2: add patch to fix build issues on several architectures

src/LibSupport.h has some logic to find the wordsize of the current
architecture, using an explicit list of CPU architectures. This makes
the build fail on a number of CPU architectures that are not
explicitly handled.

Let's instead use the __WORDSIZE definition of the C library, which is
guaranteed to be available for all CPU architectures.

Fixes:

  http://autobuild.buildroot.net/results/a235345477ea2ec3b0dd4ffed4d7667d46caec48/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/ibm-sw-tpm2/0001-Use-__WORDSIZE-to-define-RADIX_BITS.patch [new file with mode: 0644]