mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Fix build on 5-i386.
Reported by: pointyhat via kris Approved by: portmgr (krion)
This commit is contained in:
parent
beda4ef09b
commit
bf9ec5d403
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131893
11
net-p2p/rtorrent/files/patch-src_display_utils.cc
Normal file
11
net-p2p/rtorrent/files/patch-src_display_utils.cc
Normal file
@ -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";
|
11
net/rtorrent/files/patch-src_display_utils.cc
Normal file
11
net/rtorrent/files/patch-src_display_utils.cc
Normal file
@ -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";
|
Loading…
Reference in New Issue
Block a user