pkgsrc/net/rtorrent/patches/patch-src_utils_directory.h
adam e26603ffce rtorrent: updated to 0.9.7
0.9.7:
Bug-fix release while feature-bind is being worked on.

Fixed ip filter memory usage.
Add space to fmt str in log_gz_file_write.
Fix compilation issue with gcc v6.x and empty CXXFLAGS.
Fix BEP7 compatibility with IPv6 trackers and IPv4 peers.
Include SCGI/XMLRPC example in rtorrent.rc.
Handle SIGHUP like SIGINT.
Fix Throttle args.
Fix missing ranlib - not defined but used.
Fix no // are at start of expanded paths.
Fix ncurses header include.
Fix segfault when viewing a magnet download in the leeching view.
2018-06-24 16:59:52 +00:00

15 lines
506 B
C++

$NetBSD: patch-src_utils_directory.h,v 1.1 2018/06/24 16:59:52 adam Exp $
Fix build under Solaris and DragonFly.
--- src/utils/directory.h.orig 2012-03-29 14:06:11.000000000 +0100
+++ src/utils/directory.h 2012-05-14 23:40:30.000000000 +0100
@@ -50,7 +50,7 @@
// The name and types should match POSIX.
uint32_t d_fileno;
uint32_t d_reclen; //Not used. Messes with Solaris.
- uint8_t d_type;
+ uint32_t d_type;
std::string d_name;
};