Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 403924 Details for
Bug 549664
>=dev-qt/qtcore-4.8.6-r2 does not build on sys-libs/uclibc and GNU libiconv
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
qtcore-4.8.6-uclibc.patch
qtcore-4.8.6-uclibc.patch (text/plain), 1.56 KB, created by
René Rhéaume
on 2015-05-25 11:19:32 UTC
(
hide
)
Description:
qtcore-4.8.6-uclibc.patch
Filename:
MIME Type:
Creator:
René Rhéaume
Created:
2015-05-25 11:19:32 UTC
Size:
1.56 KB
patch
obsolete
>--- qt-everywhere-opensource-src-4.8.6/config.tests/unix/gnu-libiconv/gnu-libiconv.cpp >+++ qt-everywhere-opensource-src-4.8.6-uclibc/config.tests/unix/gnu-libiconv/gnu-libiconv.cpp >@@ -48,7 +48,11 @@ int main(int, char **) > { > iconv_t x = iconv_open("", ""); > >+#ifdef __UCLIBC__ >+ char *inp; >+#else > const char *inp; >+#endif > char *outp; > size_t inbytes, outbytes; > iconv(x, &inp, &inbytes, &outp, &outbytes); >--- qt-everywhere-opensource-src-4.8.6/src/corelib/codecs/qiconvcodec.cpp >+++ qt-everywhere-opensource-src-4.8.6-uclibc/src/corelib/codecs/qiconvcodec.cpp >@@ -219,7 +219,7 @@ QString QIconvCodec::convertToUnicode(co > IconvState *state = *pstate; > size_t inBytesLeft = len; > // best case assumption, each byte is converted into one UTF-16 character, plus 2 bytes for the BOM >-#ifdef GNU_LIBICONV >+#if defined(GNU_LIBICONV) && !defined(__UCLIBC__) > // GNU doesn't disagree with POSIX :/ > const char *inBytes = chars; > #else >@@ -318,7 +318,7 @@ static bool setByteOrder(iconv_t cd) > size_t outBytesLeft = sizeof buf; > size_t inBytesLeft = sizeof bom; > >-#if defined(GNU_LIBICONV) >+#if defined(GNU_LIBICONV) && !defined(__UCLIBC__) > const char **inBytesPtr = const_cast<const char **>(&inBytes); > #else > char **inBytesPtr = &inBytes; >@@ -338,7 +338,7 @@ QByteArray QIconvCodec::convertFromUnico > char *outBytes; > size_t inBytesLeft; > >-#if defined(GNU_LIBICONV) >+#if defined(GNU_LIBICONV) && !defined(__UCLIBC__) > const char **inBytesPtr = const_cast<const char **>(&inBytes); > #else > char **inBytesPtr = &inBytes;
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 549664
:
403422
|
403424
| 403924