support in webcamd svn (for mceusb-based receivers/transmitters and USB DVB tuner remotes supported by the Linux code), and enable support for a few more USB devices while we're at it tho of those only an FTDI-based one was tested: http://www.huitsing.nl/irftdi/ [1] - Fix plist for audio/rhythmbox and multimedia/totem and add missing LIRC_{CFLAGS,LIBS} variables to CONFIGURE_ENV for multimedia/xine when building them with (optional) lirc support. [2] - Chase liblirc_client shlib version bump for ports depdending on it and bump PORTREVISIONs for ports depending on it by default. Approved by: portmgr (miwi) [2] Thanks to: Warren Block <wblock@wonkity.com> for testing [1]
21 lines
494 B
C
21 lines
494 B
C
--- drivers/lirc.h.orig
|
|
+++ drivers/lirc.h
|
|
@@ -9,12 +9,17 @@
|
|
#if defined(__linux__)
|
|
#include <linux/types.h>
|
|
#include <linux/ioctl.h>
|
|
-#elif defined(_NetBSD_)
|
|
+#elif defined(_NetBSD_) || defined(__FreeBSD__)
|
|
#include <sys/ioctl.h>
|
|
#elif defined(_CYGWIN_)
|
|
#define __USE_LINUX_IOCTL_DEFS
|
|
#include <sys/ioctl.h>
|
|
#endif
|
|
+#ifndef __linux__
|
|
+#include <stdint.h>
|
|
+#define __u32 uint32_t
|
|
+#define __u64 uint64_t
|
|
+#endif
|
|
|
|
#define PULSE_BIT 0x01000000
|
|
#define PULSE_MASK 0x00FFFFFF
|