Accepting request 122964 from home:adra:branches:devel:libraries:c_c++
Added a patch (libdvbv5-Add-missing-includes.patch) in order to fix compilation due to missing includes OBS-URL: https://build.opensuse.org/request/show/122964 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/v4l-utils?expand=0&rev=17
This commit is contained in:
parent
8644eeda02
commit
bb047d2c88
41
libdvbv5-Add-missing-includes.patch
Normal file
41
libdvbv5-Add-missing-includes.patch
Normal file
@ -0,0 +1,41 @@
|
||||
From 9475926b6e50f60ac56175915cf82dd4f97d00ae Mon Sep 17 00:00:00 2001
|
||||
From: Gregor Jasny <gjasny@googlemail.com>
|
||||
Date: Tue, 15 May 2012 21:24:51 +0200
|
||||
Subject: [PATCH 12/12] libdvbv5: Add missing includes
|
||||
|
||||
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
|
||||
---
|
||||
utils/dvb/dvb-v5-std.h | 1 +
|
||||
utils/dvb/dvb-v5.h | 3 +++
|
||||
2 files changed, 4 insertions(+)
|
||||
|
||||
diff --git a/utils/dvb/dvb-v5-std.h b/utils/dvb/dvb-v5-std.h
|
||||
index 6403ad2..166bf55 100644
|
||||
--- a/utils/dvb/dvb-v5-std.h
|
||||
+++ b/utils/dvb/dvb-v5-std.h
|
||||
@@ -20,6 +20,7 @@
|
||||
* http://linuxtv.org/downloads/v4l-dvb-apis/FE_GET_SET_PROPERTY.html
|
||||
*/
|
||||
|
||||
+#include <stddef.h>
|
||||
#include "dvb_frontend.h"
|
||||
|
||||
const unsigned int sys_dvbt_props[] = {
|
||||
diff --git a/utils/dvb/dvb-v5.h b/utils/dvb/dvb-v5.h
|
||||
index 6ba6730..67cd725 100644
|
||||
--- a/utils/dvb/dvb-v5.h
|
||||
+++ b/utils/dvb/dvb-v5.h
|
||||
@@ -3,7 +3,10 @@
|
||||
*/
|
||||
#ifndef _DVB_V5_CONSTS_H
|
||||
#define _DVB_V5_CONSTS_H
|
||||
+
|
||||
+#include <stddef.h>
|
||||
#include "dvb_frontend.h"
|
||||
+
|
||||
struct fe_caps_name {
|
||||
unsigned idx;
|
||||
char *name;
|
||||
--
|
||||
1.7.10
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 30 18:24:41 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Added a patch (libdvbv5-Add-missing-includes.patch) in order to fix
|
||||
compilation due to missing includes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 17:15:15 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
|
@ -28,6 +28,8 @@ Source0: http://linuxtv.org/downloads/v4l-utils/%{name}-%{version}.tar.bz
|
||||
Source100: baselibs.conf
|
||||
# PATCH-FIX-OPENSUSE disable_rds_compilation.patch asterios.dramis@gmail.com -- Disable compilation of utils/rds (it isn't installed anyway) as it fails to compile with i2c-dev.h from i2c-tools (needs the one from linux-glibc-devel)
|
||||
Patch0: disable_rds_compilation.patch
|
||||
# PATCH-FIX-UPSTREAM libdvbv5-Add-missing-includes.patch asterios.dramis@gmail.com -- Fix compilation due to missing includes (taken from Fedora)
|
||||
Patch1: libdvbv5-Add-missing-includes.patch
|
||||
# Only needed to patch broken images in the upstream tarball
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: kernel-headers
|
||||
@ -139,6 +141,7 @@ qv4l2 is a test control and streaming test application for video4linux.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
make CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags}" %{?_smp_mflags}
|
||||
|
Loading…
Reference in New Issue
Block a user