1
0
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:
Florent Thoumie 2005-03-22 10:35:06 +00:00
parent beda4ef09b
commit bf9ec5d403
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131893
2 changed files with 22 additions and 0 deletions

View 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";

View 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";