When built with the option WITH_AC3PASSTHROUGH=yes, compilation of the multimedia/avifile port dies as follows: Making all in plugins gmake[1]: Entering directory `/raid5/current/ports/raid5/current/ports/multimedia/avifile/work/avifile0.7-0.7.22/plugins' Making all in libac3pass gmake[2]: Entering directory `/raid5/current/ports/raid5/current/ports/multimedia/avifile/work/avifile0.7-0.7.22/plugins/libac3pass' /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/local/include -L/usr/local/lib -Wall -Wno-unused -I../../include -O -pipe -march=pentiumpro -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -pipe -c ac3-iec958.c rm -f .libs/ac3-iec958.lo cc -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/local/include -L/usr/local/lib -Wall -Wno-unused -I../../include -O -pipe -march=pentiumpro -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -pipe -c ac3-iec958.c -fPIC -DPIC -o .libs/ac3-iec958.lo ac3-iec958.c:25: conflicting types for `swab' /usr/include/string.h:97: previous declaration of `swab' gmake[2]: *** [ac3-iec958.lo] Error 1 gmake[2]: Leaving directory `/raid5/current/ports/raid5/current/ports/multimedia/avifile/work/avifile0.7-0.7.22/plugins/libac3pass' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/raid5/current/ports/raid5/current/ports/multimedia/avifile/work/avifile0.7-0.7.22/plugins' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /raid5/current/ports/multimedia/avifile. *** Error code 1 Stop in /raid5/current/ports/multimedia/avifile. Fix: The following patch fixes the problem (I have it in my files/ directory as patch-plugins::libac3pass::ac3-iec958.c): How-To-Repeat: cd /usr/ports/multimedia/avifile make WITH_AC3PASSTHROUGH=yes
State Changed From-To: open->closed Committed. Thanks!