pgbackrest/libpq-fe.h_localisation.patch
Bruno Friedmann ebbb00b091 Accepting request 1040869 from home:amanzini:branches:server:database:postgresql
- update to version 2.43
  + Bug Fixes:
    - Fix missing reference in diff/incr backup. 
  + Improvements:
    - Add hint when an option is specified without an index. 
- update to version 2.42
  + Bug Fixes:
    - Fix memory leak in file bundle backup/restore. 
    - Fix protocol error on short read of remote file.
  + Improvements:
    - Do not store references for zero-length files when bundling. 
    - Use more generic descriptions for pg_start_backup()/pg_stop_backup().

OBS-URL: https://build.opensuse.org/request/show/1040869
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=51
2022-12-07 08:21:12 +00:00

33 lines
1.2 KiB
Diff

Index: pgbackrest-release-2.43/src/configure
===================================================================
--- pgbackrest-release-2.43.orig/src/configure
+++ pgbackrest-release-2.43/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.43/src/postgres/client.c
===================================================================
--- pgbackrest-release-2.43.orig/src/postgres/client.c
+++ pgbackrest-release-2.43/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"