risacher / sunwait

Sunwait calculates sunrise or sunset times with civil, nautical, astronomical and custom twilights, for use with Windows Task Scheduler or 'cron' on Linux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenBSD

pachristopher opened this issue · comments

Initial attempt to compile with make in OpenBSD resulted in compilation error.
Changing the abs() function to fabs() at line 95 of sunriset.cpp seemed to fix that.
Program now runs but returns error(1) as far as I can see as the output is always the following:-

--:--, --:-- (Midnight sun)

My coding skills are beyond fixing this.

I had the same output on osx. I think you can adapt my pull request to make it work on BSD also:
#15

@tljohnsn OP's coding skills are beyond this, remember? Even though he or she only has 2 repos, one of which is empty? Maybe its an alt acct, as their skills are obviously beyond putting a mere shell script in their main repo.