[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#793131: avbin: FTBFS: fatal error: avformat.h: No such file or directory



Package: avbin
Version: 7-4
Tags: patch
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Tags: sid stretch

Dear maintainer,

the libav -> ffmpeg transition is ongoing and the headers are now installed
in the multi-arch locations. Thus compiling with '-I/usr/include/libavformat'
doesn't work around the wrong include paths anymore.

Attached patch changes them to the full paths.

I'm sorry for not noticing this earlier (my build chroot was unclean...).

Best regards,
Andreas
--- a/debian/patches/libav.patch
+++ b/debian/patches/libav.patch
@@ -4,17 +4,11 @@ Last-Update: 2014-03-17
 
 --- avbin-7.orig/src/avbin.c
 +++ avbin-7/src/avbin.c
-@@ -25,9 +25,11 @@
- #include <avbin.h>
- 
- /* ffmpeg */
--#include <libavformat/avformat.h>
--#include <libavcodec/avcodec.h>
--#include <libavutil/avutil.h>
-+#include <avformat.h>
-+#include <avcodec.h>
-+#include <avutil.h>
-+#include <swscale.h>
+@@ -28,6 +28,8 @@
+ #include <libavformat/avformat.h>
+ #include <libavcodec/avcodec.h>
+ #include <libavutil/avutil.h>
++#include <libswscale/swscale.h>
 +#include <libavutil/dict.h>
  
  struct _AVbinFile {

Reply to: