summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/sedutil/files/0001-DtaAnnotatedDump-Add-typedef-name-to-the-union.patch34
-rw-r--r--meta-oe/recipes-extended/sedutil/sedutil_git.bb9
2 files changed, 4 insertions, 39 deletions
diff --git a/meta-oe/recipes-extended/sedutil/files/0001-DtaAnnotatedDump-Add-typedef-name-to-the-union.patch b/meta-oe/recipes-extended/sedutil/files/0001-DtaAnnotatedDump-Add-typedef-name-to-the-union.patch
deleted file mode 100644
index 4be3353c66..0000000000
--- a/meta-oe/recipes-extended/sedutil/files/0001-DtaAnnotatedDump-Add-typedef-name-to-the-union.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 9db49b94336f65453e06fb6a6bc4e6edf9403fea Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 17 Aug 2020 17:22:09 -0700
4Subject: [PATCH] DtaAnnotatedDump: Add typedef name to the union
5
6This is found with clang
7error: anonymous non-C-compatible type given name for linkage purposes by
8typedef declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage]
9| typedef union
10| ^
11| CAtomHeader
12
13Upstream-Status: Submitted [https://github.com/Drive-Trust-Alliance/sedutil/pull/332]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 Common/DtaAnnotatedDump.h | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/Common/DtaAnnotatedDump.h b/Common/DtaAnnotatedDump.h
20index 2749365..734c8eb 100644
21--- a/Common/DtaAnnotatedDump.h
22+++ b/Common/DtaAnnotatedDump.h
23@@ -20,7 +20,7 @@ along with sedutil. If not, see <http://www.gnu.org/licenses/>.
24
25 #pragma pack(push,1)
26
27-typedef union
28+typedef union CAtomHeader_t
29 {
30 // four bytes in big endian (network) byte order
31 uint8_t all[4];
32--
332.28.0
34
diff --git a/meta-oe/recipes-extended/sedutil/sedutil_git.bb b/meta-oe/recipes-extended/sedutil/sedutil_git.bb
index 53330c0675..99e358648f 100644
--- a/meta-oe/recipes-extended/sedutil/sedutil_git.bb
+++ b/meta-oe/recipes-extended/sedutil/sedutil_git.bb
@@ -8,12 +8,11 @@ LICENSE = "GPLv3"
8LIC_FILES_CHKSUM = "file://Common/LICENSE.txt;md5=d32239bcb673463ab874e80d47fae504" 8LIC_FILES_CHKSUM = "file://Common/LICENSE.txt;md5=d32239bcb673463ab874e80d47fae504"
9 9
10BASEPV = "1.15.1" 10BASEPV = "1.15.1"
11PV = "1.15.1.01" 11PV = "1.20.0"
12SRCREV = "565670749ef6947a905c451477a3a9a15e7e0ba5" 12SRCREV = "d3de8e45e06a21d31cca0046ceb16ced1ef3563a"
13SRC_URI = "git://github.com/Drive-Trust-Alliance/sedutil.git \ 13SRC_URI = "git://github.com/Drive-Trust-Alliance/sedutil.git \
14 file://0001-Fix-build-on-big-endian-architectures.patch \ 14 file://0001-Fix-build-on-big-endian-architectures.patch \
15 file://0001-DtaAnnotatedDump-Add-typedef-name-to-the-union.patch \ 15 "
16"
17 16
18S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
19 18