Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 143841 Details for
Bug 210551
Get qt-3.3.8 building on mips
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
qt-3.3.8-mips.patch
qt-3.3.8-mips.patch (text/plain), 977 bytes, created by
Ryan Hill (RETIRED)
on 2008-02-18 01:04:49 UTC
(
hide
)
Description:
qt-3.3.8-mips.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2008-02-18 01:04:49 UTC
Size:
977 bytes
patch
obsolete
>--- qt-x11-free-3.3.6.orig/src/tools/qlocale.cpp >+++ qt-x11-free-3.3.6/src/tools/qlocale.cpp >@@ -122,13 +122,24 @@ > #endif > > // We can't rely on -NAN, since all operations on a NAN should return a NAN. >+static double be_neg_nan; >+static double le_neg_nan; > static const unsigned char be_neg_nan_bytes[] = { 0xff, 0xf8, 0, 0, 0, 0, 0, 0 }; > static const unsigned char le_neg_nan_bytes[] = { 0, 0, 0, 0, 0, 0, 0xf8, 0xff }; >+static bool neg_nan_init = false; >+ > static inline double negNan() > { >+ if (!neg_nan_init) >+ { >+ memcpy(&be_neg_nan,be_neg_nan_bytes,sizeof(be_neg_nan_bytes)); >+ memcpy(&le_neg_nan,le_neg_nan_bytes,sizeof(le_neg_nan_bytes)); >+ neg_nan_init = true; >+ } > return (ByteOrder == BigEndian ? >- *((const double *) be_neg_nan_bytes) : >- *((const double *) le_neg_nan_bytes)); >+ be_neg_nan : >+ le_neg_nan); >+ > } > > // Sizes as defined by the ISO C99 standard - fallback
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 Raw
Actions:
View
Attachments on
bug 210551
: 143841