Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122313 Details for
Bug 182314
app-pda/libopensync-0.22 fail compilation on Gentoo/FreeBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libopensync-0.22-fbsd.patch
libopensync-0.22-fbsd.patch (text/plain), 981 bytes, created by
MT
on 2007-06-17 11:26:00 UTC
(
hide
)
Description:
libopensync-0.22-fbsd.patch
Filename:
MIME Type:
Creator:
MT
Created:
2007-06-17 11:26:00 UTC
Size:
981 bytes
patch
obsolete
>--- libopensync-0.22/formats/vformats-xml/vformat.c 2007-06-17 10:54:54 +0000 >+++ libopensync-0.22/formats/vformats-xml/vformat.c 2007-06-17 10:55:30 +0000 >@@ -236,7 +236,7 @@ > if (charset) { > > cd = iconv_open("UTF-8", charset->str); >-#ifdef SOLARIS >+#if defined(SOLARIS) || defined(__FreeBSD__) || defined(__NetBSD__) > if (iconv(cd, (const char**)&inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) { > #else > if (iconv(cd, &inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) { >@@ -264,7 +264,7 @@ > > /* because inbuf is not UTF-8, we think it is ISO-8859-1 */ > cd = iconv_open("UTF-8", "ISO-8859-1"); >-#ifdef SOLARIS >+#if defined(SOLARIS) || defined(__FreeBSD__) || defined(__NetBSD__) > if (iconv(cd, (const char**)&inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) { > #else > if (iconv(cd, &inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 182314
: 122313