#13915: dovecot-2.3.11.3
-------------------------+-----------------------
 Reporter:  renodr       |       Owner:  renodr
     Type:  enhancement  |      Status:  assigned
 Priority:  high         |   Milestone:  10.0
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by renodr):

 This version of dovecot has an incompatibility with Lua-5.4. I was able to
 fix it with the following sed:

 sed -i 's/lua_newuserdata/lua_newuserdatauv/' src/lib-lua/dlua-dovecot.c

 I was able to determine that it was due to API changes based off the
 documentation here:

 [https://www.lua.org/manual/5.4/manual.html]

 {{{
 Full userdata now has an arbitrary number of associated user values.
 Therefore, the functions lua_newuserdata, lua_setuservalue, and
 lua_getuservalue were replaced by lua_newuserdatauv, lua_setiuservalue,
 and lua_getiuservalue, which have an extra argument.

 For compatibility, the old names still work as macros assuming one single
 user value. Note, however, that userdata with zero user values are more
 efficient memory-wise.
 }}}

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/13915#comment:6>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to