patchWeeChat - Patches: patch #8270, autotools: lua_main() undefined in...

 
 

patch #8270: autotools: lua_main() undefined in Lua 5.2

Submitter:  Andrew Potter <talisein>
Submitted:  Sat 11 Jan 2014 08:14:31 AM UTC
   
 
Category:  compilation Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  flashcode Open/Closed:  Closed
IRC nick:  talisein
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 11 Jan 2014 08:14:31 AM UTC, original submission:  

In Lua 5.1, lua_main() was changed to be a #define to use luaL_newstate(). In Lua 5.2 on Fedora 20, that define has been removed, making autotools fail to correctly find Lua.

Attached is a patch that tries to use luaL_newstate() if the lua_main() test fails.

Andrew Potter <talisein>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by talisein (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-09 flashcode Open/ClosedOpen Closed
    2014-01-11 flashcode StatusNone Done
        Assigned toNone flashcode
    2014-01-11 talisein Attached File- Added 0001-configure.ac-Try-luaL_newstate-in-place-of-lua_main-.patch, #30243

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code