pgpool2: use gnu17 to avoid build failure with gcc-15
PATCH 1/1 pgpool2: use gnu17 to avoid build failure with gcc-15
From: Martin Jansa <[email protected]>
* like e.g. gentoo does:
https://bugs.gentoo.org/940128
--- meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb +4 -0
@@ -48,3 +48,7 @@ do_install:append() { install -D -m 0644 ${S}/src/sample/pool_hba.conf.sample ${D}${sysconfdir}/pgpool-II/pool_hba.conf install -Dm 0644 ${UNPACKDIR}/pgpool.service ${D}${systemd_system_unitdir}/pgpool.service } + +# Avoid build failure with gcc-15: +# http://errors.yoctoproject.org/Errors/Details/853019/ +CFLAGS += "-std=gnu17"
Martin,
While I understand the desire to follow what gentoo is doing, would protecting the typdef in question be a better solution?
i.e. something like this : https://github.com/mirror/xmlrpc-c/pull/4/files
Thanks,
Jason Schonberg
Feel free to do that, I don't even use pgpool2 I was just helping with last few remaining build failures with gcc-15 shown in world build and this is the amount of time I'm willing to spend on pgpool2.
Quoted 9 lines · Jason Schonberg
Martin,
While I understand the desire to follow what gentoo is doing, would protecting the typdef in question be a better solution?
i.e. something like this : https://github.com/mirror/xmlrpc-c/pull/4/files
Thanks,
Jason Schonberg