=== Applying patches on top of PostgreSQL commit ID 027124a872d7b5dfddc69590af42f626b1727dba === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. === applying patch ./v5-0001-Provide-thread-safe-pg_localeconv_r.patch patching file configure Hunk #1 succeeded at 15038 (offset -194 lines). patching file configure.ac Hunk #1 succeeded at 1718 (offset -17 lines). patching file meson.build Hunk #1 succeeded at 2637 (offset -38 lines). patching file src/backend/utils/adt/pg_locale.c Hunk #1 succeeded at 537 (offset -6 lines). Hunk #2 succeeded at 552 (offset -6 lines). Hunk #3 succeeded at 584 (offset -6 lines). patching file src/include/pg_config.h.in Hunk #1 succeeded at 259 (offset -21 lines). patching file src/include/port.h Hunk #1 succeeded at 459 (offset -6 lines). patching file src/port/Makefile patching file src/port/meson.build patching file src/port/pg_localeconv_r.c [cf/5170 ec1a598ae9] Provide thread-safe pg_localeconv_r(). Author: Thomas Munro Date: Tue Aug 13 14:15:54 2024 +1200 9 files changed, 402 insertions(+), 108 deletions(-) create mode 100644 src/port/pg_localeconv_r.c === applying patch ./v5-0002-Use-thread-safe-strftime_l-instead-of-strftime.patch patching file src/backend/main/main.c Hunk #1 succeeded at 120 (offset -1 lines). patching file src/backend/utils/adt/pg_locale.c Hunk #2 succeeded at 636 (offset -6 lines). Hunk #3 succeeded at 653 (offset -6 lines). Hunk #4 succeeded at 674 (offset -6 lines). Hunk #5 succeeded at 717 (offset -5 lines). Hunk #6 succeeded at 725 (offset -5 lines). Hunk #7 succeeded at 762 (offset -5 lines). Hunk #8 succeeded at 775 (offset -5 lines). [cf/5170 c3813bad9c] Use thread-safe strftime_l() instead of strftime(). Author: Thomas Munro Date: Wed Aug 14 23:06:59 2024 +1200 2 files changed, 31 insertions(+), 87 deletions(-) === applying patch ./v5-0003-Remove-setlocale-from-check_locale.patch patching file src/backend/commands/dbcommands.c patching file src/backend/utils/adt/pg_locale.c Hunk #1 succeeded at 162 with fuzz 1 (offset -28 lines). Hunk #2 FAILED at 329. Hunk #3 succeeded at 377 (offset -6 lines). Hunk #4 succeeded at 389 (offset -6 lines). Hunk #5 succeeded at 401 (offset -6 lines). Hunk #6 succeeded at 437 (offset -6 lines). 1 out of 6 hunks FAILED -- saving rejects to file src/backend/utils/adt/pg_locale.c.rej patching file src/bin/initdb/initdb.c Hunk #1 succeeded at 2177 (offset 51 lines). patching file src/include/port/win32_port.h Hunk #1 succeeded at 484 (offset 13 lines). patching file src/include/utils/pg_locale.h Hunk #1 succeeded at 48 with fuzz 1 (offset -3 lines).