diff options
Diffstat (limited to 'dev-db/postgresql')
| -rw-r--r-- | dev-db/postgresql/postgresql-17.1.ebuild | 5 | ||||
| -rw-r--r-- | dev-db/postgresql/postgresql-9999.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-db/postgresql/postgresql-17.1.ebuild b/dev-db/postgresql/postgresql-17.1.ebuild index d2a1c4679c40..06bd5157fb78 100644 --- a/dev-db/postgresql/postgresql-17.1.ebuild +++ b/dev-db/postgresql/postgresql-17.1.ebuild @@ -128,6 +128,11 @@ src_prepare() { } src_configure() { + # Fails to build with C23, fallback to the old default in < GCC 15 + # for now. Reported upstream to pgsql-bugs ML but not yet through + # moderation filter. + append-cflags -std=gnu17 + case ${CHOST} in *-darwin*|*-solaris*) use nls && append-libs intl diff --git a/dev-db/postgresql/postgresql-9999.ebuild b/dev-db/postgresql/postgresql-9999.ebuild index b6efc09b8671..6f69a27051a3 100644 --- a/dev-db/postgresql/postgresql-9999.ebuild +++ b/dev-db/postgresql/postgresql-9999.ebuild @@ -143,6 +143,11 @@ src_prepare() { } src_configure() { + # Fails to build with C23, fallback to the old default in < GCC 15 + # for now. Reported upstream to pgsql-bugs ML but not yet through + # moderation filter. + append-cflags -std=gnu17 + case ${CHOST} in *-darwin*|*-solaris*) use nls && append-libs intl |
