Package: mlt Version: 0.4.8-1 Justification: FTBFS Severity: serious Tags: patch
Hi, mlt package FTBFS on some architecture. https://buildd.debian.org/pkg.cgi?pkg=mlt ----- cc -g -O2 -Wall -fPIC -DPIC -O2 -pipe -fomit-frame-pointer -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC -O2 -pipe -fomit-frame-pointer -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I../.. -Wall -fPIC -DPIC -O2 -pipe -fomit-frame-pointer -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I/usr/include/libavformat -I/usr/include/libavcodec -I/usr/include/libswscale -DFILTERS -DCODECS -DSWSCALE -c -o consumer_avformat.o consumer_avformat.c cc -shared -o ../libmltavformat.so factory.o filter_avcolour_space.o filter_avresample.o filter_avdeinterlace.o filter_swscale.o producer_avformat.o consumer_avformat.o -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../../framework -lmlt -lpthread -Wl,--no-undefined -Wl,--as-needed -lavformat -lavformat -lavcodec -lavutil -lavdevice -lswscale producer_avformat.o: In function `decode_audio': /build/buildd-mlt_0.4.8-1-armel-Gw6Env/mlt-0.4.8/src/modules/avformat/producer_avformat.c:1425: undefined reference to `lrint' collect2: ld returned 1 exit status ----- When we use lrint, we need libm. But it is not set in LDFLAGS. I created patch and build check. Work file. Please apply this patch? Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6
fix_lrint.diff
Description: application/octetstream

