summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch326
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0005-common.h-replace-getline-with-fgets.patch56
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch (renamed from meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch)9
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-make-Add-compiler-includes-in-cflags.patch (renamed from meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-make-Add-compiler-includes-in-cflags.patch)9
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch (renamed from meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0003-Makefile.am-only-build-ubi-utils.patch)5
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch (renamed from meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch)0
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.3.0.bb (renamed from meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb)13
-rw-r--r--meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb (renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb)2
-rw-r--r--meta-networking/recipes-protocols/vsomeip/vsomeip/0001-Fix-pkgconfig-dir-for-multilib.patch8
-rw-r--r--meta-networking/recipes-protocols/vsomeip/vsomeip/0002-Install-example-configuration-files-to-etc-vsomeip.patch8
-rw-r--r--meta-networking/recipes-protocols/vsomeip/vsomeip/0003-Do-not-specify-PIE-flag-explicitly.patch (renamed from meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Do-not-specify-PIE-flag-explicitly.patch)21
-rw-r--r--meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Fix-build-with-boost-1.89.patch42
-rw-r--r--meta-networking/recipes-protocols/vsomeip/vsomeip/0005-Replace-address-from_string-with-make_address.patch47
-rw-r--r--meta-networking/recipes-protocols/vsomeip/vsomeip/0005-test-common-CMakeLists.txt-add-missing-link-with-dlt.patch41
-rw-r--r--meta-networking/recipes-protocols/vsomeip/vsomeip/0006-Fix-scanning-64-bit-integer-types.patch128
-rw-r--r--meta-networking/recipes-protocols/vsomeip/vsomeip_3.5.9.bb (renamed from meta-networking/recipes-protocols/vsomeip/vsomeip_3.5.3.bb)31
-rw-r--r--meta-oe/conf/include/ptest-packagelists-meta-oe.inc1
-rw-r--r--meta-oe/recipes-gnome/gtk+/gtkmm4_4.20.0.bb (renamed from meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb)8
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-8.bb (renamed from meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-5.bb)2
-rw-r--r--meta-oe/recipes-test/googletest/googletest/gtest-ciso646.patch26
-rw-r--r--meta-oe/recipes-test/googletest/googletest_1.17.0.bb (renamed from meta-oe/recipes-test/googletest/googletest_1.16.0.bb)7
21 files changed, 281 insertions, 509 deletions
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch
deleted file mode 100644
index 5c6e097493..0000000000
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch
+++ /dev/null
@@ -1,326 +0,0 @@
1From 01c98d5d5d044d9a125abcdbb2f3d771966365b0 Mon Sep 17 00:00:00 2001
2From: mirabilos <m@mirbsd.org>
3Date: Thu, 1 Feb 2018 15:34:07 +0100
4Subject: [PATCH] Instead of doing preprocessor magic, just output off_t as
5 long long
6
7Fix warnings abot PRIdoff_t in libmtd.c, in mtd_read (and mtd_write):
8
9In file included from ../git/lib/libmtd.c:40:0:
10../git/lib/libmtd.c: In function 'mtd_read':
11../git/include/common.h:110:18: warning: format '%ld' expects argument of
12 type 'long int', but argument 5 has type 'off_t {aka long long int}'
13 [-Wformat=]
14
15../git/include/common.h:120:2: note: in expansion of macro 'errmsg'
16 errmsg(fmt, ##__VA_ARGS__); \
17 ^~~~~~
18../git/lib/libmtd.c:1082:10: note: in expansion of macro 'sys_errmsg'
19 return sys_errmsg("cannot seek mtd%d to offset %"PRIdoff_t,
20 ^~~~~~~~~~
21
22/usr/lib/klibc/include/inttypes.h:28:17: note: format string is defined here
23 #define PRId32 "d"
24
25Upstream-Status: Submitted
26
27Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
28---
29 include/common.h | 18 ------------------
30 jffsX-utils/mkfs.jffs2.c | 20 ++++++++++----------
31 lib/libmtd.c | 8 ++++----
32 misc-utils/flash_erase.c | 6 +++---
33 misc-utils/flash_otp_write.c | 2 +-
34 misc-utils/ftl_check.c | 2 +-
35 misc-utils/mtd_debug.c | 4 ++--
36 misc-utils/serve_image.c | 4 ++--
37 tests/fs-tests/integrity/integck.c | 4 ++--
38 tests/mtd-tests/nandpagetest.c | 4 ++--
39 tests/ubi-tests/integ.c | 6 +++---
40 ubifs-utils/mkfs.ubifs/mkfs.ubifs.c | 6 +++---
41 12 files changed, 33 insertions(+), 51 deletions(-)
42
43diff --git a/include/common.h b/include/common.h
44index f8f72ea..642c212 100644
45--- a/include/common.h
46+++ b/include/common.h
47@@ -70,24 +70,6 @@ extern "C" {
48 #define O_CLOEXEC 0
49 #endif
50
51-/* define a print format specifier for off_t */
52-#if (SIZEOF_OFF_T >= 8)
53-#define PRIxoff_t PRIx64
54-#define PRIdoff_t PRId64
55-#else
56-#define PRIxoff_t "l"PRIx32
57-#define PRIdoff_t "l"PRId32
58-#endif
59-
60-/* define a print format specifier for loff_t */
61-#if (SIZEOF_LOFF_T >= 8)
62-#define PRIxloff_t PRIx64
63-#define PRIdloff_t PRId64
64-#else
65-#define PRIxloff_t "l"PRIx32
66-#define PRIdloff_t "l"PRId32
67-#endif
68-
69 /* Verbose messages */
70 #define bareverbose(verbose, fmt, ...) do { \
71 if (verbose) \
72diff --git a/jffsX-utils/mkfs.jffs2.c b/jffsX-utils/mkfs.jffs2.c
73index 9aa6c39..0661786 100644
74--- a/jffsX-utils/mkfs.jffs2.c
75+++ b/jffsX-utils/mkfs.jffs2.c
76@@ -1237,8 +1237,8 @@ static void recursive_populate_directory(struct filesystem_entry *dir)
77 } else switch (e->sb.st_mode & S_IFMT) {
78 case S_IFDIR:
79 if (verbose) {
80- printf("\td %04o %9" PRIdoff_t " %5d:%-3d %s\n",
81- e->sb.st_mode & ~S_IFMT, e->sb.st_size,
82+ printf("\td %04o %9lld %5d:%-3d %s\n",
83+ e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
84 (int) (e->sb.st_uid), (int) (e->sb.st_gid),
85 e->name);
86 }
87@@ -1247,8 +1247,8 @@ static void recursive_populate_directory(struct filesystem_entry *dir)
88 break;
89 case S_IFSOCK:
90 if (verbose) {
91- printf("\ts %04o %9" PRIdoff_t " %5d:%-3d %s\n",
92- e->sb.st_mode & ~S_IFMT, e->sb.st_size,
93+ printf("\ts %04o %9lld %5d:%-3d %s\n",
94+ e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
95 (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
96 }
97 write_pipe(e);
98@@ -1256,8 +1256,8 @@ static void recursive_populate_directory(struct filesystem_entry *dir)
99 break;
100 case S_IFIFO:
101 if (verbose) {
102- printf("\tp %04o %9" PRIdoff_t " %5d:%-3d %s\n",
103- e->sb.st_mode & ~S_IFMT, e->sb.st_size,
104+ printf("\tp %04o %9lld %5d:%-3d %s\n",
105+ e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
106 (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
107 }
108 write_pipe(e);
109@@ -1285,8 +1285,8 @@ static void recursive_populate_directory(struct filesystem_entry *dir)
110 break;
111 case S_IFLNK:
112 if (verbose) {
113- printf("\tl %04o %9" PRIdoff_t " %5d:%-3d %s -> %s\n",
114- e->sb.st_mode & ~S_IFMT, e->sb.st_size,
115+ printf("\tl %04o %9lld %5d:%-3d %s -> %s\n",
116+ e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
117 (int) e->sb.st_uid, (int) e->sb.st_gid, e->name,
118 e->link);
119 }
120@@ -1297,8 +1297,8 @@ static void recursive_populate_directory(struct filesystem_entry *dir)
121 wrote = write_regular_file(e);
122 write_xattr_entry(e);
123 if (verbose) {
124- printf("\tf %04o %9" PRIdoff_t " (%9u) %5d:%-3d %s\n",
125- e->sb.st_mode & ~S_IFMT, e->sb.st_size, wrote,
126+ printf("\tf %04o %9lld (%9u) %5d:%-3d %s\n",
127+ e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size, wrote,
128 (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
129 }
130 break;
131diff --git a/lib/libmtd.c b/lib/libmtd.c
132index 86c89ae..f375381 100644
133--- a/lib/libmtd.c
134+++ b/lib/libmtd.c
135@@ -1079,8 +1079,8 @@ int mtd_read(const struct mtd_dev_info *mtd, int fd, int eb, int offs,
136 /* Seek to the beginning of the eraseblock */
137 seek = (off_t)eb * mtd->eb_size + offs;
138 if (lseek(fd, seek, SEEK_SET) != seek)
139- return sys_errmsg("cannot seek mtd%d to offset %"PRIdoff_t,
140- mtd->mtd_num, seek);
141+ return sys_errmsg("cannot seek mtd%d to offset %lld",
142+ mtd->mtd_num, (long long)seek);
143
144 while (rd < len) {
145 ret = read(fd, buf + rd, len - rd);
146@@ -1188,8 +1188,8 @@ int mtd_write(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb,
147 if (data) {
148 /* Seek to the beginning of the eraseblock */
149 if (lseek(fd, seek, SEEK_SET) != seek)
150- return sys_errmsg("cannot seek mtd%d to offset %"PRIdoff_t,
151- mtd->mtd_num, seek);
152+ return sys_errmsg("cannot seek mtd%d to offset %lld",
153+ mtd->mtd_num, (long long)seek);
154 ret = write(fd, data, len);
155 if (ret != len)
156 return sys_errmsg("cannot write %d bytes to mtd%d "
157diff --git a/misc-utils/flash_erase.c b/misc-utils/flash_erase.c
158index 0c9449f..ec4b2e1 100644
159--- a/misc-utils/flash_erase.c
160+++ b/misc-utils/flash_erase.c
161@@ -53,8 +53,8 @@ int target_endian = __BYTE_ORDER;
162 static void show_progress(struct mtd_dev_info *mtd, off_t start, int eb,
163 int eb_start, int eb_cnt)
164 {
165- bareverbose(!quiet, "\rErasing %d Kibyte @ %"PRIxoff_t" -- %2i %% complete ",
166- mtd->eb_size / 1024, start, ((eb - eb_start) * 100) / eb_cnt);
167+ bareverbose(!quiet, "\rErasing %d Kibyte @ %llx -- %2i %% complete ",
168+ mtd->eb_size / 1024, (unsigned long long)start, ((eb - eb_start) * 100) / eb_cnt);
169 fflush(stdout);
170 }
171
172@@ -210,7 +210,7 @@ int main(int argc, char *argv[])
173 if (!noskipbad) {
174 int ret = mtd_is_bad(&mtd, fd, eb);
175 if (ret > 0) {
176- verbose(!quiet, "Skipping bad block at %08"PRIxoff_t, offset);
177+ verbose(!quiet, "Skipping bad block at %08llx", (unsigned long long)offset);
178 continue;
179 } else if (ret < 0) {
180 if (errno == EOPNOTSUPP) {
181diff --git a/misc-utils/flash_otp_write.c b/misc-utils/flash_otp_write.c
182index b02d0b0..04c96c6 100644
183--- a/misc-utils/flash_otp_write.c
184+++ b/misc-utils/flash_otp_write.c
185@@ -76,7 +76,7 @@ int main(int argc,char *argv[])
186 return errno;
187 }
188
189- printf("Writing OTP user data on %s at offset 0x%"PRIxoff_t"\n", argv[2], offset);
190+ printf("Writing OTP user data on %s at offset 0x%llx\n", argv[2], (unsigned long long)offset);
191
192 if (mtd_type_is_nand_user(&mtdInfo))
193 len = mtdInfo.writesize;
194diff --git a/misc-utils/ftl_check.c b/misc-utils/ftl_check.c
195index a853cf4..e854922 100644
196--- a/misc-utils/ftl_check.c
197+++ b/misc-utils/ftl_check.c
198@@ -131,7 +131,7 @@ static void check_partition(int fd)
199 perror("read failed");
200 break;
201 }
202- printf("\nErase unit %"PRIdoff_t":\n", i);
203+ printf("\nErase unit %lld:\n", (long long)i);
204 if ((hdr2.FormattedSize != hdr.FormattedSize) ||
205 (hdr2.NumEraseUnits != hdr.NumEraseUnits) ||
206 (hdr2.SerialNumber != hdr.SerialNumber))
207diff --git a/misc-utils/mtd_debug.c b/misc-utils/mtd_debug.c
208index ac37e23..d65ad36 100644
209--- a/misc-utils/mtd_debug.c
210+++ b/misc-utils/mtd_debug.c
211@@ -160,7 +160,7 @@ retry:
212 if (buf != NULL)
213 free(buf);
214 close(outfd);
215- printf("Copied %zu bytes from address 0x%.8"PRIxoff_t" in flash to %s\n", len, offset, filename);
216+ printf("Copied %zu bytes from address 0x%.8llx in flash to %s\n", len, (unsigned long long)offset, filename);
217 return 0;
218
219 err2:
220@@ -225,7 +225,7 @@ retry:
221 if (buf != NULL)
222 free(buf);
223 fclose(fp);
224- printf("Copied %d bytes from %s to address 0x%.8"PRIxoff_t" in flash\n", len, filename, offset);
225+ printf("Copied %d bytes from %s to address 0x%.8llx in flash\n", len, filename, (unsigned long long)offset);
226 return 0;
227 }
228
229diff --git a/misc-utils/serve_image.c b/misc-utils/serve_image.c
230index f2475d6..6c8c8fb 100644
231--- a/misc-utils/serve_image.c
232+++ b/misc-utils/serve_image.c
233@@ -129,8 +129,8 @@ int main(int argc, char **argv)
234 }
235
236 if (st.st_size % erasesize) {
237- fprintf(stderr, "Image size %" PRIdoff_t " bytes is not a multiple of erasesize %d bytes\n",
238- st.st_size, erasesize);
239+ fprintf(stderr, "Image size %lld bytes is not a multiple of erasesize %d bytes\n",
240+ (long long)st.st_size, erasesize);
241 exit(1);
242 }
243 image = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, rfd, 0);
244diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c
245index 84753d6..0a7f142 100644
246--- a/tests/fs-tests/integrity/integck.c
247+++ b/tests/fs-tests/integrity/integck.c
248@@ -897,8 +897,8 @@ static ssize_t file_write_data(struct file_info *file, int fd, off_t offset,
249 remains = size;
250 actual = 0;
251 written = IO_BUFFER_SIZE;
252- v("write %zd bytes, offset %"PRIdoff_t", file %s",
253- size, offset, get_file_name(file));
254+ v("write %zd bytes, offset %lld, file %s",
255+ size, (long long)offset, get_file_name(file));
256 while (remains) {
257 /* Fill up buffer with random data */
258 if (written < IO_BUFFER_SIZE) {
259diff --git a/tests/mtd-tests/nandpagetest.c b/tests/mtd-tests/nandpagetest.c
260index c6812df..465e548 100644
261--- a/tests/mtd-tests/nandpagetest.c
262+++ b/tests/mtd-tests/nandpagetest.c
263@@ -232,8 +232,8 @@ static int verify_eraseblock(int ebnum)
264 return err;
265
266 if (lseek(fd, addr, SEEK_SET) != addr) {
267- fprintf(stderr, "cannot seek mtd%d to offset %"PRIdloff_t,
268- mtd.mtd_num, addr);
269+ fprintf(stderr, "cannot seek mtd%d to offset %lld",
270+ mtd.mtd_num, (long long)addr);
271 return -1;
272 }
273
274diff --git a/tests/ubi-tests/integ.c b/tests/ubi-tests/integ.c
275index 26c2ce5..1cd0649 100644
276--- a/tests/ubi-tests/integ.c
277+++ b/tests/ubi-tests/integ.c
278@@ -243,7 +243,7 @@ static void check_erase_block(struct erase_block_info *erase_block, int fd)
279 while (size)
280 if (read_buffer[--size] != 0xff) {
281 fprintf(stderr, "block no. = %d\n" , erase_block->block_number);
282- fprintf(stderr, "offset = %"PRIdoff_t"\n" , gap_start);
283+ fprintf(stderr, "offset = %lld\n" , (long long)gap_start);
284 fprintf(stderr, "size = %ld\n" , (long) bytes_read);
285 error_exit("verify 0xff failed");
286 }
287@@ -254,7 +254,7 @@ static void check_erase_block(struct erase_block_info *erase_block, int fd)
288 errno = 0;
289 bytes_read = read(fd, read_buffer, w->size);
290 if (bytes_read != w->size) {
291- fprintf(stderr, "offset = %"PRIdoff_t"\n" , w->offset);
292+ fprintf(stderr, "offset = %lld\n" , (long long)w->offset);
293 fprintf(stderr, "size = %ld\n" , (long) w->size);
294 fprintf(stderr, "bytes_read = %ld\n" , (long) bytes_read);
295 error_exit("read failed");
296@@ -279,7 +279,7 @@ static void check_erase_block(struct erase_block_info *erase_block, int fd)
297 while (size)
298 if (read_buffer[--size] != 0xff) {
299 fprintf(stderr, "block no. = %d\n" , erase_block->block_number);
300- fprintf(stderr, "offset = %"PRIdoff_t"\n" , gap_start);
301+ fprintf(stderr, "offset = %lld\n" , (long long)gap_start);
302 fprintf(stderr, "size = %ld\n" , (long) bytes_read);
303 error_exit("verify 0xff failed!");
304 }
305diff --git a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
306index c916f48..f0237ab 100644
307--- a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
308+++ b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
309@@ -772,11 +772,11 @@ int write_leb(int lnum, int len, void *buf)
310 return sys_err_msg("ubi_leb_change_start failed");
311
312 if (lseek(out_fd, pos, SEEK_SET) != pos)
313- return sys_err_msg("lseek failed seeking %"PRIdoff_t, pos);
314+ return sys_err_msg("lseek failed seeking %lld", (long long)pos);
315
316 if (write(out_fd, buf, c->leb_size) != c->leb_size)
317- return sys_err_msg("write failed writing %d bytes at pos %"PRIdoff_t,
318- c->leb_size, pos);
319+ return sys_err_msg("write failed writing %d bytes at pos %lld",
320+ c->leb_size, (long long)pos);
321
322 return 0;
323 }
324--
3252.7.4
326
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0005-common.h-replace-getline-with-fgets.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0005-common.h-replace-getline-with-fgets.patch
deleted file mode 100644
index a556ed3d87..0000000000
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0005-common.h-replace-getline-with-fgets.patch
+++ /dev/null
@@ -1,56 +0,0 @@
1From 2137eb1a6cd0326510bd3b9faf8037d9bf34ca3d Mon Sep 17 00:00:00 2001
2From: Andrea Adami <andrea.adami@gmail.com>
3Date: Wed, 23 May 2018 15:52:34 +0200
4Subject: [PATCH] common.h: replace getline() with fgets
5
6There is an unofficial upstream patch adding a simple getline()
7to libmissing.h. Unfortunately the patch creates issues if the
8toolchain is using glibc (autotools cache?) so for the moment
9keep the old hack and wait for commits upstream.
10
11Fix:
12
13| ubi-utils/ubiformat.o: In function `prompt.constprop.4':
14| ubiformat.c:(.text+0x70): undefined reference to `getline'
15
16Upstream-Status: Inappropriate [klibc specific]
17
18Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
19---
20 include/common.h | 11 +++++++++++
21 1 file changed, 11 insertions(+)
22
23diff --git a/include/common.h b/include/common.h
24index a1d59d0..96b0bdb 100644
25--- a/include/common.h
26+++ b/include/common.h
27@@ -126,15 +126,26 @@ extern "C" {
28 */
29 static inline bool prompt(const char *msg, bool def)
30 {
31+
32+#ifndef __KLIBC__
33 char *line = NULL;
34 size_t len;
35+#else
36+ char *line;
37+ const int sizeof_line = 2;
38+ line = malloc(sizeof_line);
39+#endif
40 bool ret = def;
41
42 do {
43 normsg_cont("%s (%c/%c) ", msg, def ? 'Y' : 'y', def ? 'n' : 'N');
44 fflush(stdout);
45
46+#ifndef __KLIBC__
47 while (getline(&line, &len, stdin) == -1) {
48+#else
49+ while (fgets(line, sizeof_line, stdin) == NULL) {
50+#endif
51 printf("failed to read prompt; assuming '%s'\n",
52 def ? "yes" : "no");
53 break;
54--
552.7.4
56
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
index 4ee9bd9a18..26a07688e9 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
@@ -23,9 +23,9 @@ diff --git a/include/libmissing.h b/include/libmissing.h
23index 0196033..832c372 100644 23index 0196033..832c372 100644
24--- a/include/libmissing.h 24--- a/include/libmissing.h
25+++ b/include/libmissing.h 25+++ b/include/libmissing.h
26@@ -3,9 +3,11 @@ 26@@ -1,9 +1,11 @@
27 27 #ifndef LIBMISSING_H
28 #include "config.h" 28 #define LIBMISSING_H
29 29
30+#ifndef __KLIBC__ 30+#ifndef __KLIBC__
31 #ifdef HAVE_EXECINFO_H 31 #ifdef HAVE_EXECINFO_H
@@ -35,6 +35,3 @@ index 0196033..832c372 100644
35 35
36 #ifndef HAVE_EXECINFO_H 36 #ifndef HAVE_EXECINFO_H
37 int backtrace(void **buffer, int size); 37 int backtrace(void **buffer, int size);
38--
392.7.4
40
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-make-Add-compiler-includes-in-cflags.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-make-Add-compiler-includes-in-cflags.patch
index 778d830128..d58cdfd5c4 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-make-Add-compiler-includes-in-cflags.patch
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0001-make-Add-compiler-includes-in-cflags.patch
@@ -19,14 +19,11 @@ diff --git a/Makefile.am b/Makefile.am
19index 5a6e77c..f0003d5 100644 19index 5a6e77c..f0003d5 100644
20--- a/Makefile.am 20--- a/Makefile.am
21+++ b/Makefile.am 21+++ b/Makefile.am
22@@ -9,6 +9,7 @@ endif 22@@ -26,6 +26,7 @@ endif
23 if WITHOUT_LZO 23 if WITH_CRYPTO
24 AM_CPPFLAGS += -DWITHOUT_LZO 24 AM_CPPFLAGS += -DWITH_CRYPTO
25 endif 25 endif
26+AM_CPPFLAGS += -I$(shell $(CC) -print-file-name=include) 26+AM_CPPFLAGS += -I$(shell $(CC) -print-file-name=include)
27 27
28 sbin_PROGRAMS = 28 sbin_PROGRAMS =
29 sbin_SCRIPTS = 29 sbin_SCRIPTS =
30--
312.30.0
32
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0003-Makefile.am-only-build-ubi-utils.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch
index 38ab7a91cb..de36c3c8d9 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0003-Makefile.am-only-build-ubi-utils.patch
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch
@@ -16,7 +16,7 @@ diff --git a/Makefile.am b/Makefile.am
16index 5a6e77c..98715dd 100644 16index 5a6e77c..98715dd 100644
17--- a/Makefile.am 17--- a/Makefile.am
18+++ b/Makefile.am 18+++ b/Makefile.am
19@@ -34,9 +34,9 @@ EXTRA_DIST += $(GLOBAL_HEADER) $(GLOBAL_EXTRA) 19@@ -46,9 +46,9 @@ EXTRA_DIST = COPYING CHANGELOG.md README.txt
20 20
21 include lib/Makemodule.am 21 include lib/Makemodule.am
22 include ubi-utils/Makemodule.am 22 include ubi-utils/Makemodule.am
@@ -29,6 +29,3 @@ index 5a6e77c..98715dd 100644
29 29
30 if BUILD_UBIFS 30 if BUILD_UBIFS
31 include ubifs-utils/Makemodule.am 31 include ubifs-utils/Makemodule.am
32--
332.7.4
34
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch
index 2844a5020c..2844a5020c 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.3.0.bb
index 461d75e625..3fcda333c9 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.3.0.bb
@@ -9,18 +9,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
9 9
10inherit autotools pkgconfig klibc 10inherit autotools pkgconfig klibc
11 11
12SRCREV = "64f61a9dc71b158c7084006cbce4ea23886f0b47" 12SRCREV = "4594fc1f4496a0ed55cabd31fbeba4e3fbf05602"
13SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master \ 13SRC_URI = "git://git.infraroot.at/mtd-utils.git;protocol=https;branch=master \
14 file://0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch \ 14 file://0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch \
15 file://0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch \
16 file://0003-Makefile.am-only-build-ubi-utils.patch \ 15 file://0003-Makefile.am-only-build-ubi-utils.patch \
17 file://0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch \ 16 file://0004-mtd-utils-common.h-no-features.h-for-klibc-builds.patch \
18 file://0005-common.h-replace-getline-with-fgets.patch \
19 file://0001-make-Add-compiler-includes-in-cflags.patch \ 17 file://0001-make-Add-compiler-includes-in-cflags.patch \
20 " 18 "
21 19
22 20# ubihealthd fails to build since 2.3.0
23EXTRA_OECONF += "--disable-tests --without-jffs --without-ubifs" 21EXTRA_OECONF += "--without-tests --without-jffs --without-ubifs --disable-ubihealthd"
24 22
25PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}" 23PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}"
26PACKAGECONFIG[xattr] = ",,acl," 24PACKAGECONFIG[xattr] = ",,acl,"
@@ -36,7 +34,7 @@ PACKAGES = "ubi-utils-klibc-dbg ubi-utils-klibc-doc"
36 34
37PACKAGES =+ "mtdinfo-klibc ubiattach-klibc ubiblock-klibc ubicrc32-klibc ubidetach-klibc \ 35PACKAGES =+ "mtdinfo-klibc ubiattach-klibc ubiblock-klibc ubicrc32-klibc ubidetach-klibc \
38 ubiformat-klibc ubimkvol-klibc ubinfo-klibc ubinize-klibc ubirename-klibc \ 36 ubiformat-klibc ubimkvol-klibc ubinfo-klibc ubinize-klibc ubirename-klibc \
39 ubirmvol-klibc ubirsvol-klibc ubiupdatevol-klibc" 37 ubirmvol-klibc ubirsvol-klibc ubiscan-klibc ubiupdatevol-klibc"
40 38
41FILES:mtdinfo-klibc = "${sbindir}/mtdinfo" 39FILES:mtdinfo-klibc = "${sbindir}/mtdinfo"
42FILES:ubiattach-klibc = "${sbindir}/ubiattach" 40FILES:ubiattach-klibc = "${sbindir}/ubiattach"
@@ -50,4 +48,5 @@ FILES:ubinize-klibc = "${sbindir}/ubinize"
50FILES:ubirename-klibc = "${sbindir}/ubirename" 48FILES:ubirename-klibc = "${sbindir}/ubirename"
51FILES:ubirmvol-klibc = "${sbindir}/ubirmvol" 49FILES:ubirmvol-klibc = "${sbindir}/ubirmvol"
52FILES:ubirsvol-klibc = "${sbindir}/ubirsvol" 50FILES:ubirsvol-klibc = "${sbindir}/ubirsvol"
51FILES:ubiscan-klibc = "${sbindir}/ubiscan"
53FILES:ubiupdatevol-klibc = "${sbindir}/ubiupdatevol" 52FILES:ubiupdatevol-klibc = "${sbindir}/ubiupdatevol"
diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
index 07ac602d12..e6dfe43092 100644
--- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb
+++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
@@ -26,7 +26,7 @@ SRC_URI = "gitsm://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls
26 file://run-ptest \ 26 file://run-ptest \
27 " 27 "
28 28
29SRCREV = "c765c831e5c2a0971410692f92f7a81d6ec65ec2" 29SRCREV = "e185d7fd85499c8ce5ca2a54f5cf8fe7dbe3f8df"
30 30
31UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 31UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
32 32
diff --git a/meta-networking/recipes-protocols/vsomeip/vsomeip/0001-Fix-pkgconfig-dir-for-multilib.patch b/meta-networking/recipes-protocols/vsomeip/vsomeip/0001-Fix-pkgconfig-dir-for-multilib.patch
index 0ddcb642bc..9595241c41 100644
--- a/meta-networking/recipes-protocols/vsomeip/vsomeip/0001-Fix-pkgconfig-dir-for-multilib.patch
+++ b/meta-networking/recipes-protocols/vsomeip/vsomeip/0001-Fix-pkgconfig-dir-for-multilib.patch
@@ -1,4 +1,4 @@
1From 2f931baf290477b586309189445bf87e3bc5d5ba Mon Sep 17 00:00:00 2001 1From 73773d45230a3c9d73ed3c1aa26f0d5c87d29037 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 2 Mar 2022 14:51:13 +0800 3Date: Wed, 2 Mar 2022 14:51:13 +0800
4Subject: [PATCH] Fix pkgconfig dir for multilib 4Subject: [PATCH] Fix pkgconfig dir for multilib
@@ -11,10 +11,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
12 12
13diff --git a/CMakeLists.txt b/CMakeLists.txt 13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index ab399a69..beae6eaf 100644 14index 899f54f0..7f38ecd0 100644
15--- a/CMakeLists.txt 15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt 16+++ b/CMakeLists.txt
17@@ -637,7 +637,7 @@ endif() 17@@ -661,7 +661,7 @@ endif()
18 # create pkg-config file 18 # create pkg-config file
19 if(NOT WIN32) 19 if(NOT WIN32)
20 configure_file(${VSOMEIP_NAME}.pc.in ${PROJECT_BINARY_DIR}/${VSOMEIP_NAME}.pc @ONLY) 20 configure_file(${VSOMEIP_NAME}.pc.in ${PROJECT_BINARY_DIR}/${VSOMEIP_NAME}.pc @ONLY)
@@ -24,5 +24,5 @@ index ab399a69..beae6eaf 100644
24 24
25 ############################################################################## 25 ##############################################################################
26-- 26--
272.25.1 272.34.1
28 28
diff --git a/meta-networking/recipes-protocols/vsomeip/vsomeip/0002-Install-example-configuration-files-to-etc-vsomeip.patch b/meta-networking/recipes-protocols/vsomeip/vsomeip/0002-Install-example-configuration-files-to-etc-vsomeip.patch
index bdaf343606..b1146783d9 100644
--- a/meta-networking/recipes-protocols/vsomeip/vsomeip/0002-Install-example-configuration-files-to-etc-vsomeip.patch
+++ b/meta-networking/recipes-protocols/vsomeip/vsomeip/0002-Install-example-configuration-files-to-etc-vsomeip.patch
@@ -1,4 +1,4 @@
1From ebaa3206ee125741314272cddafa04fa71bd2d1e Mon Sep 17 00:00:00 2001 1From b79c6368d29746fd8c1917ea9c9a36aaf58bb352 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 9 Mar 2022 11:48:44 +0800 3Date: Wed, 9 Mar 2022 11:48:44 +0800
4Subject: [PATCH] Install example configuration files to /etc/vsomeip 4Subject: [PATCH] Install example configuration files to /etc/vsomeip
@@ -11,10 +11,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
12 12
13diff --git a/CMakeLists.txt b/CMakeLists.txt 13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index beae6eaf..d791c12e 100644 14index 7f38ecd0..28919e09 100644
15--- a/CMakeLists.txt 15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt 16+++ b/CMakeLists.txt
17@@ -536,7 +536,7 @@ install(FILES ${PROJECT_BINARY_DIR}/vsomeip.pc DESTINATION lib/pkgconfig) 17@@ -578,7 +578,7 @@ install(FILES ${PROJECT_BINARY_DIR}/vsomeip.pc DESTINATION lib/pkgconfig)
18 endif () 18 endif ()
19 19
20 install ( 20 install (
@@ -24,5 +24,5 @@ index beae6eaf..d791c12e 100644
24 24
25 # Add all targets to the build-tree export set 25 # Add all targets to the build-tree export set
26-- 26--
272.25.1 272.34.1
28 28
diff --git a/meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Do-not-specify-PIE-flag-explicitly.patch b/meta-networking/recipes-protocols/vsomeip/vsomeip/0003-Do-not-specify-PIE-flag-explicitly.patch
index 2d789627a3..824ac99b24 100644
--- a/meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Do-not-specify-PIE-flag-explicitly.patch
+++ b/meta-networking/recipes-protocols/vsomeip/vsomeip/0003-Do-not-specify-PIE-flag-explicitly.patch
@@ -1,4 +1,4 @@
1From ec2d36466c9050ee282ea1c3bb1b5f1f61c96ecb Mon Sep 17 00:00:00 2001 1From 1b6f73f7b36e38dd29d867ef6601df54b64ca85d Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Mon, 17 Jul 2023 14:33:32 +0800 3Date: Mon, 17 Jul 2023 14:33:32 +0800
4Subject: [PATCH] Do not specify PIE flag explicitly 4Subject: [PATCH] Do not specify PIE flag explicitly
@@ -23,9 +23,11 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
23 CMakeLists.txt | 4 ++-- 23 CMakeLists.txt | 4 ++--
24 1 file changed, 2 insertions(+), 2 deletions(-) 24 1 file changed, 2 insertions(+), 2 deletions(-)
25 25
26diff --git a/CMakeLists.txt b/CMakeLists.txt
27index 28919e09..1c192fc5 100644
26--- a/CMakeLists.txt 28--- a/CMakeLists.txt
27+++ b/CMakeLists.txt 29+++ b/CMakeLists.txt
28@@ -70,7 +70,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" 30@@ -73,7 +73,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
29 if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") 31 if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
30 # This is only relevant for GCC and causes warnings on Clang 32 # This is only relevant for GCC and causes warnings on Clang
31 set(EXPORTSYMBOLS "-Wl,-export-dynamic -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exportmap.gcc") 33 set(EXPORTSYMBOLS "-Wl,-export-dynamic -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exportmap.gcc")
@@ -34,12 +36,15 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
34 endif() 36 endif()
35 37
36 set(NO_DEPRECATED "") 38 set(NO_DEPRECATED "")
37@@ -78,7 +78,7 @@ endif() 39@@ -82,7 +82,7 @@ endif()
38 if(NOT DEFINED _FORTIFY_SOURCE) 40 if(NOT DEFINED _FORTIFY_SOURCE)
39 set(_FORTIFY_SOURCE 2) 41 set(_FORTIFY_SOURCE 2)
40 endif() 42 endif()
41- set(OS_CXX_FLAGS "${OS_CXX_FLAGS} -D_GLIBCXX_USE_NANOSLEEP -pthread -O -Wall -Wextra -Wformat -Wformat-security -Wconversion -fexceptions -fstrict-aliasing -fstack-protector-strong -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_FORTIFY_SOURCE=${_FORTIFY_SOURCE} -Wformat -Wformat-security -Wpedantic -Werror -fPIE") 43- set(OS_CXX_FLAGS "${OS_CXX_FLAGS} -D_GLIBCXX_USE_NANOSLEEP -pthread -O -Wall -Wextra -Wformat -Wformat-security -Wconversion -fexceptions -fstrict-aliasing -fstack-protector-strong -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_FORTIFY_SOURCE=${_FORTIFY_SOURCE} -Wformat -Wformat-security -Wpedantic -Werror -fPIE -Wno-inconsistent-missing-override")
42+ set(OS_CXX_FLAGS "${OS_CXX_FLAGS} -D_GLIBCXX_USE_NANOSLEEP -pthread -O -Wall -Wextra -Wformat -Wformat-security -Wconversion -fexceptions -fstrict-aliasing -fstack-protector-strong -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_FORTIFY_SOURCE=${_FORTIFY_SOURCE} -Wformat -Wformat-security -Wpedantic") 44+ set(OS_CXX_FLAGS "${OS_CXX_FLAGS} -D_GLIBCXX_USE_NANOSLEEP -pthread -O -Wall -Wextra -Wformat -Wformat-security -Wconversion -fexceptions -fstrict-aliasing -fstack-protector-strong -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_FORTIFY_SOURCE=${_FORTIFY_SOURCE} -Wformat -Wformat-security -Wpedantic -Werror -Wno-inconsistent-missing-override")
43 45
44 # force all use of std::mutex and std::recursive_mutex to use runtime init 46 # force all use of std::mutex and std::recursive_mutex to use runtime init
45 # instead of static initialization so mutexes can be hooked to enable PI as needed 47 # instead of static initialization so mutexes can be hooked to enable PI as needed
48--
492.34.1
50
diff --git a/meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Fix-build-with-boost-1.89.patch b/meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Fix-build-with-boost-1.89.patch
new file mode 100644
index 0000000000..b3caded33c
--- /dev/null
+++ b/meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Fix-build-with-boost-1.89.patch
@@ -0,0 +1,42 @@
1From 22af350ba78b5d2f8c6537ff867c3dd5eba05850 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Mon, 3 Nov 2025 23:06:35 +0800
4Subject: [PATCH] Fix build with boost 1.89
5
6The Boost.System stub library has been removed in Boost 1.89.0[1], which
7causes a CMake error:
8
9CMake Error at Boost-1.89.0/BoostConfig.cmake:141 (find_package):
10 Could not find a package configuration file provided by "boost_system"
11 (requested version 1.89.0) with any of the following names:
12 boost_systemConfig.cmake
13 boost_system-config.cmake
14
15Drop 'system' from the COMPONENTS in find_package to fix this issue[2].
16
17[1] https://github.com/boostorg/system/commit/7a495bb46d7ccd808e4be2a6589260839b0fd3a3
18[2] https://github.com/boostorg/system/issues/132
19
20Upstream-Status: Pending
21
22Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
23---
24 CMakeLists.txt | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27diff --git a/CMakeLists.txt b/CMakeLists.txt
28index 1c192fc5..e6b54bc5 100644
29--- a/CMakeLists.txt
30+++ b/CMakeLists.txt
31@@ -189,7 +189,7 @@ add_definitions(-DVSOMEIP_INTERNAL_SUPPRESS_DEPRECATED)
32 find_package(Threads REQUIRED)
33
34 # Boost
35-find_package( Boost 1.66 COMPONENTS system thread filesystem REQUIRED )
36+find_package( Boost 1.66 COMPONENTS thread filesystem REQUIRED )
37 if(${CMAKE_SYSTEM_NAME} MATCHES "QNX")
38 include_directories(${Boost_INCLUDE_DIR} )
39 else()
40--
412.34.1
42
diff --git a/meta-networking/recipes-protocols/vsomeip/vsomeip/0005-Replace-address-from_string-with-make_address.patch b/meta-networking/recipes-protocols/vsomeip/vsomeip/0005-Replace-address-from_string-with-make_address.patch
new file mode 100644
index 0000000000..0e8ff6e2ca
--- /dev/null
+++ b/meta-networking/recipes-protocols/vsomeip/vsomeip/0005-Replace-address-from_string-with-make_address.patch
@@ -0,0 +1,47 @@
1From 83fdae064c4bd5d38f23679fc8793e44e563c046 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 4 Nov 2025 22:10:33 +0800
4Subject: [PATCH] Replace address::from_string with make_address
5
6boost::asio::ip::address::from_string is deprecated since boost 1.87[1].
7Replace it with make_address.
8
9Fix:
10implementation/routing/src/routing_manager_impl.cpp:1406:98: error: 'from_string' is not a member of 'boost::asio::ip::address_v4'
11 1406 | _remote_address.is_v4() ? _remote_address.to_v4() : boost::asio::ip::address_v4::from_string("6.6.6.6");
12 | ^~~~~~~~~~~
13
14[1] https://github.com/boostorg/asio/commit/c0d1cfce7767599c4cf00df36f8017a1073339ae
15
16Upstream-Status: Pending
17
18Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
19---
20 implementation/routing/src/routing_manager_impl.cpp | 4 ++--
21 1 file changed, 2 insertions(+), 2 deletions(-)
22
23diff --git a/implementation/routing/src/routing_manager_impl.cpp b/implementation/routing/src/routing_manager_impl.cpp
24index ad587c5e..73aeb334 100644
25--- a/implementation/routing/src/routing_manager_impl.cpp
26+++ b/implementation/routing/src/routing_manager_impl.cpp
27@@ -1403,7 +1403,7 @@ void routing_manager_impl::on_message(const byte_t* _data, length_t _size, endpo
28 if (is_forwarded) {
29 trace::header its_header;
30 const boost::asio::ip::address_v4 its_remote_address =
31- _remote_address.is_v4() ? _remote_address.to_v4() : boost::asio::ip::address_v4::from_string("6.6.6.6");
32+ _remote_address.is_v4() ? _remote_address.to_v4() : boost::asio::ip::make_address_v4("6.6.6.6");
33 trace::protocol_e its_protocol = _receiver->is_local() ? trace::protocol_e::local
34 : _receiver->is_reliable() ? trace::protocol_e::tcp
35 : trace::protocol_e::udp;
36@@ -1441,7 +1441,7 @@ bool routing_manager_impl::on_message(service_t _service, instance_t _instance,
37 std::shared_ptr<endpoint> _receiver = its_info->get_endpoint(_reliable);
38 if (_receiver && _receiver.get()) {
39 if(!is_acl_message_allowed(_receiver.get(), _service, _instance,
40- boost::asio::ip::address_v4::from_string("127.0.0.1"))) {
41+ boost::asio::ip::make_address_v4("127.0.0.1"))) {
42 return false;
43 }
44 }
45--
462.34.1
47
diff --git a/meta-networking/recipes-protocols/vsomeip/vsomeip/0005-test-common-CMakeLists.txt-add-missing-link-with-dlt.patch b/meta-networking/recipes-protocols/vsomeip/vsomeip/0005-test-common-CMakeLists.txt-add-missing-link-with-dlt.patch
deleted file mode 100644
index 25d66514f8..0000000000
--- a/meta-networking/recipes-protocols/vsomeip/vsomeip/0005-test-common-CMakeLists.txt-add-missing-link-with-dlt.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 8676ef287bb25b49668be4336387bdf83a0cae5c Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Mon, 1 Jan 2024 17:02:41 +0800
4Subject: [PATCH] test/common/CMakeLists.txt: add missing link with dlt
5
6The libvsomeip_utilities library uses functions e.g.
7dlt_check_library_version/dlt_register_app/dlt_unregister_app which are
8provided by dlt therefore add it to linker flags.
9
10Fixes:
11x86_64-poky-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: dlt_check_library_version
12>>> referenced by test/common/libvsomeip_utilities.so
13
14x86_64-poky-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: dlt_register_app
15>>> referenced by test/common/libvsomeip_utilities.so
16
17x86_64-poky-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: dlt_unregister_app
18>>> referenced by test/common/libvsomeip_utilities.so
19
20Upstream-Status: Submitted [https://github.com/COVESA/vsomeip/pull/602]
21
22Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
23---
24 test/common/CMakeLists.txt | 1 +
25 1 file changed, 1 insertion(+)
26
27diff --git a/test/common/CMakeLists.txt b/test/common/CMakeLists.txt
28index d4d14534..afc8c2d6 100644
29--- a/test/common/CMakeLists.txt
30+++ b/test/common/CMakeLists.txt
31@@ -27,6 +27,7 @@ TARGET_LINK_LIBRARIES (
32 ${Boost_LIBRARIES}
33 ${DL_LIBRARY}
34 ${TEST_LINK_LIBRARIES}
35+ ${DLT_LIBRARIES}
36 )
37
38 # ----------------------------------------------------------------------------
39--
402.25.1
41
diff --git a/meta-networking/recipes-protocols/vsomeip/vsomeip/0006-Fix-scanning-64-bit-integer-types.patch b/meta-networking/recipes-protocols/vsomeip/vsomeip/0006-Fix-scanning-64-bit-integer-types.patch
new file mode 100644
index 0000000000..f7aca8333d
--- /dev/null
+++ b/meta-networking/recipes-protocols/vsomeip/vsomeip/0006-Fix-scanning-64-bit-integer-types.patch
@@ -0,0 +1,128 @@
1From 2cdb9e4d2fc7ac11a886b7b524b6b9b5173b5667 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 4 Nov 2025 12:50:51 +0800
4Subject: [PATCH] Fix scanning 64-bit integer types
5
6Fix build error on 32-bit host:
7test/network_tests/cpu_load_tests/cpu_load_measurer.cpp:89:24: error: format '%lu' expects argument of type 'long unsigned int*',
8but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Werror=format=]
9 89 | "%lu %lu %ld %ld", // utime, stime, cutime, cstime
10 | ~~^
11 | |
12 | long unsigned int*
13 | %llu
14 90 | &utime, &stime, &cutime, &cstime)
15 | ~~~~~~
16 | |
17 | uint64_t* {aka long long unsigned int*}
18
19Upstream-Status: Pending
20
21Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
22---
23 implementation/routing/src/routing_manager_impl.cpp | 4 +++-
24 test/network_tests/cpu_load_tests/cpu_load_measurer.cpp | 6 ++++--
25 test/network_tests/memory_tests/memory_test_client.cpp | 4 +++-
26 test/network_tests/memory_tests/memory_test_service.cpp | 4 +++-
27 4 files changed, 13 insertions(+), 5 deletions(-)
28
29diff --git a/implementation/routing/src/routing_manager_impl.cpp b/implementation/routing/src/routing_manager_impl.cpp
30index 73aeb334..0d729714 100644
31--- a/implementation/routing/src/routing_manager_impl.cpp
32+++ b/implementation/routing/src/routing_manager_impl.cpp
33@@ -9,6 +9,7 @@
34 #include <sstream>
35 #include <forward_list>
36 #include <thread>
37+#include <cinttypes>
38
39 #if defined(__linux__) || defined(__QNX__)
40 #include <unistd.h>
41@@ -3828,7 +3829,8 @@ void routing_manager_impl::memory_log_timer_cbk(boost::system::error_code const&
42 std::uint64_t its_dirtypages(0);
43
44 if (EOF
45- == std::fscanf(its_file, "%lu %lu %lu %lu %lu %lu %lu", &its_size, &its_rsssize, &its_sharedpages, &its_text, &its_lib, &its_data,
46+ == std::fscanf(its_file, "%" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64,
47+ &its_size, &its_rsssize, &its_sharedpages, &its_text, &its_lib, &its_data,
48 &its_dirtypages)) {
49 VSOMEIP_ERROR << "memory_log_timer_cbk: error reading: errno " << errno;
50 }
51diff --git a/test/network_tests/cpu_load_tests/cpu_load_measurer.cpp b/test/network_tests/cpu_load_tests/cpu_load_measurer.cpp
52index aaf91174..dfe27e8c 100644
53--- a/test/network_tests/cpu_load_tests/cpu_load_measurer.cpp
54+++ b/test/network_tests/cpu_load_tests/cpu_load_measurer.cpp
55@@ -12,6 +12,7 @@
56 #include <vector>
57 #include <stdexcept>
58 #include <cstdio>
59+#include <cinttypes>
60
61 #include <sys/types.h>
62 #include <unistd.h>
63@@ -86,7 +87,7 @@ std::uint64_t cpu_load_measurer::read_proc_pid_stat() {
64 std::int64_t cstime(0);
65 if (std::fscanf(f,
66 "%*d %*s %*c %*d %*d %*d %*d %*d %*u %*u %*u %*u %*u "
67- "%lu %lu %ld %ld", // utime, stime, cutime, cstime
68+ "%" SCNu64 " %" SCNu64 " %" SCNi64 " %" SCNi64, // utime, stime, cutime, cstime
69 &utime, &stime, &cutime, &cstime)
70 == EOF) {
71 std::cerr << "Failed to read " + path << std::endl;
72@@ -116,7 +117,8 @@ std::uint64_t cpu_load_measurer::read_proc_stat(std::uint64_t* _idle) {
73 std::uint64_t steal(0);
74 std::uint64_t guest(0);
75 std::uint64_t guest_nice(0);
76- if (std::fscanf(f, "%*s %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu", &user, &nice, &system, &idle, &iowait, &irq, &softirq, &steal, &guest,
77+ if (std::fscanf(f, "%*s %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64,
78+ &user, &nice, &system, &idle, &iowait, &irq, &softirq, &steal, &guest,
79 &guest_nice)
80 == EOF) {
81 std::cerr << "Failed to read /proc/stat" << std::endl;
82diff --git a/test/network_tests/memory_tests/memory_test_client.cpp b/test/network_tests/memory_tests/memory_test_client.cpp
83index 102c8218..d922ad81 100644
84--- a/test/network_tests/memory_tests/memory_test_client.cpp
85+++ b/test/network_tests/memory_tests/memory_test_client.cpp
86@@ -6,6 +6,7 @@
87 #include <chrono>
88 #include <iomanip>
89 #include <cstring>
90+#include <cinttypes>
91
92 #include <vsomeip/internal/logger.hpp>
93 #include "memory_test_client.hpp"
94@@ -30,7 +31,8 @@ void check_memory(std::vector<std::uint64_t>& test_memory_, std::atomic<bool>& s
95 std::uint64_t its_dirtypages(0);
96
97 if (EOF
98- == std::fscanf(its_file, "%lu %lu %lu %lu %lu %lu %lu", &its_size, &its_rsssize, &its_sharedpages, &its_text, &its_lib,
99+ == std::fscanf(its_file, "%" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64,
100+ &its_size, &its_rsssize, &its_sharedpages, &its_text, &its_lib,
101 &its_data, &its_dirtypages)) {
102 VSOMEIP_ERROR << "check_memory: error reading: errno " << errno;
103 }
104diff --git a/test/network_tests/memory_tests/memory_test_service.cpp b/test/network_tests/memory_tests/memory_test_service.cpp
105index a8547395..751c6f9e 100644
106--- a/test/network_tests/memory_tests/memory_test_service.cpp
107+++ b/test/network_tests/memory_tests/memory_test_service.cpp
108@@ -5,6 +5,7 @@
109
110 #include <vsomeip/internal/logger.hpp>
111 #include <cstring>
112+#include <cinttypes>
113
114 #include "memory_test_service.hpp"
115
116@@ -28,7 +29,8 @@ void check_memory(std::vector<std::uint64_t>& test_memory_, std::atomic<bool>& s
117 std::uint64_t its_dirtypages(0);
118
119 if (EOF
120- == std::fscanf(its_file, "%lu %lu %lu %lu %lu %lu %lu", &its_size, &its_rsssize, &its_sharedpages, &its_text, &its_lib,
121+ == std::fscanf(its_file, "%" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64,
122+ &its_size, &its_rsssize, &its_sharedpages, &its_text, &its_lib,
123 &its_data, &its_dirtypages)) {
124 VSOMEIP_ERROR << "check_memory: error reading: errno " << errno;
125 }
126--
1272.34.1
128
diff --git a/meta-networking/recipes-protocols/vsomeip/vsomeip_3.5.3.bb b/meta-networking/recipes-protocols/vsomeip/vsomeip_3.5.9.bb
index f854078004..2ef1682daa 100644
--- a/meta-networking/recipes-protocols/vsomeip/vsomeip_3.5.3.bb
+++ b/meta-networking/recipes-protocols/vsomeip/vsomeip_3.5.9.bb
@@ -7,25 +7,26 @@ SECTION = "net"
7LICENSE = "MPL-2.0" 7LICENSE = "MPL-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
9 9
10GTEST_VER = "1.15.2" 10GTEST_VER = "1.17.0"
11SRC_URI = "git://github.com/GENIVI/${BPN}.git;branch=master;protocol=https;name=vsomeip \ 11SRC_URI = "git://github.com/GENIVI/${BPN}.git;branch=master;protocol=https;name=vsomeip \
12 https://github.com/google/googletest/releases/download/v${GTEST_VER}/googletest-${GTEST_VER}.tar.gz;name=gtest;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/ \ 12 https://github.com/google/googletest/releases/download/v${GTEST_VER}/googletest-${GTEST_VER}.tar.gz;name=gtest;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/ \
13 file://0001-Fix-pkgconfig-dir-for-multilib.patch \ 13 file://0001-Fix-pkgconfig-dir-for-multilib.patch \
14 file://0002-Install-example-configuration-files-to-etc-vsomeip.patch \ 14 file://0002-Install-example-configuration-files-to-etc-vsomeip.patch \
15 file://0004-Do-not-specify-PIE-flag-explicitly.patch \ 15 file://0003-Do-not-specify-PIE-flag-explicitly.patch \
16 file://0005-test-common-CMakeLists.txt-add-missing-link-with-dlt.patch \ 16 file://0004-Fix-build-with-boost-1.89.patch \
17 file://0005-Replace-address-from_string-with-make_address.patch \
18 file://0006-Fix-scanning-64-bit-integer-types.patch \
17 " 19 "
18 20
19SRCREV = "6461369b3874c844642c9adaac9d1b7406794ab8" 21SRCREV = "bb35c97194d6a5f228d68d2b7dabbce67b28af1e"
20SRC_URI[gtest.sha256sum] = "7b42b4d6ed48810c5362c265a17faebe90dc2373c885e5216439d37927f02926" 22SRC_URI[gtest.sha256sum] = "65fab701d9829d38cb77c14acdc431d2108bfdbf8979e40eb8ae567edf10b27c"
21 23
22COMPATIBLE_HOST:mips = "null" 24COMPATIBLE_HOST:mips = "null"
23COMPATIBLE_HOST:mips64 = "null" 25COMPATIBLE_HOST:mips64 = "null"
24COMPATIBLE_HOST:powerpc = "null" 26COMPATIBLE_HOST:powerpc = "null"
25COMPATIBLE_HOST:libc-musl = 'null' 27COMPATIBLE_HOST:libc-musl = 'null'
26 28
27DEPENDS = "boost dlt-daemon googletest" 29DEPENDS = "boost dlt-daemon"
28
29 30
30inherit cmake pkgconfig 31inherit cmake pkgconfig
31 32
@@ -43,9 +44,10 @@ EXTRA_OECMAKE += "-DTEST_IP_MASTER=10.0.3.1 \
43 44
44RDEPENDS:${PN}-test = "bash lsof" 45RDEPENDS:${PN}-test = "bash lsof"
45 46
46do_compile:append() { 47OECMAKE_TARGET_COMPILE += "vsomeip_ctrl examples build_tests"
47 cmake_runcmake_build --target examples 48
48 cmake_runcmake_build --target build_tests 49do_compile:prepend() {
50 sed -i -e 's#${S}/build#/opt/${PN}-test#g' ${S}/test/unit_tests/security_policy_manager_impl_tests/policy_manager_impl_unit_test_macro.hpp
49} 51}
50 52
51do_install:append() { 53do_install:append() {
@@ -58,13 +60,17 @@ do_install:append() {
58 install -d ${D}/opt/${PN}-test/test/test/common 60 install -d ${D}/opt/${PN}-test/test/test/common
59 cp -rf ${S}/test/common/examples_policies \ 61 cp -rf ${S}/test/common/examples_policies \
60 ${D}/opt/${PN}-test/test/test/common/ 62 ${D}/opt/${PN}-test/test/test/common/
63
64 install -d ${D}/opt/${PN}-test/test/common
61 install -m 0755 ${B}/test/common/libvsomeip_utilities.so \ 65 install -m 0755 ${B}/test/common/libvsomeip_utilities.so \
62 ${D}/opt/${PN}-test/test/test/common/ 66 ${D}/opt/${PN}-test/test/common/
63 67
64 for d in unit_tests network_tests; do 68 for d in unit_tests network_tests; do
65 install -d ${D}/opt/${PN}-test/test/$d 69 install -d ${D}/opt/${PN}-test/test/$d
66 cp -rf ${B}/test/$d/*_tests ${D}/opt/${PN}-test/test/$d 70 cp -rf ${B}/test/$d/*_tests ${D}/opt/${PN}-test/test/$d
71 find ${D}/opt/${PN}-test/test/$d -maxdepth 2 \( -name "*.cmake" -o -name "CMakeFiles" \) -exec rm -rf {} \;
67 done 72 done
73 sed -i -e 's#../..${B}#/opt/${PN}-test#g' ${D}/opt/${PN}-test/test/network_tests/lazy_load_tests/vsomeip/vsomeip_policy_extensions.json
68} 74}
69 75
70PACKAGES += "${PN}-test" 76PACKAGES += "${PN}-test"
@@ -75,4 +81,5 @@ FILES:${PN}-dbg += " \
75FILES:${PN}-test = " \ 81FILES:${PN}-test = " \
76 /opt/${PN}-test \ 82 /opt/${PN}-test \
77 " 83 "
78SKIP_RECIPE[vsomeip] ?= "Does not work with boost >= 1.87" 84
85INSANE_SKIP += "32bit-time"
diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
index 78ba1e228c..a54e37562e 100644
--- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
+++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
@@ -33,6 +33,7 @@ PTESTS_FAST_META_OE = "\
33 libxml++-5.0 \ 33 libxml++-5.0 \
34 libyang \ 34 libyang \
35 lmdb \ 35 lmdb \
36 mbedtls \
36 microsoft-gsl \ 37 microsoft-gsl \
37 minicoredumper \ 38 minicoredumper \
38 minizip-ng \ 39 minizip-ng \
diff --git a/meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb b/meta-oe/recipes-gnome/gtk+/gtkmm4_4.20.0.bb
index d3a01e444c..439ab800f8 100644
--- a/meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb
+++ b/meta-oe/recipes-gnome/gtk+/gtkmm4_4.20.0.bb
@@ -3,8 +3,10 @@ HOMEPAGE = "http://www.gtkmm.org/"
3SECTION = "libs" 3SECTION = "libs"
4 4
5LICENSE = "LGPL-2.1-only & GPL-2.0-only" 5LICENSE = "LGPL-2.1-only & GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ 6LIC_FILES_CHKSUM = " \
7 file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe" 7 file://COPYING;md5=4bf661c1e3793e55c8d1051bc5e0ae21 \
8 file://COPYING.tools;md5=570a9b3749dd0463a1778803b12a6dce \
9"
8 10
9DEPENDS = "glib-2.0-native atkmm pangomm-2.48 glibmm gtk4 cairomm-1.16 gdk-pixbuf-native" 11DEPENDS = "glib-2.0-native atkmm pangomm-2.48 glibmm gtk4 cairomm-1.16 gdk-pixbuf-native"
10 12
@@ -14,7 +16,7 @@ inherit gnomebase features_check
14 16
15REQUIRED_DISTRO_FEATURES = "opengl x11" 17REQUIRED_DISTRO_FEATURES = "opengl x11"
16 18
17SRC_URI[archive.sha256sum] = "9350a0444b744ca3dc69586ebd1b6707520922b6d9f4f232103ce603a271ecda" 19SRC_URI[archive.sha256sum] = "daad9bf9b70f90975f91781fc7a656c923a91374261f576c883cd3aebd59c833"
18 20
19EXTRA_OEMESON = "-Dbuild-demos=false" 21EXTRA_OEMESON = "-Dbuild-demos=false"
20 22
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-5.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-8.bb
index 8ba14261ae..f83adb15f2 100644
--- a/meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-5.bb
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-8.bb
@@ -13,7 +13,7 @@ BASE_PV = "${@d.getVar('PV').split('-')[0]}"
13UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>([0-9][\.|_|-]?)+)" 13UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>([0-9][\.|_|-]?)+)"
14 14
15SRC_URI = "git://github.com/ImageMagick/ImageMagick.git;branch=main;protocol=https;tag=${PV}" 15SRC_URI = "git://github.com/ImageMagick/ImageMagick.git;branch=main;protocol=https;tag=${PV}"
16SRCREV = "4a620c2a89a7481e83cb4a0ff32db0ccbb3afcd2" 16SRCREV = "a3b13d143fd7dea44cd71d31aa02f411b597688f"
17 17
18 18
19inherit autotools pkgconfig update-alternatives 19inherit autotools pkgconfig update-alternatives
diff --git a/meta-oe/recipes-test/googletest/googletest/gtest-ciso646.patch b/meta-oe/recipes-test/googletest/googletest/gtest-ciso646.patch
deleted file mode 100644
index 814912650b..0000000000
--- a/meta-oe/recipes-test/googletest/googletest/gtest-ciso646.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1https://github.com/google/googletest/issues/4701
2
3taken from fedora:
4https://src.fedoraproject.org/rpms/gtest/c/b3fe6f803a1e554971f70e1c3f55aa5fcb377b1b?branch=rawhide
5
6Upstream-Status: Pending
7Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
8
9--- ./googletest/include/gtest/internal/gtest-port.h.orig 2025-01-27 03:39:18.963893931 +0000
10+++ ./googletest/include/gtest/internal/gtest-port.h 2025-01-28 13:57:51.381081952 +0000
11@@ -288,11 +288,11 @@
12
13 // Detect C++ feature test macros as gracefully as possible.
14 // MSVC >= 19.15, Clang >= 3.4.1, and GCC >= 4.1.2 support feature test macros.
15-#if GTEST_INTERNAL_CPLUSPLUS_LANG >= 202002L && \
16- (!defined(__has_include) || GTEST_INTERNAL_HAS_INCLUDE(<version>))
17+#if GTEST_INTERNAL_HAS_INCLUDE(<version>) || \
18+ (GTEST_INTERNAL_CPLUSPLUS_LANG >= 202002L && !defined(__has_include))
19 #include <version> // C++20 and later
20-#elif (!defined(__has_include) || GTEST_INTERNAL_HAS_INCLUDE(<ciso646>))
21-#include <ciso646> // Pre-C++20
22+#else
23+#include <cerrno> // Pre-C++20
24 #endif
25
26 #include <ctype.h> // for isspace, etc
diff --git a/meta-oe/recipes-test/googletest/googletest_1.16.0.bb b/meta-oe/recipes-test/googletest/googletest_1.17.0.bb
index 55d670a428..c8ed80053d 100644
--- a/meta-oe/recipes-test/googletest/googletest_1.16.0.bb
+++ b/meta-oe/recipes-test/googletest/googletest_1.17.0.bb
@@ -6,10 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cbbd27594afd089daa160d3a16dd515a"
6 6
7PROVIDES += "gmock gtest" 7PROVIDES += "gmock gtest"
8 8
9SRCREV = "6910c9d9165801d8827d628cb72eb7ea9dd538c5" 9SRC_URI = "git://github.com/google/googletest.git;branch=v1.17.x;protocol=https \
10SRC_URI = "git://github.com/google/googletest.git;branch=v1.16.x;protocol=https \ 10 "
11 file://gtest-ciso646.patch \ 11SRCREV = "52eb8108c5bdec04579160ae17225d66034bd723"
12"
13 12
14inherit cmake pkgconfig 13inherit cmake pkgconfig
15 14