diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
commit | 24fd814c326e282c4321965c31f341dad77e270d (patch) | |
tree | 033d63b33c21a3209964ab56005bb9bdd523630d /dev-db/repmgr/files | |
parent | 129160ec854dca4c3fedb5bcfbcb56930371da0f (diff) |
gentoo resync : 08.01.2021
Diffstat (limited to 'dev-db/repmgr/files')
-rw-r--r-- | dev-db/repmgr/files/repmgr-5.1.0-fno-common.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-db/repmgr/files/repmgr-5.1.0-fno-common.patch b/dev-db/repmgr/files/repmgr-5.1.0-fno-common.patch new file mode 100644 index 000000000000..c5450291dbb4 --- /dev/null +++ b/dev-db/repmgr/files/repmgr-5.1.0-fno-common.patch @@ -0,0 +1,51 @@ +--- a/repmgr-action-cluster.c ++++ b/repmgr-action-cluster.c +@@ -26,6 +26,7 @@ + + #define SHOW_HEADER_COUNT 9 + ++extern t_conninfo_param_list source_conninfo; + typedef enum + { + SHOW_ID = 0, +--- a/repmgr-action-node.c ++++ b/repmgr-action-node.c +@@ -32,6 +32,7 @@ + #include "repmgr-action-node.h" + #include "repmgr-action-standby.h" + ++extern t_conninfo_param_list source_conninfo; + static bool copy_file(const char *src_file, const char *dest_file); + static void format_archive_dir(PQExpBufferData *archive_dir); + static t_server_action parse_server_action(const char *action); +--- a/repmgr-action-service.c ++++ b/repmgr-action-service.c +@@ -26,6 +26,7 @@ + #include "repmgr-client-global.h" + #include "repmgr-action-service.h" + ++extern t_conninfo_param_list source_conninfo; + + /* + * Possibly also show: +--- a/repmgr-action-witness.c ++++ b/repmgr-action-witness.c +@@ -28,6 +28,7 @@ + #include "repmgr-client-global.h" + #include "repmgr-action-witness.h" + ++extern t_conninfo_param_list source_conninfo; + static char repmgr_user[MAXLEN]; + static char repmgr_db[MAXLEN]; + +--- a/repmgr-client-global.h ++++ b/repmgr-client-global.h +@@ -236,7 +236,7 @@ typedef struct ColHeader + extern t_runtime_options runtime_options; + extern t_configuration_options config_file_options; + +-t_conninfo_param_list source_conninfo; ++extern t_conninfo_param_list source_conninfo; + + + extern bool config_file_required; |