- Fix Factory build, add patches from Fedora: libunicap-0.9.12-gcc10.patch, libunicap-0.9.12-arraycmp.patch, libunicap-0.9.12-datadirname.patch, libunicap-bz641623.patch and libunicap-0.9.12-memerrs.patch OBS-URL: https://build.opensuse.org/request/show/811707 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libunicap?expand=0&rev=21
27 lines
867 B
Diff
27 lines
867 B
Diff
Index: libunicap-0.9.12/cpi/v4l/v4l.c
|
|
===================================================================
|
|
--- libunicap-0.9.12.orig/cpi/v4l/v4l.c 2010-01-17 09:49:29.000000000 +0200
|
|
+++ libunicap-0.9.12/cpi/v4l/v4l.c 2020-06-05 10:40:11.017168305 +0200
|
|
@@ -49,7 +49,7 @@
|
|
#endif
|
|
#include <debug.h>
|
|
|
|
-#include <linux/videodev.h>
|
|
+#include <libv4l1-videodev.h>
|
|
#include <linux/videodev2.h> // for v4l2 checks
|
|
|
|
#include "v4l.h"
|
|
Index: libunicap-0.9.12/cpi/v4l2cpi/uvcvideo.h
|
|
===================================================================
|
|
--- libunicap-0.9.12.orig/cpi/v4l2cpi/uvcvideo.h 2010-01-17 09:49:29.000000000 +0200
|
|
+++ libunicap-0.9.12/cpi/v4l2cpi/uvcvideo.h 2020-06-05 10:40:11.017168305 +0200
|
|
@@ -2,7 +2,7 @@
|
|
#define _USB_VIDEO_H_
|
|
|
|
#include <linux/kernel.h>
|
|
-#include <linux/videodev.h>
|
|
+#include <libv4l1-videodev.h>
|
|
|
|
#include "uvc_compat.h"
|
|
|