1 |
On 12 Jul 2007, at 20:45, Elias Pipping wrote: |
2 |
|
3 |
> Apparently the issue has been fixed in cvs. |
4 |
> |
5 |
> --- portable.cpp~ 2007-07-12 20:41:27 +0200 |
6 |
> +++ portable.cpp 2007-05-06 14:30:18 +0200 |
7 |
> @@ -373,16 +373,16 @@ |
8 |
> size_t portable_iconv (void *cd, const char** inbuf, size_t |
9 |
> *inbytesleft, |
10 |
> char** outbuf, size_t |
11 |
> *outbytesleft) |
12 |
> { |
13 |
> -#if (defined(_LIBICONV_VERSION) && (_LIBICONV_VERSION==0x0109)) |
14 |
> +#if ((defined(_LIBICONV_VERSION) && (_LIBICONV_VERSION>=0x0109)) || |
15 |
> defined(_OS_SOLARIS_)) |
16 |
> #define CASTNEEDED(x) (x) |
17 |
> #else |
18 |
> #define CASTNEEDED(x) (char **)(x) |
19 |
> #endif |
20 |
> - return iconv(cd,CASTNEEDED(inbuf),inbytesleft,outbuf,outbytesleft); |
21 |
> + return |
22 |
> iconv((iconv_t)cd,CASTNEEDED(inbuf),inbytesleft,outbuf,outbytesleft); |
23 |
> } |
24 |
> |
25 |
> int portable_iconv_close (void *cd) |
26 |
> { |
27 |
> - return iconv_close(cd); |
28 |
> + return iconv_close((iconv_t)cd); |
29 |
> } |
30 |
|
31 |
There's been a fraction of above patch in Frank's overlay since April. |
32 |
Anyone still using prefix-user.no-ip.org? |
33 |
|
34 |
// Cheers; Johan |
35 |
|
36 |
-- |
37 |
gentoo-alt@g.o mailing list |