#6031: lua-5.3.0
-------------------------+-----------------------
 Reporter:  bdubbs@…     |       Owner:  izivkov
     Type:  enhancement  |      Status:  assigned
 Priority:  low          |   Milestone:  future
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by fo):

 Igor, I had failed to rediff the patch, but first tried what you did. And
 it works, but did not, so I started complicating. Obviously, I made some
 mistake.

 have installed and all but one package in the book can be built, some with
 fixes. To be clear, I only installed up to now one dependent package, vim
 (graphical), because it stoped working. Apparently the before installed
 VLC and Totem/grilo-plugins, din't break, but I tested too fast.

 tested: vim apache gtk-engines vlc grilo-plugins graphviz gegl ptlib
 wireshark nmap

 keybinder2 already broken with previous version:
 (currently broken, because older lua version is required)

 Unless listed below, the package doesn't need a fix to build.

 Fixes:

 vim-7.4 (broken, I had to re-install)

 {{{
 sed -i 's/luaL_optlong/(long)luaL_optinteger/' src/if_lua.c
 }}}

 httpd-2.4.10

 {{{
 sed -i 's/ldump_writer, &b/&, NULL/' ./modules/lua/mod_lua.c
 }}}

 vlc-2.1.5

 fix must be between configure and make:

 {{{
 sed -i 's/luaL_optint/(int)luaL_optinteger/' \
        modules/lua/libs/{net,osd,volume}.c &&
 sed -i 's/luaL_checkint(/(int)luaL_checkinteger(/' \
 
modules/lua/libs/{demux,configuration,net,osd,playlist,stream,variables,volume}.c
 }}}

 wireshark-1.12.3:

 {{{
 sed -e 's/LUA_NUMBER_DOUBLE/LUA_REAL_DOUBLE/' \
     -e 's/LUA_NUMBER_INT/LUA_INTEGER/' \
     -e 's/LUA_NUMBER_LONG/LUA_INT_LONG/' \
     -e 's/LUA_NUMBER_LONGLONG/LUA_INT_LONGLONG/' \
     -e 's/LUA_NUMBER_FLOAT/LUA_REAL_FLOAT/' \
     -i epan/wslua/lua_bitop.c &&
 sed -e 's/\(luaL_optint\)eger/\1/' \
     -e 's/luaL_optint/&eger/' \
     -e 's/ \(luaL_optinteger(\)/ (int)\1/' \
     -e 's/(guint)\(luaL_optinteger(\)/(lua_Unsigned)\1/' \
     -e 's/ \(luaL_opt\)long(/ (long)\1integer(/' \
     -e 's/luaL_checkint/&eger/' \
     -e 's/ \(luaL_checkinteger(\)/ (int)\1/' \
     -i epan/wslua/*.{c,h}
 }}}

 nmap-6.47 I am having trouble to complete the fixes. Got about five fixes,
 but progress stopped.

 I am not sure if the fixes will fail the installed packages, but vim,
 view, gvim, all work fine.

 Perhaps this will be useful for you.

 Tomorrow, I will try again nmap. Problem is that it uses at least two
 functions which were removed from lua-5.3.0, and i am not understanding
 enough the two versions, so I could replace the code in nmap.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/6031#comment:4>
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