SHA256
1
0
forked from pool/pgbackrest
pgbackrest/libpq-fe.h_localisation.patch

30 lines
1.1 KiB
Diff
Raw Normal View History

diff -rup a/src/configure b/src/configure
--- a/src/configure 2020-04-20 21:44:31.000000000 +0200
+++ b/src/configure 2020-05-01 18:04:29.395666444 +0200
@@ -3746,11 +3746,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
diff -rup a/src/postgres/client.c b/src/postgres/client.c
--- a/src/postgres/client.c 2020-04-20 21:44:31.000000000 +0200
+++ b/src/postgres/client.c 2020-05-01 18:05:20.732221835 +0200
@@ -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"