tpm2.0-tss: update to tip.

remove merged patch now in tip

Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Armin Kuster
2017-04-11 20:51:15 -07:00
parent 41936bb4cf
commit 5f68ae6d28
2 changed files with 1 additions and 29 deletions
@@ -1,27 +0,0 @@
Add missing header to avoid:
../TPM2.0-TSS/tcti/tcti_socket.c: In function 'SocketReceiveTpmResponse':
| ../TPM2.0-TSS/tcti/tcti_socket.c:286:5: error: unknown type name 'fd_set'
| fd_set readFds;
| ^~~~~~
| ../TPM2.0-TSS/tcti/tcti_socket.c:287:20: error: storage size of 'tv' isn't known
| struct timeval tv, *tvPtr;
| ^~
Upstream-Status: Submitted
tcti_socket: fix musl build issue do to missing header #393
Signed-off-by: Armin Kuster <akuster@mvista.com>
Index: TPM2.0-TSS/tcti/tcti_socket.c
===================================================================
--- TPM2.0-TSS.orig/tcti/tcti_socket.c
+++ TPM2.0-TSS/tcti/tcti_socket.c
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h> // Needed for _wtoi
+#include <sys/time.h>
#include "sapi/tpm20.h"
#include "sapi/marshal.h"
+1 -2
View File
@@ -6,12 +6,11 @@ SECTION = "tpm"
DEPENDS = "autoconf-archive pkgconfig"
SRCREV = "d1bd1fe175d233c7c5adbe1b9f3d256c41721001"
SRCREV = "30794affab01598bbacfe1f167be7c068a0c0476"
SRC_URI = " \
git://github.com/01org/TPM2.0-TSS.git;protocol=git;branch=master;name=TPM2.0-TSS;destsuffix=TPM2.0-TSS \
file://ax_pthread.m4 \
file://musl_header_fix.patch \
"
inherit autotools pkgconfig systemd