]> git.ipfire.org Git - thirdparty/openwrt.git/commit
tools: cpio: fix compilation with GCC15
authorRobert Marko <robimarko@gmail.com>
Wed, 16 Apr 2025 11:56:22 +0000 (13:56 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 8 Jun 2025 19:28:26 +0000 (21:28 +0200)
commitfe5e590b46b02406b641750c1bf4416b47959a0f
tree391ea0ab9577c3d7813e130dbc67dfc8c9ef2a0b
parentf75d7a5954807e1c8977ccaed6452a2ac6414679
tools: cpio: fix compilation with GCC15

Fedora 42 updated to GCC15 which now defaults to GNU23 as the default
instead of GNU17[1], and this breaks cpio compilation.

Its been reported upstream [2], so import the patch attached to the bug
report that fixes compilation with GCC15.

[1] https://gcc.gnu.org/gcc-15/porting_to.html#c23
[2] https://savannah.gnu.org/bugs/?66297

Link: https://github.com/openwrt/openwrt/pull/18506
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit c5041094ba06b3cdfb9458f1cb5acb00a9cbacd3)
Link: https://github.com/openwrt/openwrt/pull/19065
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
tools/cpio/patches/cpio-c23.patch [new file with mode: 0644]