diff --git a/multimedia/flv2mpeg4/files/Makefile.bsd b/multimedia/flv2mpeg4/files/Makefile.bsd index 6581f50587b5..1752294ee23e 100644 --- a/multimedia/flv2mpeg4/files/Makefile.bsd +++ b/multimedia/flv2mpeg4/files/Makefile.bsd @@ -5,7 +5,7 @@ SRCS= avformat_writer.c dcprediction.c flv2mpeg4.c fetch.c flvdecoder.c\ m4vencode.c mp3header.c LDADD+= -lpthread -lavformat -lavcodec -lavutil CFLAGS+= -O2 -CFLAGS+= -I/usr/local/include/ffmpeg +CFLAGS+= -I/usr/local/include LDADD+= -L/usr/local/lib PROG= flv2mpeg4 NO_MAN= yes diff --git a/multimedia/flv2mpeg4/files/patch-src_avformat_writer.h b/multimedia/flv2mpeg4/files/patch-src_avformat_writer.h new file mode 100644 index 000000000000..6de73fad3fa4 --- /dev/null +++ b/multimedia/flv2mpeg4/files/patch-src_avformat_writer.h @@ -0,0 +1,10 @@ +Index: avformat_writer.h +@@ -28,7 +28,7 @@ + #include + + #include "type.h" +-#include "avformat.h" // libavformat is part of ffmpeg(http://ffmpeg.sf.net) ++#include "libavformat/avformat.h" // libavformat is part of ffmpeg(http://ffmpeg.sf.net) + #include "mp3header.h" + + typedef struct _AVFWRITER