pgbackrest/libpq-fe.h_localisation.patch
Andrea Manzini c1f9405755 Accepting request 1177950 from home:amanzini:branches:server:database:postgresql
- update to version 2.52
  * Add GCS batch delete support
  * S3 SSE-C encryption support
  * PostgreSQL 17 support
  * Update start/stop documentation to reflect actual functionality.
- switch rpm build to meson build system

OBS-URL: https://build.opensuse.org/request/show/1177950
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=69
2024-06-02 14:02:38 +00:00

33 lines
1.2 KiB
Diff

Index: pgbackrest-release-2.52/src/postgres/client.c
===================================================================
--- pgbackrest-release-2.52.orig/src/postgres/client.c
+++ pgbackrest-release-2.52/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"
Index: pgbackrest-release-2.52/src/configure
===================================================================
--- pgbackrest-release-2.52.orig/src/configure
+++ pgbackrest-release-2.52/src/configure
@@ -3655,12 +3655,12 @@ else $as_nop
as_fn_error $? "library 'pq' is required" "$LINENO" 5
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