diff options
author | John Marino <marino@FreeBSD.org> | 2016-05-23 21:03:58 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-05-23 21:03:58 +0000 |
commit | a08c06f96c852cb0e8feb7389160906858a06a86 (patch) | |
tree | cd10e25ec43133c6bf1781b30d637915da312c15 /multimedia/kaffeine | |
parent | cbda3dff44e1ed74ecfd892ce09eef4b8acfb6c3 (diff) | |
download | ports-a08c06f96c852cb0e8feb7389160906858a06a86.tar.gz ports-a08c06f96c852cb0e8feb7389160906858a06a86.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
Notes
Notes:
svn path=/head/; revision=415745
Diffstat (limited to 'multimedia/kaffeine')
-rw-r--r-- | multimedia/kaffeine/files/patch-dvbdevice_linux.cpp | 4 |
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 |