]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
tzcode-native: fix build with gcc-13 on host
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 13 Mar 2023 21:20:22 +0000 (21:20 +0000)
committerSteve Sakoman <steve@sakoman.com>
Tue, 21 Mar 2023 16:39:45 +0000 (06:39 -1000)
commit8aa68cd570212969959131578d105b53d0859e47
treed242e8f61fe81d5a7425225d1b706bb9fd8191a3
parent9b6dcbf40c10bfb640f51ecf2a1a8ea7d487a0f3
tzcode-native: fix build with gcc-13 on host

* passing -std=c2x to avoid build failure with gcc-13 on host
  works as well, but the resulting zic then segfaults when
  used in tzdata, use a fix from upstream instead

* reported upstream in https://mm.icann.org/pipermail/tz/2023-March/032690.html

* fixes:
  http://errors.yoctoproject.org/Errors/Details/697913/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5dabf677f38c209fb6a8ba837d5a66fd89f57d4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/timezone/tzcode-native.bb
meta/recipes-extended/timezone/tzcode/0001-Fix-C23-related-conformance-bug.patch [new file with mode: 0644]