aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-05-24 05:03:58 +0800
committermarino <marino@FreeBSD.org>2016-05-24 05:03:58 +0800
commit2abedd2a70eab13d0edfcf55a1a5edd968dd35bd (patch)
treecd10e25ec43133c6bf1781b30d637915da312c15
parent09edd0182ec78330ae27744d008a81ab527a6bbe (diff)
downloadfreebsd-ports-gnome-2abedd2a70eab13d0edfcf55a1a5edd968dd35bd.tar.gz
freebsd-ports-gnome-2abedd2a70eab13d0edfcf55a1a5edd968dd35bd.tar.zst
freebsd-ports-gnome-2abedd2a70eab13d0edfcf55a1a5edd968dd35bd.zip
multimedia/kaffeine: Recover build on DragonFly by enhancing new patch
DragonFly needs the same modification as FreeBSD to build kaffeine, and the necessary tweak to the new patch is trivial. Approved by: Restore DF functionality blanket
-rw-r--r--multimedia/kaffeine/files/patch-dvbdevice_linux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp b/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp
index e391c16e5a4d..4eb9c5903ae2 100644
--- a/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp
+++ b/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp
@@ -4,7 +4,7 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <dirent.h>
-+#ifndef __FreeBSD__
++#if ! (defined __FreeBSD__ || defined __DragonFly__)
#include <sys/inotify.h>
+#endif
#include <vector>
@@ -14,7 +14,7 @@
runstate = 1;
-+#ifndef __FreeBSD__
++#if ! (defined __FreeBSD__ || defined __DragonFly__)
ifd = inotify_init();
inotify_add_watch(ifd, "/dev/dvb", IN_CREATE|IN_DELETE);
+#endif