PORTNAME= kaffeine
PORTVERSION= 1.3.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= multimedia kde
MASTER_SITES= SF/kaffeine/current
--- include/dmx.h.orig 2015-08-07 15:43:59 UTC
+++ include/dmx.h
@@ -24,7 +24,15 @@
@@ -24,7 +24,16 @@
#ifndef _DVBDMX_H_
#define _DVBDMX_H_
+typedef uint32_t __u32;
+typedef uint16_t __u16;
+typedef uint8_t __u8;
+typedef int64_t __s64;
+#endif
+
#include <time.h>
--- src/dvb/dvbdevice_linux.cpp.orig 2016-05-03 12:36:58.011789000 +0200
+++ src/dvb/dvbdevice_linux.cpp 2016-05-03 12:41:02.658341000 +0200
@@ -35,7 +35,9 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <dirent.h>
+#ifndef __FreeBSD__
#include <sys/inotify.h>
#include <vector>
#include <stdlib.h>
#include <unistd.h>
@@ -854,8 +856,10 @@
runstate = 1;
ifd = inotify_init();
inotify_add_watch(ifd, "/dev/dvb", IN_CREATE|IN_DELETE);
fcntl(ifd, F_SETFL, O_NONBLOCK);
pfd.fd = ifd;
pfd.events = POLLIN;
--- include/frontend.h.orig 2015-08-07 15:43:59 UTC
+++ include/frontend.h
@@ -26,7 +26,14 @@
@@ -26,7 +26,15 @@
#ifndef _DVBFRONTEND_H_
#define _DVBFRONTEND_H_
typedef enum fe_type {