aboutsummaryrefslogtreecommitdiffstats
path: root/math/lp_solve/files/patch-shared+commonlib.c
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-18 08:46:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-18 08:46:14 +0000
commit1b3482df0c22a215dc6f8efa7cd9f934ab3a1ed3 (patch)
tree4280199913e612bcd62bd6b41e0b52d6eb75463b /math/lp_solve/files/patch-shared+commonlib.c
parent69a67c52eb81e24e06b75b03924bf71693b4e074 (diff)
- Update to 5.5.2.3
- Regenerate the patches - Add LICENSE - While here, fix shared lib installation PR: 212394 Submitted by: pfg Approved by: maintainer timeout (mayo@oyam.ca, 2 months)
Diffstat (limited to 'math/lp_solve/files/patch-shared+commonlib.c')
-rw-r--r--math/lp_solve/files/patch-shared+commonlib.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/math/lp_solve/files/patch-shared+commonlib.c b/math/lp_solve/files/patch-shared+commonlib.c
index bb4f7edd88a2..7f6322a4ac33 100644
--- a/math/lp_solve/files/patch-shared+commonlib.c
+++ b/math/lp_solve/files/patch-shared+commonlib.c
@@ -1,17 +1,17 @@
---- shared/commonlib.c.orig Sat Mar 18 07:16:42 2006
-+++ shared/commonlib.c Sat Sep 2 21:01:39 2006
-@@ -4,7 +4,7 @@
- #ifdef INTEGERTIME
- # include <time.h>
+--- shared/commonlib.c.orig 2016-05-06 09:25:24 UTC
++++ shared/commonlib.c
+@@ -6,7 +6,7 @@
+ #elif defined EnhTime
+ # include <windows.h>
#else
-# include <sys/timeb.h>
+# include <sys/time.h>
#endif
#include <stdlib.h>
-@@ -673,10 +673,12 @@
- #elif defined CLOCKTIME
- return((double)clock()/CLOCKS_PER_SEC /* CLK_TCK */);
+@@ -844,10 +844,12 @@ double timeNow(void)
+ }
+ return( timeBase + (double) now.QuadPart/(double) freq.QuadPart );
#else
- struct timeb buf;
+ struct timeval tv;