notmuch: Add package
[termux-packages] / packages / notmuch / lib-message-property.cc.patch
1 diff -u -r ../notmuch-0.24.1/lib/message-property.cc ./lib/message-property.cc
2 --- ../notmuch-0.24.1/lib/message-property.cc 2017-04-01 14:29:38.000000000 +0200
3 +++ ./lib/message-property.cc 2017-04-07 00:48:00.914918764 +0200
4 @@ -51,7 +51,7 @@
5 if (key == NULL || value == NULL)
6 return NOTMUCH_STATUS_NULL_POINTER;
7
8 - if (index (key, '='))
9 + if (strchr (key, '='))
10 return NOTMUCH_STATUS_ILLEGAL_ARGUMENT;
11
12 term = talloc_asprintf (message, "%s=%s", key, value);