diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-03-24 09:33:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-27 11:19:04 +0000 |
commit | 892ca278825eaa926c03162266e9f62a601a5706 (patch) | |
tree | ae307350868980b3ea730914deb81f7c01631d55 /meta/recipes-devtools/apt | |
parent | 03f23119383e80c988e1cc9b5a0a8c8722137d58 (diff) | |
download | poky-892ca278825eaa926c03162266e9f62a601a5706.tar.gz |
apt: Fix build with GCC 15
(From OE-Core rev: ac53f79999bb8301380d7c58025f6fed75e40c9a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt')
-rw-r--r-- | meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch | 26 | ||||
-rw-r--r-- | meta/recipes-devtools/apt/apt_2.6.1.bb | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch b/meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch new file mode 100644 index 0000000000..b86ed8bb92 --- /dev/null +++ b/meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 9da1b0dbdcc90455bc9de49f73a96e7d18f83493 Mon Sep 17 00:00:00 2001 | ||
2 | From: Julian Andres Klode <julian.klode@canonical.com> | ||
3 | Date: Tue, 18 Feb 2025 10:29:40 +0100 | ||
4 | Subject: [PATCH] strutl: Add missing #include <cstdint> [gcc 15] | ||
5 | |||
6 | Closes: #1096322 | ||
7 | |||
8 | Upstream-Status: Backport [https://salsa.debian.org/apt-team/apt/-/commit/f82dcd7e4ebb3f70d28e9feb3621676f8c0cc024] | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | apt-pkg/contrib/strutl.cc | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc | ||
16 | index 67100f1..c0a1cbc 100644 | ||
17 | --- a/apt-pkg/contrib/strutl.cc | ||
18 | +++ b/apt-pkg/contrib/strutl.cc | ||
19 | @@ -26,6 +26,7 @@ | ||
20 | |||
21 | #include <algorithm> | ||
22 | #include <array> | ||
23 | +#include <cstdint> | ||
24 | #include <iomanip> | ||
25 | #include <limits> | ||
26 | #include <locale> | ||
diff --git a/meta/recipes-devtools/apt/apt_2.6.1.bb b/meta/recipes-devtools/apt/apt_2.6.1.bb index 26a6d99f84..62a674d62b 100644 --- a/meta/recipes-devtools/apt/apt_2.6.1.bb +++ b/meta/recipes-devtools/apt/apt_2.6.1.bb | |||
@@ -14,6 +14,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \ | |||
14 | file://0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch \ | 14 | file://0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch \ |
15 | file://0001-aptwebserver.cc-Include-array.patch \ | 15 | file://0001-aptwebserver.cc-Include-array.patch \ |
16 | file://0001-Remove-using-std-binary_function.patch \ | 16 | file://0001-Remove-using-std-binary_function.patch \ |
17 | file://0001-strutl-Add-missing-include-cstdint-gcc-15.patch \ | ||
17 | " | 18 | " |
18 | 19 | ||
19 | SRC_URI:append:class-native = " \ | 20 | SRC_URI:append:class-native = " \ |