]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/dovecot/0001-byteorder.h-fix-uclibc-build.patch
package/dovecot: bump version to 2.2.33.2
[coffee/buildroot.git] / package / dovecot / 0001-byteorder.h-fix-uclibc-build.patch
1 From 902917880ca29f1007750a70cf46e7246b2d0a2a Mon Sep 17 00:00:00 2001
2 From: Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>
3 Date: Tue, 14 Nov 2017 06:01:21 +0100
4 Subject: [PATCH] byteorder.h: fix uclibc build
5
6 Patch suggested on upstream mailinglist:
7 https://www.dovecot.org/pipermail/dovecot/2017-November/110019.html
8
9 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
10 ---
11  src/lib/byteorder.h | 5 +++++
12  1 file changed, 5 insertions(+)
13
14 diff --git a/src/lib/byteorder.h b/src/lib/byteorder.h
15 index 2f5dc7c17..4ffe8da21 100644
16 --- a/src/lib/byteorder.h
17 +++ b/src/lib/byteorder.h
18 @@ -23,6 +23,11 @@
19  #ifndef BYTEORDER_H
20  #define BYTEORDER_H
21  
22 +#undef bswap_8
23 +#undef bswap_16
24 +#undef bswap_32
25 +#undef bswap_64
26 +
27  /*
28   * These prototypes exist to catch bugs in the code generating macros below.
29   */
30 -- 
31 2.11.0
32