aboutsummaryrefslogtreecommitdiff
path: root/package/dovecot/0001-byteorder.h-fix-uclibc-build.patch
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2017-11-14 07:51:50 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-11-23 21:53:51 +0100
commit746f94c282fcc2c0728b53e24d96e7553fcaa46a (patch)
treee6ce072b2df794ae29b0a1cd4e749edd6e2e3347 /package/dovecot/0001-byteorder.h-fix-uclibc-build.patch
parent8d641674bffb3e824991247b9f2458d28fc03c1c (diff)
downloadbuildroot-746f94c282fcc2c0728b53e24d96e7553fcaa46a.tar.gz
buildroot-746f94c282fcc2c0728b53e24d96e7553fcaa46a.tar.bz2
package/dovecot: bump version to 2.2.33.2
Added license hashes. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dovecot/0001-byteorder.h-fix-uclibc-build.patch')
-rw-r--r--package/dovecot/0001-byteorder.h-fix-uclibc-build.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/dovecot/0001-byteorder.h-fix-uclibc-build.patch b/package/dovecot/0001-byteorder.h-fix-uclibc-build.patch
new file mode 100644
index 0000000000..b6d3ed3ec0
--- /dev/null
+++ b/package/dovecot/0001-byteorder.h-fix-uclibc-build.patch
@@ -0,0 +1,32 @@
+From 902917880ca29f1007750a70cf46e7246b2d0a2a Mon Sep 17 00:00:00 2001
+From: Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>
+Date: Tue, 14 Nov 2017 06:01:21 +0100
+Subject: [PATCH] byteorder.h: fix uclibc build
+
+Patch suggested on upstream mailinglist:
+https://www.dovecot.org/pipermail/dovecot/2017-November/110019.html
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ src/lib/byteorder.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/lib/byteorder.h b/src/lib/byteorder.h
+index 2f5dc7c17..4ffe8da21 100644
+--- a/src/lib/byteorder.h
++++ b/src/lib/byteorder.h
+@@ -23,6 +23,11 @@
+ #ifndef BYTEORDER_H
+ #define BYTEORDER_H
+
++#undef bswap_8
++#undef bswap_16
++#undef bswap_32
++#undef bswap_64
++
+ /*
+ * These prototypes exist to catch bugs in the code generating macros below.
+ */
+--
+2.11.0
+