#48938: ffmpeg build failure on 10.6 --------------------------------+------------------------- Reporter: chilli.namesake@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: ffmpeg | --------------------------------+------------------------- Comment (by ryandesign@…): Replying to [comment:2 ryandesign@…]:
We also had a report of that error with mesa in #46827. In both tickets, Jeremy suggested removing "`-Werror=missing-prototypes`" from the build system.
I found [http://ffmpeg.org/pipermail/ffmpeg-devel/2011-April/110848.html a report of this type of problem] on the ffmpeg mailing list from four years ago. There, the problem file was libavfilter/vf_libopencv.c , and the suggestion was to conditionally undefine `__GNUC_STDC_INLINE__` on OS X. The thread ends at some point with no indication that the patch was applied. There was also a reference to the [http://www.openradar.me/8026390 openradar 8026390] report of this problem. I see that a similar strategy is already being used (unconditionally) in libavcodec/vda.h: {{{ // emmintrin.h is unable to compile with -std=c99 -Werror=missing- prototypes // http://openradar.appspot.com/8026390 #undef __GNUC_STDC_INLINE__ }}} Maybe that is what we should do here instead. -- Ticket URL: <https://trac.macports.org/ticket/48938#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X