1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Update to 3.0.0.2.

- Added new ioctl VIDIOC_QUERYUSBINFO for use with LIBV4L.
- Fix for EVIOCGKEYCODE ioctl.
- Fix for segfault, due to wrong header file used when compiling linux_i2c.c.
- Include linux_make tool in distribution.

Submitted by:	maintainer
This commit is contained in:
Koop Mast 2011-08-23 13:19:58 +00:00
parent 116bdfe7a0
commit be881a5035
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280272
3 changed files with 3 additions and 21 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= webcamd
PORTVERSION= 3.0.0.1
PORTREVISION= 1
PORTVERSION= 3.0.0.2
CATEGORIES= multimedia
MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \
http://hselasky.homeunix.org:8192/distfiles/

View File

@ -1,2 +1,2 @@
SHA256 (webcamd-3.0.0.1.tar.bz2) = f6ef39dbc1c4e00421e9c00aa9a88a2da2310d979e648fb34cf631118f00d55e
SIZE (webcamd-3.0.0.1.tar.bz2) = 8027049
SHA256 (webcamd-3.0.0.2.tar.bz2) = c0a1a84ceed778b3f9b6e6ff6778fce2d85b8de25e7428b412bfc8c3177089f2
SIZE (webcamd-3.0.0.2.tar.bz2) = 8034500

View File

@ -1,17 +0,0 @@
--- media_tree/include/linux/input.h.orig
+++ media_tree/include/linux/input.h
@@ -104,8 +104,12 @@ struct input_keymap_entry {
#define EVIOCGREP _IOR('E', 0x03, unsigned int[2]) /* get repeat settings */
#define EVIOCSREP _IOW('E', 0x03, unsigned int[2]) /* set repeat settings */
-#define EVIOCGKEYCODE _IOR('E', 0x04, unsigned int[2]) /* get keycode */
-#define EVIOCGKEYCODE_V2 _IOR('E', 0x04, struct input_keymap_entry)
+/*
+ * These two need to be _IOWR not _IOR (they're wrong on Linux too but
+ * there the driver doesn't care.)
+ */
+#define EVIOCGKEYCODE _IOWR('E', 0x04, unsigned int[2]) /* get keycode */
+#define EVIOCGKEYCODE_V2 _IOWR('E', 0x04, struct input_keymap_entry)
#define EVIOCSKEYCODE _IOW('E', 0x04, unsigned int[2]) /* set keycode */
#define EVIOCSKEYCODE_V2 _IOW('E', 0x04, struct input_keymap_entry)