Fixes build with gcc 16 as well.

Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb | 23 -------------------
 meta-oe/recipes-extended/pegtl/pegtl_4.0.0.bb | 21 +++++++++++++++++
 2 files changed, 21 insertions(+), 23 deletions(-)
 delete mode 100644 meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb
 create mode 100644 meta-oe/recipes-extended/pegtl/pegtl_4.0.0.bb

diff --git a/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb 
b/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb
deleted file mode 100644
index 4d540d0180..0000000000
--- a/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-DESCRIPTION = "header-only library for creating parsers according to Parsing 
Expression Grammar"
-HOMEPAGE = "https://github.com/taocpp/PEGTL";
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=dccf35ef30bf912bb07b01d469965293"
-
-SRC_URI = " \
-       git://github.com/taocpp/PEGTL.git;protocol=https;branch=3.x \
-       file://run-ptest \
-"
-
-SRCREV = "be527327653e94b02e711f7eff59285ad13e1db0"
-
-inherit cmake ptest
-
-
-do_install_ptest () {
-    install -d ${D}${PTEST_PATH}/src/test/pegtl/data
-    install -m 0755 ${B}/src/test/pegtl/pegtl-test-* 
${D}${PTEST_PATH}/src/test/pegtl
-    install ${S}/src/test/pegtl/file_*.txt ${D}${PTEST_PATH}/src/test/pegtl
-    install ${S}/src/test/pegtl/data/*.json 
${D}${PTEST_PATH}/src/test/pegtl/data
-}
-
-CXXFLAGS += " -Wno-error=type-limits"
diff --git a/meta-oe/recipes-extended/pegtl/pegtl_4.0.0.bb 
b/meta-oe/recipes-extended/pegtl/pegtl_4.0.0.bb
new file mode 100644
index 0000000000..00ab23f025
--- /dev/null
+++ b/meta-oe/recipes-extended/pegtl/pegtl_4.0.0.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "header-only library for creating parsers according to Parsing 
Expression Grammar"
+HOMEPAGE = "https://github.com/taocpp/PEGTL";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
+
+SRC_URI = " \
+       git://github.com/taocpp/PEGTL.git;protocol=https;branch=main \
+       file://run-ptest \
+"
+
+SRCREV = "708de300144de0ec8bd58491facfc5f34d0d0559"
+
+inherit cmake ptest
+
+
+do_install_ptest () {
+    install -d ${D}${PTEST_PATH}/src/test/pegtl/data
+    install -m 0755 ${B}/src/test/pegtl-test-* ${D}${PTEST_PATH}/src/test/pegtl
+    install ${S}/src/test/file_*.txt ${D}${PTEST_PATH}/src/test/pegtl
+    install ${S}/src/test/data/*.json ${D}${PTEST_PATH}/src/test/pegtl/data
+}
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127429): 
https://lists.openembedded.org/g/openembedded-devel/message/127429
Mute This Topic: https://lists.openembedded.org/mt/119717981/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to