diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2023-06-11 10:12:44 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2023-06-11 10:12:44 -0400 |
commit | f75f75db6b893d92e2d6049fcb37581b751cc330 (patch) | |
tree | 07531d9172db36ab97e11b8d57a0124bf69a56a2 /net-mail/notmuch/files | |
parent | 04630dc3ebb0918a62c27c1dbc43f4c6e4801324 (diff) | |
download | gentoo-overlay-f75f75db6b893d92e2d6049fcb37581b751cc330.tar.xz gentoo-overlay-f75f75db6b893d92e2d6049fcb37581b751cc330.zip |
net-mail/notmuch: sync
Diffstat (limited to 'net-mail/notmuch/files')
-rw-r--r-- | net-mail/notmuch/files/notmuch-0.37-configure-clang16.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-mail/notmuch/files/notmuch-0.37-configure-clang16.patch b/net-mail/notmuch/files/notmuch-0.37-configure-clang16.patch new file mode 100644 index 0000000..42c1083 --- /dev/null +++ b/net-mail/notmuch/files/notmuch-0.37-configure-clang16.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/879739 +https://nmbug.notmuchmail.org/nmweb/show/20221202191908.848227-1-qsx%40chaotikum.eu + +Probe for strcasestr using the C++ compiler + +The C++ compiler may define _GNU_SOURCE, causing <string.h> to +declare strcasestr, while the C compiler does not. As a result, +the probe may fail, resulting in an incompatible declaration +of strcasestr in compat/compat.h. + +Upstream discussion: + + [PATCH] compat/strcasestr: Include correct header file + <https://nmbug.notmuchmail.org/nmweb/show/20221202191908.848227-1-qsx%40chaotikum.eu> + +--- a/compat/have_strcasestr.c ++++ b/compat/have_strcasestr.c +@@ -1,4 +1,5 @@ + #define _GNU_SOURCE ++#include <string.h> + #include <strings.h> + + int + |