The commonlib.c patch in the port changes the struct used to get time of day, but does not take into account change between miliseconds and microseconds. If you notice, the original patch adds seconds to miliseconds, rather than seconds to seconds. The attached below fixes that.
Fix: See the attached patch.
Patch attached with submission follows:
How-To-Repeat: Run the demo, the times reported to solve the problem are out of whack.
To which port does this PR apply?
On 2010-07-06, at 13:16 , Mark Linimon wrote:
> To which port does this PR apply?
oops, sorry. It's lp_solve
On Tue, Jul 06, 2010 at 09:00:10PM +0000, Mayo Jordanov wrote:
> oops, sorry. It's lp_solve
OK, I've made the change.
The port is unmaintained -- since you use it, would you consider becoming
the new maintainer?
On 2010-07-06, at 15:10 , Mark Linimon wrote:
> On Tue, Jul 06, 2010 at 09:00:10PM +0000, Mayo Jordanov wrote:
>> oops, sorry. It's lp_solve
> OK, I've made the change.
> The port is unmaintained -- since you use it, would you consider =
> the new maintainer?
Thanks Mark! I don't mind becoming a maintainer, but we will probably =
settle one using one of the current versions and stick to that one for a =
while unless there are major changes or features that we miss. I'll try =
to do my best to keep it up-to-date, though.
OK, you're the new maintainer :-) Thanks.
I'll take it.
makc 2010-07-24 08:03:41 UTC
FreeBSD ports repository
Fix the fix.
Submitted by: Mayo Jordanov (maintainer)
Revision Changes Path
1.21 +1 -0 ports/math/lp_solve/Makefile
1.2 +1 -1 ports/math/lp_solve/files/patch-shared+commonlib.c
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"