#31235: libffi: update to 3.0.10 -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: libffi -------------------------------------+-------------------------------------- Comment(by ak.ml@…): With {{{patch-configure.diff}}}, I could get {{{libffi}}} to compile. The explanation is that BSD {{{wc}}} and GNU {{{wc}}} have different outputs (BSD prepends spaces). {{{ $ echo BSD | wc -w 1 $ echo GNU | gwc -w 1 }}} This breaks the following string comparison {{{test "$n" = "0"}}}. I replaced it with a numerical comparison. -- Ticket URL: <https://trac.macports.org/ticket/31235#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS