mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
32
package/dovecot/0001-byteorder.h-fix-uclibc-build.patch
Normal file
32
package/dovecot/0001-byteorder.h-fix-uclibc-build.patch
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user