Skip to contentSkip to conversation

openl2tp: Pin to C17 std

PATCH New Khem Raj 1 participant 4 messages Mar 19, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/4 openl2tp: Pin to C17 std

Does not compile with C23 with GCC-15 and the last release was long time ago.

---
 meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb +1 -1
index d66b7d2390..4e5b45891d 100644
@@ -48,7 +48,7 @@ SYSTEMD_AUTO_ENABLE = "disable"
 
 DEPENDS += "libtirpc"
 CPPFLAGS += "-I${STAGING_INCDIR}/tirpc"
-CFLAGS += "-I${STAGING_INCDIR}/tirpc"
+CFLAGS += "-I${STAGING_INCDIR}/tirpc -std=gnu17"
 LDFLAGS += "-ltirpc"
 
 PARALLEL_MAKE = ""
author
#1 lore raw

PATCH 2/4 python3-multidict: Add missing rdep on python3-pytest-codspeed for ptests

---
 meta-python/recipes-devtools/python/python3-multidict_6.2.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-multidict_6.2.0.bb +1 -0
index 568b1b93ce..8b30574020 100644
@@ -14,6 +14,7 @@ S = "${WORKDIR}/git"
 
 RDEPENDS:${PN}-ptest += " \
     python3-pytest-cov \
+    python3-pytest-codspeed \
 "
 
 BBCLASSEXTEND = "native nativesdk"
author
#2 lore raw

PATCH 3/4 yaml-cpp: Upgrade to tip of trunk

In reply to Khem Raj

Fixes build with gcc-15

---
 meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.8.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.8.0.bb +2 -1
index 44ac0687a7..29e53fcf04 100644
@@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6a8aaf0595c2efc1a9c2e0913e9c1a2c"
 # yaml-cpp releases are stored as archive files in github.
 # download the exact revision of release
 SRC_URI = "git://github.com/jbeder/yaml-cpp.git;branch=master;protocol=https"
-SRCREV = "f7320141120f720aecc4c32be25586e7da9eb978"
+SRCREV = "28f93bdec6387d42332220afa9558060c8016795"
+PV .= "+git"
 
 S = "${WORKDIR}/git"
 
author
#3 lore raw

PATCH 4/4 pytest-codspeed: Add missing rdeps on statistics and rich modules

In reply to Khem Raj
---
 .../recipes-devtools/python/python3-pytest-codspeed_3.0.0.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pytest-codspeed_3.0.0.bb +1 -1
index dd08c0fbfe..0789e9f548 100644
@@ -11,4 +11,4 @@ inherit pypi python_hatchling
 PYPI_PACKAGE = "pytest_codspeed"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
-RDEPENDS:${PN} = "python3-cffi python3-filelock python3-pytest"
+RDEPENDS:${PN} = "python3-cffi python3-filelock python3-pytest python3-rich python3-statistics"