2 changed files with 66 additions and 14 deletions
@ -1,12 +1,64 @@ |
|||||||
Index: build/lib/pgBackRestBuild/Config/Data.pm
|
Index: src/Makefile
|
||||||
--- build/lib/pgBackRestBuild/Config/Data.pm.orig 2018-03-20 02:49:41.000000000 +0100
|
--- src/Makefile.orig 2019-04-19 03:26:02.000000000 +0200
|
||||||
+++ build/lib/pgBackRestBuild/Config/Data.pm 2018-04-19 19:03:38.242673000 +0200
|
+++ src/Makefile 2019-04-20 09:21:58.297386000 +0200
|
||||||
@@ -1182,7 +1182,7 @@
|
@@ -47,7 +47,7 @@
|
||||||
{
|
LDEXTRA =
|
||||||
&CFGDEF_SECTION => CFGDEF_SECTION_GLOBAL,
|
|
||||||
&CFGDEF_TYPE => CFGDEF_TYPE_STRING,
|
# Concatenate options for easy usage
|
||||||
- &CFGDEF_DEFAULT => '/var/log/' . BACKREST_EXE,
|
-LDFLAGS = -lcrypto -lssl -lxml2 -lz $(LDPERL) $(LDEXTRA)
|
||||||
+ &CFGDEF_DEFAULT => '/var/log/pgbackrest',
|
+LDFLAGS = -lssl -lcrypto -lxml2 -liconv -lz $(LDPERL) $(LDEXTRA)
|
||||||
&CFGDEF_COMMAND =>
|
|
||||||
{
|
####################################################################################################################################
|
||||||
&CFGCMD_ARCHIVE_GET => {},
|
# Install options
|
||||||
|
Index: src/common/io/tls/client.c
|
||||||
|
--- src/common/io/tls/client.c.orig 2019-04-19 03:26:02.000000000 +0200
|
||||||
|
+++ src/common/io/tls/client.c 2019-04-20 09:17:10.443337000 +0200
|
||||||
|
@@ -2,6 +2,7 @@
|
||||||
|
TLS Client
|
||||||
|
***********************************************************************************************************************************/
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
+#include <netinet/in.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
Index: src/common/lock.c
|
||||||
|
--- src/common/lock.c.orig 2019-04-19 03:26:02.000000000 +0200
|
||||||
|
+++ src/common/lock.c 2019-04-20 09:19:27.199486000 +0200
|
||||||
|
@@ -1,10 +1,13 @@
|
||||||
|
/***********************************************************************************************************************************
|
||||||
|
Lock Handler
|
||||||
|
***********************************************************************************************************************************/
|
||||||
|
+#undef _POSIX_C_SOURCE
|
||||||
|
+#include <sys/types.h>
|
||||||
|
+#include <sys/file.h>
|
||||||
|
+#include <netinet/in.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <string.h>
|
||||||
|
-#include <sys/file.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include "common/debug.h"
|
||||||
|
Index: src/common/time.c
|
||||||
|
--- src/common/time.c.orig 2019-04-19 03:26:02.000000000 +0200
|
||||||
|
+++ src/common/time.c 2019-04-20 09:20:33.174548000 +0200
|
||||||
|
@@ -2,6 +2,7 @@
|
||||||
|
Time Management
|
||||||
|
***********************************************************************************************************************************/
|
||||||
|
#include <stdio.h>
|
||||||
|
+#define __XSI_VISIBLE 1
|
||||||
|
#include <sys/time.h>
|
||||||
|
|
||||||
|
#include "common/debug.h"
|
||||||
|
Index: src/perl/exec.c
|
||||||
|
--- src/perl/exec.c.orig 2019-04-19 03:26:02.000000000 +0200
|
||||||
|
+++ src/perl/exec.c 2019-04-20 09:21:08.812044000 +0200
|
||||||
|
@@ -1,6 +1,8 @@
|
||||||
|
/***********************************************************************************************************************************
|
||||||
|
Execute Perl for Legacy Functionality
|
||||||
|
***********************************************************************************************************************************/
|
||||||
|
+#undef _POSIX_C_SOURCE
|
||||||
|
+#include <sys/types.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
Loading…
Reference in new issue