#51823: ffmpeg @3.1.1_0 fails building on 10.5.8 PPC -----------------------------------+---------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ffmpeg, ffmpeg-devel | -----------------------------------+---------------------- Changes (by devans@…): * cc: devans@… (removed) * status: new => assigned * port: ffmpeg => ffmpeg, ffmpeg-devel * owner: macports-tickets@… => devans@… Comment: Your compiler is too old. gcc-4.2 is rebelling here at the use of the keyword {{{ __bridge }}} which is part of a bridged cast used with Automatic Reference Counting (ARC) in current objective C/C++. I believe this was introduced somewhere around Apple clang 4.0, LLVM 3.1 or so (Xcode 4 in OS X 10.6). This code does, in fact, build on the 10.6 buildbot but apparently not on 10.5 and earlier. This is filter code using CoreImage so the simplest thing to do here is to disable the corresponding filters. To do this add the following lines after the configure.args section of the Portfile {{{ configure.args-append --disable-filter=coreimage \ --disable-filter=coreimagesrc }}} If this works for you, I'll incorporate the appropriate changes on this end. As usual, I'm not able to test on 10.5 so I need your help. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/51823#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X