diff options
author | flz <flz@FreeBSD.org> | 2005-04-21 16:08:04 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-04-21 16:08:04 +0800 |
commit | 733f3d88460a26938f0eecf00657ae7391af6634 (patch) | |
tree | d7be6ba60d3dc3e90b2d8e2aa613f9c351eec0a7 /net-p2p/rtorrent | |
parent | ed1c57df42f8c2dcbc2d9c64b41ab838c30023d7 (diff) | |
download | freebsd-ports-gnome-733f3d88460a26938f0eecf00657ae7391af6634.tar.gz freebsd-ports-gnome-733f3d88460a26938f0eecf00657ae7391af6634.tar.zst freebsd-ports-gnome-733f3d88460a26938f0eecf00657ae7391af6634.zip |
- Fix build on RELENG_5.
Reported by: krismail, Thomas Kempka <t.kempka@web.de>
Diffstat (limited to 'net-p2p/rtorrent')
-rw-r--r-- | net-p2p/rtorrent/files/patch-src_display_utils.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/rtorrent/files/patch-src_display_utils.cc b/net-p2p/rtorrent/files/patch-src_display_utils.cc new file mode 100644 index 000000000000..473875ee1ef0 --- /dev/null +++ b/net-p2p/rtorrent/files/patch-src_display_utils.cc @@ -0,0 +1,11 @@ +--- src/display/utils.cc.orig ++++ src/display/utils.cc +@@ -58,7 +58,7 @@ + + std::string + print_hhmmss(utils::Timer t) { +- std::tm *u = std::localtime(&(time_t)t.tval().tv_sec); ++ std::tm *u = std::localtime((const time_t *)&t.tval().tv_sec); + + if (u == NULL) + return "inv_time"; |