svn commit: r303966 - in head/comms/uartlirc: . files
Juergen Lock
nox at FreeBSD.org
Sun Sep 9 13:54:16 UTC 2012
Author: nox
Date: Sun Sep 9 13:54:16 2012
New Revision: 303966
URL: http://svn.freebsd.org/changeset/ports/303966
Log:
Looks like I never tested irrecord... This patch fixes it.
Added:
head/comms/uartlirc/files/patch-uartlirc_lircdev.c (contents, props changed)
Modified:
head/comms/uartlirc/Makefile (contents, props changed)
Modified: head/comms/uartlirc/Makefile
==============================================================================
--- head/comms/uartlirc/Makefile Sun Sep 9 13:34:21 2012 (r303965)
+++ head/comms/uartlirc/Makefile Sun Sep 9 13:54:16 2012 (r303966)
@@ -7,6 +7,7 @@
PORTNAME= uartlirc
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= comms kld
MASTER_SITES= LOCAL/nox \
http://people.freebsd.org/~nox/tmp/
Added: head/comms/uartlirc/files/patch-uartlirc_lircdev.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/uartlirc/files/patch-uartlirc_lircdev.c Sun Sep 9 13:54:16 2012 (r303966)
@@ -0,0 +1,20 @@
+--- uartlirc_lircdev.c.orig
++++ uartlirc_lircdev.c
+@@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$");
+ #include <sys/conf.h>
+ #include <sys/cons.h>
+ #include <sys/fcntl.h>
++#include <sys/filio.h>
+ #include <sys/interrupt.h>
+ #include <sys/kernel.h>
+ #include <sys/malloc.h>
+@@ -117,6 +118,9 @@ uartlirc_lircdev_ioctl(struct cdev *dev,
+ case LIRC_GET_FEATURES:
+ *arg = LIRC_CAN_REC_MODE2;
+ return (0);
++ case FIONBIO:
++ case FIOASYNC:
++ return (0);
+ default:
+ return ENOTTY;
+ }
More information about the svn-ports-all
mailing list