Skip to contentSkip to conversation

tzcode-native: fix build with gcc-13 on host

PATCH New Martin Jansa 1 participant 1 message Mar 13, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw

PATCH 3/3 tzcode-native: fix build with gcc-13 on host

In reply to a message not in the archive

* 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/

---
 .../timezone/tzcode-native.bb                 |   2 +
 ...0001-Fix-C23-related-conformance-bug.patch | 301 ++++++++++++++++++
 2 files changed, 303 insertions(+)
 create mode 100644 meta/recipes-extended/timezone/tzcode/0001-Fix-C23-related-conformance-bug.patch
meta/recipes-extended/timezone/tzcode-native.bb +2 -0
index d0b23a9d80..6d52b3c422 100644
@@ -2,6 +2,8 @@ require timezone.inc
 
 SUMMARY = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
 
+SRC_URI += "file://0001-Fix-C23-related-conformance-bug.patch"
+
 inherit native
 
 EXTRA_OEMAKE += "cc='${CC}'"
meta/recipes-extended/timezone/tzcode/0001-Fix-C23-related-conformance-bug.patch new file +301 -0

301 lines not on this page · raw message