]> 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>
Thu, 23 Mar 2023 16:42:22 +0000 (06:42 -1000)
commitac9550404d14e3676ffcbac0344ded27555adf9e
treedf03930d7f896ad5d1cccf61c5540c6a9198493b
parentcf96296296a71d0d164f4e528991f0946efe9b29
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]