FreeBSD Bugzilla – Attachment 204434 Details for
Bug 237958
games/multimc: fix build with big-endian architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
multimc.patch (text/plain), 1.22 KB, created by
Piotr Kubaj
on 2019-05-17 23:44:28 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-05-17 23:44:28 UTC
Size:
1.22 KB
patch
obsolete
>Index: files/patch-libraries_classparser_src_javaendian.h >=================================================================== >--- files/patch-libraries_classparser_src_javaendian.h (nonexistent) >+++ files/patch-libraries_classparser_src_javaendian.h (working copy) >@@ -0,0 +1,41 @@ >+--- libraries/classparser/src/javaendian.h.orig 2019-05-17 22:45:49 UTC >++++ libraries/classparser/src/javaendian.h >+@@ -11,32 +11,32 @@ inline uint64_t bigswap(uint64_t x) >+ { >+ return x; >+ } >+-; >++ >+ inline uint32_t bigswap(uint32_t x) >+ { >+ return x; >+ } >+-; >++ >+ inline uint16_t bigswap(uint16_t x) >+ { >+ return x; >+ } >+-; >++ >+ inline int64_t bigswap(int64_t x) >+ { >+ return x; >+ } >+-; >++ >+ inline int32_t bigswap(int32_t x) >+ { >+ return x; >+ } >+-; >++ >+ inline int16_t bigswap(int16_t x) >+ { >+ return x; >+ } >+-; >++ >+ #else >+ inline uint64_t bigswap(uint64_t x) >+ { > >Property changes on: files/patch-libraries_classparser_src_javaendian.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
Flags:
pkubaj
:
maintainer-approval?
(
me
)
Actions:
View
|
Diff
Attachments on
bug 237958
: 204434