[MacPorts] #39148: podofo 0.9.2 fails to compile against lua
#39148: podofo 0.9.2 fails to compile against lua ---------------------------------+-------------------------------- Reporter: christian.frisson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: podofo ---------------------------------+-------------------------------- Hi, Here's the related podofo ticket: http://sourceforge.net/apps/mantisbt/podofo/view.php?id=58 There is no CMake option to deactivate lua support for podofo. Adding the following code in the podofo Portfile solves the issue, worked for me on OSX 10.8.3: {{{ pre-configure { system "sed -i '' -e 's:lua_open:luaL_newstate:' ${worksrcpath}/tools/podofocolor/luaconverter.cpp" system "sed -i '' -e 's:luaL_getn:luaL_len:' ${worksrcpath}/tools/podofocolor/luaconverter.cpp" system "sed -i '' -e 's:lua_open:luaL_newstate:' ${worksrcpath}/tools/podofoimpose/planreader_lua.cpp" } }}} Best regards, Christian -- Ticket URL: <https://trac.macports.org/ticket/39148> MacPorts <http://www.macports.org/> Ports system for OS X
#39148: podofo 0.9.2 fails to compile against lua ----------------------------------+---------------------- Reporter: christian.frisson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: podofo | ----------------------------------+---------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => devans@… Comment: In the future, please Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/39148#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39148: podofo 0.9.2 fails to compile against lua ----------------------------------+---------------------- Reporter: christian.frisson@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: podofo | ----------------------------------+---------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Fix committed as a patch in r107591. Thanks. FYI, the MacPorts Tcl extension [http://guide.macports.org/#reference.tcl- extensions reinplace] can used to implement the technique that you suggest without making any system calls. -- Ticket URL: <https://trac.macports.org/ticket/39148#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts