[Bug 283458] databases/postgresql-repmgr fails to build with postgresql 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Dec 2024 03:19:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283458 Bug ID: 283458 Summary: databases/postgresql-repmgr fails to build with postgresql 17 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: FreeBSD@ShaneWare.Biz Flags: maintainer-feedback?(bofh@freebsd.org) Assignee: bofh@freebsd.org Having just upgraded to postgresql v17.2, I found that postgresql-repmgr fails to build. repmgr-client.c:3185:9: error: use of undeclared identifier 'PG_TEMP_FILE_PREFIX' It appears this define has moved from storage/fd.h to common/file_utils.h, the following patch fixed it for me. I expect this change should be adjusted to depend on pgversion. --- repmgr-client.c.orig 2024-12-21 13:30:15 UTC +++ repmgr-client.c @@ -70,7 +70,7 @@ #include "repmgr-action-service.h" #include "repmgr-action-daemon.h" -#include <storage/fd.h> /* for PG_TEMP_FILE_PREFIX */ +#include <common/file_utils.h> /* for PG_TEMP_FILE_PREFIX */ /* globally available variables * * ============================ */ -- You are receiving this mail because: You are the assignee for the bug.