mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Release notes: https://lists.exim.org/lurker/message/20251028.114149.3bf19800.en.html Rebased patch 0001 due to upstream commitcd43f5ee0fRebased patch 0004 due to upstream commit834dae5565Added patch 0005 to fix cross-builds. Added ldflags for mips arch to solve build error with br-mips64-n64-full defconfig, code copied from package/linux-tools/linux-tool-perf.mk.in: output/per-package/exim/host/bin/mips64el-linux-ld: dkim_tmp.o: ABI is incompatible with that of the selected emulation output/per-package/exim/host/bin/mips64el-linux-ld: failed to merge target specific data of file dkim_tmp.o output/per-package/exim/host/bin/mips64el-linux-ld: dkim_transport.o: ABI is incompatible with that of the selected emulation output/per-package/exim/host/bin/mips64el-linux-ld: failed to merge target specific data of file dkim_transport.o output/per-package/exim/host/bin/mips64el-linux-ld: pdkim.o: ABI is incompatible with that of the selected emulation output/per-package/exim/host/bin/mips64el-linux-ld: failed to merge target specific data of file pdkim.o output/per-package/exim/host/bin/mips64el-linux-ld: signing.o: ABI is incompatible with that of the selected emulation output/per-package/exim/host/bin/mips64el-linux-ld: failed to merge target specific data of file signing.o output/per-package/exim/host/bin/mips64el-linux-ld: attempt to do relocatable link with elf64-tradlittlemips input and elf32-ntradlittlemips output output/per-package/exim/host/bin/mips64el-linux-ld: dkim_tmp.o: file class ELFCLASS64 incompatible with ELFCLASS32 output/per-package/exim/host/bin/mips64el-linux-ld: final link failed: file in wrong format Signed-off-by: Bernd Kuhls <bernd@kuhls.net> [Julien: add "Upstream" header in patch 5 to fix check-package error] Signed-off-by: Julien Olivain <ju.o@free.fr>
45 lines
1.3 KiB
Diff
45 lines
1.3 KiB
Diff
From e9d0b5b022df172d3615e9e2875506c74e6d7cd1 Mon Sep 17 00:00:00 2001
|
|
From: Luca Ceresoli <luca@lucaceresoli.net>
|
|
Date: Wed, 5 Feb 2020 17:13:57 +0100
|
|
Subject: [PATCH] sieve: fix build errors
|
|
|
|
sieve fails to cross-compile with the Sourcery CodeBench ARM 2014.05
|
|
toolchain with a huge number of errors, including:
|
|
|
|
.../sysroot/usr/include/arpa/nameser.h:115:2: error: unknown type name 'u_char'
|
|
const u_char *_msg, *_eom;
|
|
^
|
|
.../sysroot/usr/include/arpa/nameser.h:474:1: error: unknown type name 'u_long'
|
|
u_long ns_get32 (const u_char *) __THROW;
|
|
^
|
|
.../sysroot/usr/include/arpa/nameser.h:475:31: error: expected ')' before '*' token
|
|
void ns_put16 (u_int, u_char *) __THROW;
|
|
^
|
|
|
|
Discovered when cross-compiling with the Buildroot embedded Linux
|
|
buildsystem.
|
|
|
|
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
|
|
Upstream: https://bugs.exim.org/show_bug.cgi?id=2523
|
|
[Bernd: rebased for version 4.99]
|
|
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
|
---
|
|
src/miscmods/sieve_filter.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/sieve.c b/src/sieve.c
|
|
index 5e8d1e6f4776..9632f2d43810 100644
|
|
--- a/src/miscmods/sieve_filter.c
|
|
+++ b/src/miscmods/sieve_filter.c
|
|
@@ -14,6 +14,8 @@
|
|
|
|
/* Sieve mail filter. */
|
|
|
|
+#define _BSD_SOURCE
|
|
+
|
|
#include <ctype.h>
|
|
#include <errno.h>
|
|
#include <limits.h>
|
|
--
|
|
2.25.0
|