Page MenuHomeFreeBSD

D26234.id76842.diff
No OneTemporary

D26234.id76842.diff

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

Mime Type
text/plain
Expires
Tue, Aug 4, 1:37 AM (6 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35861425
Default Alt Text
D26234.id76842.diff (604 B)

Event Timeline