Date: Sun, 9 Sep 2012 13:54:16 +0000 (UTC) From: Juergen Lock <nox@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303966 - in head/comms/uartlirc: . files Message-ID: <201209091354.q89DsGSw087281@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209091354.q89DsGSw087281>