From: Khem Raj Date: Wed, 19 Mar 2025 08:15:37 +0000 (-0700) Subject: tcp-wrappers: Stick to C17 standard X-Git-Tag: 2025-04-walnascar~145 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a532f07eb54b7f66be25a0f9584581ab693b21c;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git tcp-wrappers: Stick to C17 standard GCC 15 has switched to C23 by default and tcp-wrappers is old code pre-c99 and would need to be fixed all around to get to work in C23 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb index 8cf927153f0..05644b7db95 100644 --- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb +++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb @@ -55,6 +55,8 @@ SRC_URI[sha256sum] = "9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489 S = "${WORKDIR}/tcp_wrappers_${PV}" +CFLAGS += "-std=gnu17" + EXTRA_OEMAKE = "'CC=${CC}' \ 'AR=${AR}' \ 'RANLIB=${RANLIB}' \