FreeBSD Bugzilla – Attachment 202286 Details for
Bug 235958
devel/corrade: fix build on big-endian architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
corrade.patch (text/plain), 1014 bytes, created by
Piotr Kubaj
on 2019-02-23 10:34:49 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-02-23 10:34:49 UTC
Size:
1014 bytes
patch
obsolete
>Index: files/patch-src_Corrade_Utility_Endianness.h >=================================================================== >--- files/patch-src_Corrade_Utility_Endianness.h (nonexistent) >+++ files/patch-src_Corrade_Utility_Endianness.h (working copy) >@@ -0,0 +1,11 @@ >+--- src/Corrade/Utility/Endianness.h.orig 2019-02-23 10:24:48 UTC >++++ src/Corrade/Utility/Endianness.h >+@@ -65,7 +65,7 @@ class Endianness { >+ */ >+ template<class T> static T bigEndian(T value) { >+ #ifdef CORRADE_BIG_ENDIAN >+- return number; >++ return value; >+ #else >+ return swap(value); >+ #endif > >Property changes on: files/patch-src_Corrade_Utility_Endianness.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 235958
: 202286