Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/24964
Change subject: [thirdparty] fix Postgres memset_s() build issue on macOS
......................................................................
[thirdparty] fix Postgres memset_s() build issue on macOS
This changelist adds an extra patch from PostgreSQL's upstream git repo
to address compilation error on macOS after the recent update in Kudu's
3rd-party to enable building with GCC15 [2]:
thirdparty/src/postgresql-17.2/src/port/explicit_bzero.c:22:9: error:
call to undeclared function 'memset_s'; ISO C99 and later do not
support implicit function declarations
[-Wimplicit-function-declaration]
22 | (void) memset_s(buf, len, 0, len);
[1] https://github.com/postgres/postgres/commit/12eee85e5
[2] https://github.com/apache/kudu/commit/2acbccb8c
Change-Id: I88651ddd056c90c02f65148905c61eb0f4e54f94
---
A thirdparty/patches/postgres-memset_s.patch
M thirdparty/vars.sh
2 files changed, 177 insertions(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/64/24964/1
--
To view, visit http://gerrit.cloudera.org:8080/24964
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I88651ddd056c90c02f65148905c61eb0f4e54f94
Gerrit-Change-Number: 24964
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>