diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-03-22 10:35:06 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-03-22 10:35:06 +0000 |
commit | bf9ec5d403babc0b340bacf1bb1ec23a12e96ae2 (patch) | |
tree | 1b515788aa1f7db40a8f90768d78f9873e6215a8 /net-p2p/rtorrent/files | |
parent | beda4ef09bb8b06b4a6b0177477b924aa61b9b67 (diff) | |
download | ports-bf9ec5d403babc0b340bacf1bb1ec23a12e96ae2.tar.gz ports-bf9ec5d403babc0b340bacf1bb1ec23a12e96ae2.zip |
- Fix build on 5-i386.
Reported by: pointyhat via kris
Approved by: portmgr (krion)
Notes
Notes:
svn path=/head/; revision=131893
Diffstat (limited to 'net-p2p/rtorrent/files')
-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..026964e131c7 --- /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(&t.tval().tv_sec); ++ std::tm *u = std::localtime((const time_t *)&t.tval().tv_sec); + + if (u == NULL) + return "inv_time"; |