The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / softether / 0005-iconv.patch
1 Fix linking with libiconv
2
3 Inspired by https://github.com/el1n/OpenWRT-package-softether/blob/4cb1cd9073a76edf34c512e587069626e02e2404/patches/120-fix-iconv-headers-common.patch
4
5 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
6
7 Index: b/src/Mayaqua/Mayaqua.h
8 ===================================================================
9 --- a/src/Mayaqua/Mayaqua.h
10 +++ b/src/Mayaqua/Mayaqua.h
11 @@ -282,17 +282,7 @@
12  #include <ifaddrs.h>\r
13  #endif // MAYAQUA_SUPPORTS_GETIFADDRS\r
14  \r
15 -#ifdef UNIX_LINUX\r
16 -typedef void *iconv_t;\r
17 -iconv_t iconv_open (__const char *__tocode, __const char *__fromcode);\r
18 -size_t iconv (iconv_t __cd, char **__restrict __inbuf,\r
19 -                     size_t *__restrict __inbytesleft,\r
20 -                     char **__restrict __outbuf,\r
21 -                     size_t *__restrict __outbytesleft);\r
22 -int iconv_close (iconv_t __cd);\r
23 -#else  // UNIX_LINUX\r
24  #include <iconv.h>\r
25 -#endif // UNIX_LINUX\r
26  \r
27  \r
28  \r