package/iputils: patch ping to link against libm
[buildroot-gz.git] / package / vlc / 0008-opencv_wrapper-use-opencv2-style-includes.patch
blob0ce0206d109bdbe98ec5ff258bb47d92446f3538
1 Backport from: https://git.videolan.org/?p=vlc.git;a=commit;h=cc236e4652255902f2c2cee3b18f83367f35a8c7
3 From cc236e4652255902f2c2cee3b18f83367f35a8c7 Mon Sep 17 00:00:00 2001
4 From: Samuel Martin <s.martin49@gmail.com>
5 Date: Sun, 24 May 2015 14:30:09 +0200
6 Subject: [PATCH 8/9] opencv_wrapper: use opencv2-style includes
8 If old opencv1-style legacy include directory is available, this change
9 becomes purely cosmetic (maybe will compile a bit faster).
10 It becomes an FTBFS fix when opencv1-style include directory is missing
11 (i.e. from opencv-3.0).
13 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
14 Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 ---
16 modules/video_filter/opencv_wrapper.c | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
19 diff --git a/modules/video_filter/opencv_wrapper.c b/modules/video_filter/opencv_wrapper.c
20 index e36e1a5..5d74241 100644
21 --- a/modules/video_filter/opencv_wrapper.c
22 +++ b/modules/video_filter/opencv_wrapper.c
23 @@ -39,8 +39,8 @@
24 #include <vlc_image.h>
25 #include "filter_picture.h"
27 -#include <cxcore.h>
28 -#include <cv.h>
29 +#include <opencv2/core/core_c.h>
30 +#include <opencv2/core/types_c.h>
32 /*****************************************************************************
33 * Local prototypes
34 --
35 2.4.2