Ticket #13653: 0005-use-system-videodev2.h-include-rather-than-a-local-s.patch

File 0005-use-system-videodev2.h-include-rather-than-a-local-s.patch, 1.3 KB (added by Gary Buhrmaster, 4 months ago)

use system videodev2.h include rather than a local (sometimes different) copy - The project no longer supports distributions with the older kernels that required having a local copy of videodev2.h.

  • mythtv/libs/libmythtv/recorders/v4lchannel.h

    From 08cc0787968e57d36e4aa8f12b805d8ec9a28288 Mon Sep 17 00:00:00 2001
    From: Gary Buhrmaster <gary.buhrmaster@gmail.com>
    Date: Tue, 14 Jul 2020 15:08:04 +0000
    Subject: [PATCH 5/7] use system videodev2.h include rather than a local
     (sometimes different) copy
    
    The project no longer supports distributions with the older kernels that
    required having a local copy of videodev2.h.
    ---
     mythtv/libs/libmythtv/recorders/v4lchannel.h | 2 +-
     mythtv/libs/libmythtv/v4l2util.h             | 2 +-
     2 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/mythtv/libs/libmythtv/recorders/v4lchannel.h b/mythtv/libs/libmythtv/recorders/v4lchannel.h
    index 365faa7ff1..d1064951dc 100644
    a b  
    1010#include "frequencies.h"
    1111
    1212#ifdef USING_V4L2
    13 #include "videodev2.h" // needed for v4l2_std_id type
     13#include <linux/videodev2.h>
    1414#endif
    1515
    1616using namespace std;
  • mythtv/libs/libmythtv/v4l2util.h

    diff --git a/mythtv/libs/libmythtv/v4l2util.h b/mythtv/libs/libmythtv/v4l2util.h
    index 560931c1bd..955eca3a88 100644
    a b  
    22#define V4L2_UTIL_H
    33
    44#ifdef USING_V4L2
    5 #include "videodev2.h" // our copy
     5#include <linux/videodev2.h>
    66#endif
    77
    88#include "tv.h"