Accepting request 75638 from home:namtrac:branches:multimedia:libs
- Add libdc1394-v4l-2.6.38.patch: use the new v4l interface OBS-URL: https://build.opensuse.org/request/show/75638 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdc1394?expand=0&rev=15
This commit is contained in:
parent
9690db255b
commit
a860857a9b
11
libdc1394-v4l-2.6.38.patch
Normal file
11
libdc1394-v4l-2.6.38.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- libdc1394-2.1.3/examples/dc1394_vloopback.c 2009-05-25 08:49:17.000000000 +0200
|
||||
+++ libdc1394-2.1.3/examples/dc1394_vloopback.c 2011-07-07 11:47:18.326089352 +0200
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <signal.h>
|
||||
#define _LINUX_TIME_H
|
||||
#define _DEVICE_H_
|
||||
-#include <linux/videodev.h>
|
||||
+#include <libv4l1-videodev.h>
|
||||
#include <getopt.h>
|
||||
#include <stdint.h>
|
||||
#include <inttypes.h>
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 7 09:47:56 UTC 2011 - idonmez@novell.com
|
||||
|
||||
- Add libdc1394-v4l-2.6.38.patch: use the new v4l interface
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 14 13:38:21 UTC 2011 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -28,6 +28,9 @@ BuildRequires: libraw1394-devel
|
||||
# no IIDC-over-USB support for openSUSE 11.0
|
||||
BuildRequires: libusb-1_0-devel pkg-config
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1210
|
||||
BuildRequires: libv4l-devel >= 0.8.4
|
||||
%endif
|
||||
License: LGPLv2.1+
|
||||
Group: Hardware/Camera
|
||||
AutoReqProv: on
|
||||
@ -43,6 +46,7 @@ Patch0: libdc1394.no-x11.patch
|
||||
Patch1: libdc1394.ac.patch
|
||||
Patch2: libdc1394-swab_fix.patch
|
||||
Patch3: libdc1394.raw1394_set_iso_handler.patch
|
||||
Patch4: libdc1394-v4l-2.6.38.patch
|
||||
|
||||
%description
|
||||
This library provides functionality for controlling any camera that
|
||||
@ -176,6 +180,9 @@ Authors:
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%patch4
|
||||
%endif
|
||||
|
||||
%build
|
||||
doit() {
|
||||
|
Loading…
Reference in New Issue
Block a user