svn commit: r360844 - head/net-p2p/rtorrent/files

John Marino marino at FreeBSD.org
Sat Jul 5 23:31:56 UTC 2014


Author: marino
Date: Sat Jul  5 23:31:55 2014
New Revision: 360844
URL: http://svnweb.freebsd.org/changeset/ports/360844
QAT: https://qat.redports.org/buildarchive/r360844/

Log:
  net-p2p/rtorrent: Bring in DragonFly support from dports

Added:
  head/net-p2p/rtorrent/files/patch-src_utils_directory.cc   (contents, props changed)

Added: head/net-p2p/rtorrent/files/patch-src_utils_directory.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/rtorrent/files/patch-src_utils_directory.cc	Sat Jul  5 23:31:55 2014	(r360844)
@@ -0,0 +1,13 @@
+--- src/utils/directory.cc.orig	2012-03-29 13:06:11.000000000 +0000
++++ src/utils/directory.cc
+@@ -88,6 +88,10 @@ Directory::update(int flags) {
+     itr->d_fileno = entry->d_ino;
+     itr->d_reclen = 0;
+     itr->d_type = s.st_mode;
++#elif defined(__DragonFly__)
++    itr->d_fileno = entry->d_fileno;
++    itr->d_reclen = _DIRENT_RECLEN(entry->d_namlen);
++    itr->d_type   = entry->d_type;
+ #else
+     itr->d_fileno = entry->d_fileno;
+     itr->d_reclen = entry->d_reclen;


More information about the svn-ports-head mailing list