notmuch: Add package
[termux-packages] / packages / notmuch / lib-message.cc.patch
1 diff -u -r ../notmuch-0.24.1/lib/message.cc ./lib/message.cc
2 --- ../notmuch-0.24.1/lib/message.cc 2017-04-01 14:29:38.000000000 +0200
3 +++ ./lib/message.cc 2017-04-07 00:45:52.192408149 +0200
4 @@ -1837,7 +1837,7 @@
5 const char *key;
6 char *value;
7
8 - value = index(node->string, '=');
9 + value = strchr(node->string, '=');
10 if (!value)
11 INTERNAL_ERROR ("malformed property term");
12