diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-17 19:18:25 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-17 19:18:25 +0000 |
commit | fc4a66d4e89163447c6e2906be3e22cd329a1aa9 (patch) | |
tree | cb2dbfdd5bbea5e7d4fbe405b2262bc850812354 /user/libetpan/missing-header.patch | |
parent | 27c65d1af1c2272e97300d1b05452dba563477e0 (diff) | |
download | packages-fc4a66d4e89163447c6e2906be3e22cd329a1aa9.tar.gz packages-fc4a66d4e89163447c6e2906be3e22cd329a1aa9.tar.bz2 packages-fc4a66d4e89163447c6e2906be3e22cd329a1aa9.tar.xz packages-fc4a66d4e89163447c6e2906be3e22cd329a1aa9.zip |
user/libetpan: bump to 1.9.3
Diffstat (limited to 'user/libetpan/missing-header.patch')
-rw-r--r-- | user/libetpan/missing-header.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/user/libetpan/missing-header.patch b/user/libetpan/missing-header.patch new file mode 100644 index 000000000..603048962 --- /dev/null +++ b/user/libetpan/missing-header.patch @@ -0,0 +1,32 @@ +From da9fd7839c9affea48f74a159a789fbb183b4be1 Mon Sep 17 00:00:00 2001 +From: maxice8 <30738253+maxice8@users.noreply.github.com> +Date: Fri, 1 Feb 2019 01:58:08 -0200 +Subject: [PATCH] add missing stddef.h include for 'NULL' (#322) + +clientid.c: In function 'mailimap_clientid': +clientid.c:66:38: error: 'NULL' undeclared (first use in this function) + if (mailimap_read_line(session) == NULL) + ^~~~ +clientid.c:66:38: note: 'NULL' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'? +clientid.c:39:1: ++#include <stddef.h> + +clientid.c:66:38: + if (mailimap_read_line(session) == NULL) +--- + src/low-level/imap/clientid.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/low-level/imap/clientid.c b/src/low-level/imap/clientid.c +index 1c346379..38880dd3 100644 +--- a/src/low-level/imap/clientid.c ++++ b/src/low-level/imap/clientid.c +@@ -33,6 +33,8 @@ + # include <config.h> + #endif + ++#include <stdlib.h> ++ + #include "mailimap_sender.h" + #include "clientid_sender.h" + #include "clientid.h" |