From b6d3fccfffcf8fceeabf1db98e06f75fb4a9743d Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 17 Jun 2005 17:38:36 +0000 Subject: - Update to 0.3.2 PR: ports/82277 Submitted by: KATO Tsuguru --- math/gracetmpl/files/patch-gracetmpl.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 math/gracetmpl/files/patch-gracetmpl.cc (limited to 'math/gracetmpl/files/patch-gracetmpl.cc') diff --git a/math/gracetmpl/files/patch-gracetmpl.cc b/math/gracetmpl/files/patch-gracetmpl.cc new file mode 100644 index 000000000000..920c4a7476be --- /dev/null +++ b/math/gracetmpl/files/patch-gracetmpl.cc @@ -0,0 +1,20 @@ +--- gracetmpl.cpp.bak Fri Sep 24 21:56:02 2004 ++++ gracetmpl.cpp Sat Jun 18 00:18:52 2005 +@@ -24,7 +24,7 @@ + + extern "C" { + #include +-#include ++#include + #include + #include + #include +@@ -981,7 +981,7 @@ + gettimeofday(&tv,0); + + size= (tm==0) ? +- strftime(buffer,999,format.c_str(),localtime(&tv.tv_sec)): ++ strftime(buffer,999,format.c_str(),localtime((const time_t *) &tv.tv_sec)): + strftime(buffer,999,format.c_str(),tm); + buffer[999]= 0; + return string(buffer); -- cgit v1.2.3