diff options
Diffstat (limited to 'app-backup/bacula/files/bacula-11.0.2-fix-config.patch')
-rw-r--r-- | app-backup/bacula/files/bacula-11.0.2-fix-config.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-backup/bacula/files/bacula-11.0.2-fix-config.patch b/app-backup/bacula/files/bacula-11.0.2-fix-config.patch new file mode 100644 index 000000000000..67b73528b52d --- /dev/null +++ b/app-backup/bacula/files/bacula-11.0.2-fix-config.patch @@ -0,0 +1,27 @@ +--- configure.orig 2023-04-30 13:40:55.498111399 +0200 ++++ configure 2023-04-30 13:41:19.426932141 +0200 +@@ -29413,7 +29413,7 @@ + #include <sys/types.h> + #include <sys/socket.h> + +- void main(void) { ++ int main(void) { + struct addrinfo hints, *ai; + int error; + +@@ -29422,12 +29422,12 @@ + hints.ai_socktype = SOCK_STREAM; + error = getaddrinfo("127.0.0.1", NULL, &hints, &ai); + if (error) { +- exit(1); ++ return(1); + } + if (ai->ai_addr->sa_family != AF_INET) { +- exit(1); ++ return(1); + } +- exit(0); ++ return(0); + } + + _ACEOF |