pgbackrest/libpq-fe.h_localisation.patch
Andrea Manzini 5f47b2ef11 Accepting request 1089458 from home:amanzini:branches:server:database:postgresql
- update to version 2.46
  * Features:
    + Block incremental backup. (Reviewed by John Morris, Stephen Frost, Stefan Fercot.)
    + SFTP support for repository storage. (Contributed by Reid Thompson. Reviewed by Stephen Frost, David Steele.)
    + PostgreSQL 16 support. (Reviewed by Stefan Fercot.)
  * Improvements:
    + Allow page header checks to be skipped. (Reviewed by David Christensen. Suggested by David Christensen.)
    + Avoid chown() on recovery files during restore. (Reviewed by Stefan Fercot, Marcelo Henrique Neppel. Suggested by Marcelo Henrique Neppel.)
    + Add error retry detail for HTTP retries.
  * Documentation Improvements:
    + Add warning about using recovery type=none. (Reviewed by Stefan Fercot.)
    + Add note about running stanza-create on already-created repositories.

OBS-URL: https://build.opensuse.org/request/show/1089458
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=57
2023-06-01 06:49:10 +00:00

33 lines
1.2 KiB
Diff

Index: pgbackrest-release-2.46/src/configure
===================================================================
--- pgbackrest-release-2.46.orig/src/configure
+++ pgbackrest-release-2.46/src/configure
@@ -3603,12 +3603,12 @@ then :
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
fi
-ac_fn_c_check_header_compile "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
+ac_fn_c_check_header_compile "$LINENO" "pgsql/libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
if test "x$ac_cv_header_libpq_fe_h" = xyes
then :
else $as_nop
- as_fn_error $? "header file <libpq-fe.h> is required" "$LINENO" 5
+ as_fn_error $? "header file <pgsql/libpq-fe.h> is required" "$LINENO" 5
fi
Index: pgbackrest-release-2.46/src/postgres/client.c
===================================================================
--- pgbackrest-release-2.46.orig/src/postgres/client.c
+++ pgbackrest-release-2.46/src/postgres/client.c
@@ -3,7 +3,7 @@ Postgres Client
***********************************************************************************************************************************/
#include "build.auto.h"
-#include <libpq-fe.h>
+#include <pgsql/libpq-fe.h>
#include "common/debug.h"
#include "common/log.h"