aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-03-22 18:35:06 +0800
committerflz <flz@FreeBSD.org>2005-03-22 18:35:06 +0800
commit657b470d1f6cc736bc8b13168fbc5a74b6622717 (patch)
tree0aa01a2fe8f3b0f2773b2daf4d9bcb8f96f244ad /net-p2p
parent7ab760964ebb88dfa5f9c6b7cef45931aa555b82 (diff)
downloadfreebsd-ports-gnome-657b470d1f6cc736bc8b13168fbc5a74b6622717.tar.gz
freebsd-ports-gnome-657b470d1f6cc736bc8b13168fbc5a74b6622717.tar.zst
freebsd-ports-gnome-657b470d1f6cc736bc8b13168fbc5a74b6622717.zip
- Fix build on 5-i386.
Reported by: pointyhat via kris Approved by: portmgr (krion)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/rtorrent/files/patch-src_display_utils.cc11
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";