From owner-svn-ports-head@FreeBSD.ORG Sun Sep 9 13:54:16 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA1D1106566B; Sun, 9 Sep 2012 13:54:16 +0000 (UTC) (envelope-from nox@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A3D0A8FC12; Sun, 9 Sep 2012 13:54:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q89DsGP8087284; Sun, 9 Sep 2012 13:54:16 GMT (envelope-from nox@svn.freebsd.org) Received: (from nox@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q89DsGSw087281; Sun, 9 Sep 2012 13:54:16 GMT (envelope-from nox@svn.freebsd.org) Message-Id: <201209091354.q89DsGSw087281@svn.freebsd.org> From: Juergen Lock Date: Sun, 9 Sep 2012 13:54:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303966 - in head/comms/uartlirc: . files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2012 13:54:16 -0000 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 + #include + #include ++#include + #include + #include + #include +@@ -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; + }