pgbackrest/libpq-fe.h_localisation.patch
Bruno Friedmann 17c261ba26 Accepting request 960068 from home:darix:branches:server:database:postgresql
- Move lock file default to /run/pgbackrest and make sure it gets
  created with user and group postgres
  - Add use-run-pgbackrest.patch
  - Add README.SUSE 
- Track series file to make quilt setup easier
- refresh libpq-fe.h_localisation.patch

OBS-URL: https://build.opensuse.org/request/show/960068
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=45
2022-03-08 08:30:45 +00:00

32 lines
1.2 KiB
Diff

Index: pgbackrest-release-2.37/src/configure
===================================================================
--- pgbackrest-release-2.37.orig/src/configure
+++ pgbackrest-release-2.37/src/configure
@@ -3678,11 +3678,11 @@ fi
done
-ac_fn_c_check_header_mongrel "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
+ac_fn_c_check_header_mongrel "$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_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.37/src/postgres/client.c
===================================================================
--- pgbackrest-release-2.37.orig/src/postgres/client.c
+++ pgbackrest-release-2.37/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"