Index: head/comms/uartlirc/Makefile =================================================================== --- head/comms/uartlirc/Makefile (revision 303965) +++ head/comms/uartlirc/Makefile (revision 303966) @@ -1,57 +1,58 @@ # New ports collection makefile for: uarlirc # Date created: Sun May 13 17:39:40 CEST 2012 # Whom: nox@FreeBSD.org # # $FreeBSD$ # PORTNAME= uartlirc PORTVERSION= 0.3 +PORTREVISION= 1 CATEGORIES= comms kld MASTER_SITES= LOCAL/nox \ http://people.freebsd.org/~nox/tmp/ DISTNAME= ${PORTNAME}-preliminary-003 EXTRACT_SUFX= .shar MAINTAINER= nox@FreeBSD.org COMMENT= Driver for "homebrew" serial LIRC receivers WRKSRC= ${WRKDIR}/${PORTNAME} EXTRACT_CMD= ${SH} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= .include PLIST_FILES+= "@cwd /" PLIST_FILES+= ${KMODDIR:C,^/,,}/${PORTNAME}.ko PLIST_FILES+= "@exec kldxref ${KMODDIR}" PLIST_FILES+= "@unexec kldxref ${KMODDIR}" # install where x11/nvidia-driver does also: KMODDIR= /boot/modules MAKE_ENV+= KMODDIR="${KMODDIR}" SYSDIR?= ${SRC_BASE}/sys MAKE_ENV+= SYSDIR="${SYSDIR}" CFLAGS+= ${DEBUG_FLAGS} .if ${OSVERSION} < 800000 IGNORE= needs .endif .if !exists(${SYSDIR}/Makefile) IGNORE= requires kernel source to be installed .endif .if ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on powerpc or sparc64 .endif do-install: ${INSTALL} ${WRKSRC}/${PORTNAME}.ko ${KMODDIR} kldxref ${KMODDIR} .include Property changes on: head/comms/uartlirc/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/uartlirc/files/patch-uartlirc_lircdev.c =================================================================== --- head/comms/uartlirc/files/patch-uartlirc_lircdev.c (nonexistent) +++ head/comms/uartlirc/files/patch-uartlirc_lircdev.c (revision 303966) @@ -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; + } Property changes on: head/comms/uartlirc/files/patch-uartlirc_lircdev.c ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property