diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 13:38:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 13:38:21 +0100 |
commit | 59970d0b9cd0a564851f255aebb29a9f76e39c19 (patch) | |
tree | 4ed6fa53e3016b6085c92a07d51765f4d8bfbe09 /mail-filter/dcc/files/dcc-1.3.158-c2x.patch | |
parent | 81db58116c7a9c27f54243a4d8f364c7e94c6f36 (diff) |
gentoo auto-resync : 11:10:2022 - 13:38:21
Diffstat (limited to 'mail-filter/dcc/files/dcc-1.3.158-c2x.patch')
-rw-r--r-- | mail-filter/dcc/files/dcc-1.3.158-c2x.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mail-filter/dcc/files/dcc-1.3.158-c2x.patch b/mail-filter/dcc/files/dcc-1.3.158-c2x.patch new file mode 100644 index 000000000000..79b70f300f8f --- /dev/null +++ b/mail-filter/dcc/files/dcc-1.3.158-c2x.patch @@ -0,0 +1,21 @@ +This is the only K&R-style functions in the source, incompatible with C2x. +--- a/dcclib/inet_ntop.c ++++ b/dcclib/inet_ntop.c +@@ -88,7 +88,3 @@ + */ +-static const char * +-inet_ntop4(src, dst, size) +- const u_char *src; +- char *dst; +- size_t size; ++static const char *inet_ntop4(const u_char *src, char *dst, size_t size) + { +@@ -115,7 +111,3 @@ + */ +-static const char * +-inet_ntop6(src, dst, size) +- const u_char *src; +- char *dst; +- size_t size; ++static const char *inet_ntop6(const u_char *src, char *dst, size_t size) + { |