1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/multimedia/mjpg-streamer/files/patch-plugins-input__uvc-uvc__compat.h
Kurt Jaeger 3e364dcb58 New port: multimedia/mjpg-streamer
MJPG-streamer takes JPGs from Linux-UVC compatible webcams, filesystem or
other input plugins and streams them as M-JPEG via HTTP to webbrowsers,
VLC and other software. It is the successor of uvc-streamer, a Linux-UVC
streaming application with Pan/Tilt

WWW: http://sourceforge.net/projects/mjpg-streamer/

PR:		181527
Submitted by:	kozlov.sergey.404@gmail.com
2014-08-09 20:33:06 +00:00

28 lines
539 B
C

--- plugins/input_uvc/uvc_compat.h.orig 2008-06-16 14:23:51.000000000 +0300
+++ plugins/input_uvc/uvc_compat.h 2013-08-24 04:49:30.000000000 +0300
@@ -26,14 +26,13 @@
#ifndef _UVC_COMPAT_H
#define _UVC_COMPAT_H
-#include <linux/version.h>
#ifndef __KERNEL__
#ifndef __user
#define __user
#endif
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
+#if 0
/*
* Extended control API
*/
@@ -85,7 +84,7 @@
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
+#if 0
/*
* Frame size and frame rate enumeration
*