diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-08 12:03:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-08 12:03:01 +0100 |
commit | 522fa4e6f267ba688a264ceec8d6c79663b61219 (patch) | |
tree | 67895f3a8243148309fbd841dabba28c37f4ed4a /net-libs/libesmtp/files/libesmtp-1.1.0-fix-build-with-clang16.patch | |
parent | 32c16465e56b0122cf6e5a4625e9c7b56b107b07 (diff) |
gentoo auto-resync : 08:10:2023 - 12:03:01
Diffstat (limited to 'net-libs/libesmtp/files/libesmtp-1.1.0-fix-build-with-clang16.patch')
-rw-r--r-- | net-libs/libesmtp/files/libesmtp-1.1.0-fix-build-with-clang16.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-libs/libesmtp/files/libesmtp-1.1.0-fix-build-with-clang16.patch b/net-libs/libesmtp/files/libesmtp-1.1.0-fix-build-with-clang16.patch new file mode 100644 index 000000000000..3211737e7be9 --- /dev/null +++ b/net-libs/libesmtp/files/libesmtp-1.1.0-fix-build-with-clang16.patch @@ -0,0 +1,21 @@ +Bug: https://bugs.gentoo.org/896056 +--- a/smtp-api.c ++++ b/smtp-api.c +@@ -22,6 +22,7 @@ + + #include <config.h> + ++#define _GNU_SOURCE + #include <stdarg.h> + #include <string.h> + #include <stdlib.h> +--- a/smtp-tls.c ++++ b/smtp-tls.c +@@ -47,6 +47,7 @@ + + /* This stuff doesn't belong here */ + /* vvvvvvvvvvv */ ++#define _GNU_SOURCE + #include <sys/types.h> + #include <sys/stat.h> + #include <unistd.h> |