Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 176636 Details for
Bug 242916
games-puzzle/enigma-1.01 fails to configure with dev-libs/xerces-c-3.0.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to apply for compilation on amd64
enigma-1.01-xerces-c-amd64.patch (text/plain), 1.60 KB, created by
Ivan Boldyrev
on 2008-12-28 18:24:06 UTC
(
hide
)
Description:
Patch to apply for compilation on amd64
Filename:
MIME Type:
Creator:
Ivan Boldyrev
Created:
2008-12-28 18:24:06 UTC
Size:
1.60 KB
patch
obsolete
>--- src/Utf8ToXML.cc~ 2008-12-29 00:12:26.000000000 +0600 >+++ src/Utf8ToXML.cc 2008-12-29 00:15:19.000000000 +0600 >@@ -40,11 +40,11 @@ > } > > void Utf8ToXML::init(const char * const toTranscode) { >- unsigned int srcLength = std::strlen(toTranscode) + 1; >+ XMLSize_t srcLength = std::strlen(toTranscode) + 1; > // make safe assumptions on utf-16 size >- unsigned int maxDestLength = srcLength; >- unsigned int charsEaten; >- unsigned int destLength; >+ XMLSize_t maxDestLength = srcLength; >+ XMLSize_t charsEaten; >+ XMLSize_t destLength; > unsigned char *charSizes = new unsigned char[maxDestLength]; // just junk > // make a buffer - size does not matter - the object is temporary > xmlString = new XMLCh[maxDestLength]; >--- src/XMLtoUtf8.cc~ 2008-12-29 00:12:12.000000000 +0600 >+++ src/XMLtoUtf8.cc 2008-12-29 00:14:47.000000000 +0600 >@@ -27,11 +27,11 @@ > namespace enigma > { > XMLtoUtf8::XMLtoUtf8(const XMLCh* const toTranscode) { >- unsigned int srcLength = XMLString::stringLen(toTranscode) + 1; >+ XMLSize_t srcLength = XMLString::stringLen(toTranscode) + 1; > // make safe assumptions on utf-8 size >- unsigned int maxDestLength = 3 * srcLength; >- unsigned int charsEaten; >- unsigned int destLength; >+ XMLSize_t maxDestLength = 3 * srcLength; >+ XMLSize_t charsEaten; >+ XMLSize_t destLength; > // make a buffer - size does not matter - the object is temporary > utf8String = new char[maxDestLength]; > // transcode to utf-8 -- there are no unrepresentable chars
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 242916
:
169208
|
172185
|
172265
|
172266
| 176636 |
178752
|
178753