[MacPorts] #46621: Update: lua 5.3.0

MacPorts noreply at macports.org
Fri Sep 18 16:54:49 PDT 2015


#46621: Update: lua 5.3.0
-----------------------------+--------------------------------
  Reporter:  mschamschula@…  |      Owner:  macports-tickets@…
      Type:  update          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:  haspatch
      Port:  lua             |
-----------------------------+--------------------------------

Comment (by m7.thon@…):

 Let me get this straight. To enable (partial) backward compatibility with
 say lua 5.2 two things are required:

 * lua 5.3 ''itself'' needs to be compiled with backward compatibility
 enabled by adding {{{-DLUA_COMPAT_5_2}}} to the {{{CFLAGS}}} (and this is
 done in the macports version of lua)
 * any port that uses deprecated lua 5.2 C-API calls needs to ''also''
 compile with {{{-DLUA_COMPAT_5_2}}} to get backwards compatibility (or it
 can be patched to use the current lua C-API)

 Is this correct?

-- 
Ticket URL: <https://trac.macports.org/ticket/46621#comment:22>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list