Remove bogus variable to unbreak build on gcc10
This commit is contained in:
parent
e4be071f7c
commit
a6eb8a263e
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/src/lib/token.h b/src/lib/token.h
|
||||||
|
index eeb193f..6a6ae6c 100644
|
||||||
|
--- a/src/lib/token.h
|
||||||
|
+++ b/src/lib/token.h
|
||||||
|
@@ -14,7 +14,7 @@ typedef struct token_config token_config;
|
||||||
|
struct token_config {
|
||||||
|
bool is_initialized; /* token initialization state */
|
||||||
|
char *tcti; /* token specific tcti config */
|
||||||
|
-} config;
|
||||||
|
+};
|
||||||
|
|
||||||
|
typedef struct session_table session_table;
|
||||||
|
typedef struct session_ctx session_ctx;
|
|
@ -11,6 +11,7 @@ Source0: https://github.com/tpm2-software/%{name}/releases/download/%{version}%{
|
||||||
Source1: https://github.com/tpm2-software/%{name}/releases/download/%{version}%{?candidate:-%{candidate}}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz.asc
|
Source1: https://github.com/tpm2-software/%{name}/releases/download/%{version}%{?candidate:-%{candidate}}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz.asc
|
||||||
# William Roberts (Bill Roberts) key from pgp.mit.edu
|
# William Roberts (Bill Roberts) key from pgp.mit.edu
|
||||||
Source2: gpgkey-8E1F50C1.gpg
|
Source2: gpgkey-8E1F50C1.gpg
|
||||||
|
Patch1: tpm2-pkcs11-1.0.1-gcc10.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
@ -51,6 +52,7 @@ The tools required to setup and configure TPM2 for PKCS#11.
|
||||||
%prep
|
%prep
|
||||||
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||||
%setup -q -n %{name}-%{version}%{?candidate:-%{candidate}}
|
%setup -q -n %{name}-%{version}%{?candidate:-%{candidate}}
|
||||||
|
%patch1 -p1 -b .gcc10
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
Loading…
Reference in New Issue