Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103073770
D26234.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
604 B
Referenced Files
None
Subscribers
None
D26234.diff
View Options
Index: head/lang/lua52/files/patch-src__luaconf.h
===================================================================
--- head/lang/lua52/files/patch-src__luaconf.h
+++ head/lang/lua52/files/patch-src__luaconf.h
@@ -0,0 +1,19 @@
+--- src/luaconf.h.old
++++ src/luaconf.h
+@@ -519,10 +519,15 @@
+ #define LUA_IEEE754TRICK
+ #define LUA_IEEEENDIAN 0
+
+-#elif defined(__POWERPC__) || defined(__ppc__) /* }{ */
++#elif defined(__powerpc__)
+
+ #define LUA_IEEE754TRICK
++
++#ifdef __LITTLE_ENDIAN__
++#define LUA_IEEEENDIAN 0
++#else
+ #define LUA_IEEEENDIAN 1
++#endif
+
+ #else /* }{ */
+
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 2:24 PM (22 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14762742
Default Alt Text
D26234.diff (604 B)
Attached To
Mode
D26234: [PowerPC64LE] Fix Lua 5.2 runtime issue
Attached
Detach File
Event Timeline
Log In to Comment