svn commit: r415745 - head/multimedia/kaffeine/files

John Marino marino at FreeBSD.org
Mon May 23 21:04:00 UTC 2016


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


More information about the svn-ports-all mailing list