Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2016 21:03:59 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415745 - head/multimedia/kaffeine/files
Message-ID:  <201605232103.u4NL3xkm087893@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon May 23 21:03:58 2016
New Revision: 415745
URL: https://svnweb.freebsd.org/changeset/ports/415745

Log:
  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

Modified:
  head/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp

Modified: head/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp
==============================================================================
--- head/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp	Mon May 23 21:02:42 2016	(r415744)
+++ head/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp	Mon May 23 21:03:58 2016	(r415745)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605232103.u4NL3xkm087893>