ports/graphics/opencv/files/patch-modules_videoio_src_cap__v4l.cpp
Tobias C. Berner 43a30a366c graphics/opencv: update to 4.5.3
Changes in the port:
- fix prefetch of third party software
        - prefetching of distfiles has been fixed
	- cmake will now throw an error in ocv_download()
	  if it is still called
- minor cleanup

- next step: readd some more options, and improve port for
  non-poudriere users

PR:		256669
2021-07-18 12:53:21 +02:00

12 lines
298 B
C++

--- modules/videoio/src/cap_v4l.cpp.orig 2021-04-02 11:23:54 UTC
+++ modules/videoio/src/cap_v4l.cpp
@@ -228,7 +228,9 @@ make & enjoy!
#include <poll.h>
#ifdef HAVE_CAMV4L2
+#ifdef __linux__
#include <asm/types.h> /* for videodev2.h */
+#endif
#include <linux/videodev2.h>
#endif