mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Looks like I never tested irrecord... This patch fixes it.
This commit is contained in:
parent
53ed3e8d67
commit
986c8e7401
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303966
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= uartlirc
|
||||
PORTVERSION= 0.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= comms kld
|
||||
MASTER_SITES= LOCAL/nox \
|
||||
http://people.freebsd.org/~nox/tmp/
|
||||
|
20
comms/uartlirc/files/patch-uartlirc_lircdev.c
Normal file
20
comms/uartlirc/files/patch-uartlirc_lircdev.c
Normal file
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user