kumquat-buildroot/package/exim
Bernd Kuhls 20f2627c4c package/exim: Fix compilation error with musl
Fixes
smtp_in.c: In function ‘smtp_start_session’:
smtp_in.c:1976:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct options’
     EXIM_SOCKLEN_T optlen = sizeof(struct ip_options) + MAX_IPOPTLEN;

smtp_in.c misdetects the needed style for ip_options, only OPTSTYLE == 2 works.
Since musl does not provide any macro[1] to detect it we need to pretend to be
darwin in order to fix the compile bug.

[1] http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Luca: simplify by using only one sed invocation]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-26 15:09:08 +02:00
..
0001-Build-buildconfig-for-the-host.patch package/*: rename patches according to the new policy 2015-02-03 14:52:56 +01:00
0002-Don-t-make-backup-copies-of-installed-files.patch package/*: rename patches according to the new policy 2015-02-03 14:52:56 +01:00
0003-Skip-version-check-and-symlink-installation.patch package/*: rename patches according to the new policy 2015-02-03 14:52:56 +01:00
Config.in
exim.hash package/exim: bump version to 4.85, add hash 2015-01-14 22:16:24 +01:00
exim.mk package/exim: Fix compilation error with musl 2015-07-26 15:09:08 +02:00
exim.service exim: systemd support 2015-07-13 19:05:23 +02:00
Local-Makefile
S86exim