You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-backup/bacula/files/bacula-11.0.2-fix-config.patch

28 lines
622 B

--- 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