diff options
Diffstat (limited to 'app-backup/amanda/files')
-rw-r--r-- | app-backup/amanda/files/amanda-3.5.1-configure-clang16.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-backup/amanda/files/amanda-3.5.1-configure-clang16.patch b/app-backup/amanda/files/amanda-3.5.1-configure-clang16.patch new file mode 100644 index 000000000000..a95c8ed55aed --- /dev/null +++ b/app-backup/amanda/files/amanda-3.5.1-configure-clang16.patch @@ -0,0 +1,22 @@ +https://github.com/zmanda/amanda/pull/220 + +From 74610ac5522caa779b30323f1c731775083c5bbc Mon Sep 17 00:00:00 2001 +From: Florian Weimer <fweimer@redhat.com> +Date: Fri, 14 Apr 2023 15:45:16 +0200 +Subject: [PATCH] configure: Avoid an implicit int in the IPv6 test + +Otherwise, the test fails unconditionally with compilers that +do not support implicit ints (a language feature that was removed with +the C99 language revision). +--- a/config/amanda/ipv6.m4 ++++ b/config/amanda/ipv6.m4 +@@ -85,7 +85,7 @@ AC_DEFUN([AMANDA_CHECK_IPV6], + #include <sys/socket.h> + #include <errno.h> + +-main() ++int main(void) + { + int aa; + aa = socket(AF_INET6, SOCK_STREAM, 0); + |