gst1-plugins-base: bump version to 1.6.0
[buildroot-gz.git] / package / softether / 0005-iconv.patch
blob09d7777e42e1fe5e6557bc3c6d15cea943d8d4aa
1 Fix linking with libiconv
3 Inspired by https://github.com/el1n/OpenWRT-package-softether/blob/4cb1cd9073a76edf34c512e587069626e02e2404/patches/120-fix-iconv-headers-common.patch
5 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
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>
13 #endif // MAYAQUA_SUPPORTS_GETIFADDRS
15 -#ifdef UNIX_LINUX
16 -typedef void *iconv_t;
17 -iconv_t iconv_open (__const char *__tocode, __const char *__fromcode);
18 -size_t iconv (iconv_t __cd, char **__restrict __inbuf,
19 - size_t *__restrict __inbytesleft,
20 - char **__restrict __outbuf,
21 - size_t *__restrict __outbytesleft);
22 -int iconv_close (iconv_t __cd);
23 -#else // UNIX_LINUX
24 #include <iconv.h>
25 -#endif // UNIX_LINUX