diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/lp_solve/Makefile | 1 | ||||
-rw-r--r-- | math/lp_solve/files/patch-shared+commonlib.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/math/lp_solve/Makefile b/math/lp_solve/Makefile index 6f069250b0a6..3666e858abfa 100644 --- a/math/lp_solve/Makefile +++ b/math/lp_solve/Makefile @@ -7,6 +7,7 @@ PORTNAME= lp_solve PORTVERSION= 5.5.0.15 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= SF/lpsolve/lpsolve/${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION}_source diff --git a/math/lp_solve/files/patch-shared+commonlib.c b/math/lp_solve/files/patch-shared+commonlib.c index 978f0e153e73..bb4f7edd88a2 100644 --- a/math/lp_solve/files/patch-shared+commonlib.c +++ b/math/lp_solve/files/patch-shared+commonlib.c @@ -18,7 +18,7 @@ + struct timezone tz; + + gettimeofday(&tv, &tz); -+ return((double)tv.tv_sec+((double)tv.tv_usec)/1000.0); ++ return((double)tv.tv_sec+((double)tv.tv_usec)/1000000.0); - ftime(&buf); - return((double)buf.time+((double) buf.millitm)/1000.0); |