Message ID | 20250426170358.2557974-1-martin.jansa@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-oe] pgpool2: use gnu17 to avoid build failure with gcc-15 | expand |
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. On Sat, Apr 26, 2025 at 8:36 PM Jason Schonberg <schonm@gmail.com> wrote: > > 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
diff --git a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb index ddcad46beb..a2f7665df1 100644 --- a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb +++ b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb @@ -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"