summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch38
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb1
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch
new file mode 100644
index 0000000000..0b5087f283
--- /dev/null
+++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch
@@ -0,0 +1,38 @@
1From f6874a2f7de30b6eeefb2d509b895c58b93da8f7 Mon Sep 17 00:00:00 2001
2From: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
3Date: Wed, 29 Oct 2025 09:38:17 +0530
4Subject: [PATCH] libziparchive: fix missing fixed-width integer types in
5 zip_writer.h
6
7Compilation fails due to undefined types 'uint16_t' and 'uint32_t' in
8zip_writer.h. These types are used in struct members but are not recognized
9because the required header <cstdint> is not included. This results in
10errors such as:
11 error: 'uint16_t' does not name a type
12 error: 'uint32_t' does not name a type
13
14Added '#include <cstdint>' to zip_writer.h to ensure fixed-width integer
15types are properly defined.
16
17Upstream-Status: Pending
18
19Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
20---
21 system/core/libziparchive/include/ziparchive/zip_writer.h | 1 +
22 1 file changed, 1 insertion(+)
23
24diff --git a/system/core/libziparchive/include/ziparchive/zip_writer.h b/system/core/libziparchive/include/ziparchive/zip_writer.h
25index d68683df..7a05e349 100644
26--- a/system/core/libziparchive/include/ziparchive/zip_writer.h
27+++ b/system/core/libziparchive/include/ziparchive/zip_writer.h
28@@ -18,6 +18,7 @@
29
30 #include <cstdio>
31 #include <ctime>
32+#include <cstdint>
33
34 #include <gtest/gtest_prod.h>
35 #include <memory>
36--
372.34.1
38
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb
index 47c8e08b62..74928ed171 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb
+++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb
@@ -40,6 +40,7 @@ SRC_URI += " \
40 file://debian/system/core/fix-standard-namespace-errors.patch \ 40 file://debian/system/core/fix-standard-namespace-errors.patch \
41 file://debian/system/core/Add-riscv64-support.patch \ 41 file://debian/system/core/Add-riscv64-support.patch \
42 file://debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch \ 42 file://debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch \
43 file://debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch \
43 \ 44 \
44" 45"
45 46