[MacPorts] #30035: vpnc update to make it work in mac os x 10.7
#30035: vpnc update to make it work in mac os x 10.7 -----------------------------------+---------------------------------------- Reporter: thomas.kotzian@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: vpnc -----------------------------------+---------------------------------------- vpnc does not compile on mac os x 10.7 because definitions of the function getline clash. mac os x 10.5/10.6 do not have a getline function so vpnc defines its own. mac os x 10.7 has a getline and vpnc has to be told about it. please find the port and patch file attached. tested on 10.7 (GM) and 10.6.8 -- Ticket URL: <https://trac.macports.org/ticket/30035> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30035: vpnc update to make it work in mac os x 10.7 -----------------------------------+---------------------------------------- Reporter: thomas.kotzian@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: vpnc -----------------------------------+---------------------------------------- Comment(by macsforever2000@…): Please attach a patch of the Portfile as a universal diff. -- Ticket URL: <https://trac.macports.org/ticket/30035#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30035: vpnc update to make it work in mac os x 10.7 -----------------------------------+---------------------------------------- Reporter: thomas.kotzian@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: vpnc -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch * owner: macports-tickets@… => ryandesign@… * status: new => assigned Comment: If the build does not work before this patch on 10.7, then there is no justification for increasing the port's revision. -- Ticket URL: <https://trac.macports.org/ticket/30035#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30035: vpnc update to make it work in mac os x 10.7 ------------------------------------+--------------------------------------- Reporter: thomas.kotzian@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: haspatch Port: vpnc | ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: It seems wrong to base this check on `#ifdef __MAC_10_7`; one should check for features, not OS versions. But I committed it in r80159 as is since you say it resolve the problem for now, and hopefully the next version of vpnc will fix it the right way. (Have you already reported the problem to the developers of vpnc? If not, please do so.) -- Ticket URL: <https://trac.macports.org/ticket/30035#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts