mirror of
https://git.yoctoproject.org/meta-security
synced 2026-06-04 14:10:22 +00:00
swtpm: update to 0.7.3
drop musl patch.Fix another way Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
tpm_ioctl: fix musl for missing ioctl
|
||||
|
||||
tpm_ioctl.c: In function 'ioctl_to_cmd':
|
||||
tpm_ioctl.c:86:26: error: '_IOC_NRSHIFT' undeclared (first use in this function)
|
||||
return ((ioctlnum >> _IOC_NRSHIFT) & _IOC_NRMASK) + 1;
|
||||
|
||||
|
||||
Upstream-status:
|
||||
Signed-off-by: Armin Kuster <akuster@mvista.com>
|
||||
|
||||
Index: git/src/swtpm_ioctl/tpm_ioctl.c
|
||||
===================================================================
|
||||
--- git.orig/src/swtpm_ioctl/tpm_ioctl.c
|
||||
+++ git/src/swtpm_ioctl/tpm_ioctl.c
|
||||
@@ -58,6 +58,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
+#include <asm/ioctl.h>
|
||||
#include <getopt.h>
|
||||
#include <sys/un.h>
|
||||
#include <sys/types.h>
|
||||
+1
-2
@@ -6,9 +6,8 @@ SECTION = "apps"
|
||||
# expect-native, socat-native, coreutils-native and net-tools-native are reportedly only required for the tests
|
||||
DEPENDS = "libtasn1 coreutils-native expect-native socat-native glib-2.0 net-tools-native libtpm json-glib"
|
||||
|
||||
SRCREV = "92a7035f45d9b08aa7c6b8bd6fa4c6916ef07a9e"
|
||||
SRCREV = "f2268eebb0d1adf89bad83fa4cf91e37b4e3fa53"
|
||||
SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.7-next;protocol=https \
|
||||
file://ioctl_h.patch \
|
||||
"
|
||||
PE = "1"
|
||||
|
||||
Reference in New Issue
Block a user