Index: head/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp =================================================================== --- head/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp (revision 415744) +++ head/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp (revision 415745) @@ -1,23 +1,23 @@ --- 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 #include #include -+#ifndef __FreeBSD__ ++#if ! (defined __FreeBSD__ || defined __DragonFly__) #include +#endif #include #include #include @@ -854,8 +856,10 @@ runstate = 1; -+#ifndef __FreeBSD__ ++#if ! (defined __FreeBSD__ || defined __DragonFly__) ifd = inotify_init(); inotify_add_watch(ifd, "/dev/dvb", IN_CREATE|IN_DELETE); +#endif fcntl(ifd, F_SETFL, O_NONBLOCK); pfd.fd = ifd; pfd.events = POLLIN;