Bug 95148 - [dns/totd] Does not compile on FreeBSD CURRENT
Summary: [dns/totd] Does not compile on FreeBSD CURRENT
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-31 09:50 UTC by Ed Schouten
Modified: 2006-04-12 14:28 UTC (History)
0 users

See Also:


Attachments
file.diff (256 bytes, patch)
2006-03-31 09:50 UTC, Ed Schouten
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Schouten 2006-03-31 09:50:12 UTC
I tried to compile totd on my desktop running FreeBSD, but it fails
because totd is compiled with -Werr and GCC raises a warning at
totd.c:507; tv_sec is a time_t, not a long.

Fix: The following diff should be stored in /usr/ports/dns/totd/files/:

%%%
How-To-Repeat: Install FreeBSD CURRENT on a machine and try to compile totd.
Compilation will stop at totd.c.
Comment 1 Ed Schouten 2006-04-01 19:56:25 UTC
Hello,

After making this PR, I also sent the patch to the author of totd. He
just mailed me back that it got commited.

Yours,
-- 
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/
Comment 2 Emanuel Haupt freebsd_committer freebsd_triage 2006-04-11 22:39:28 UTC
State Changed
From-To: open->feedback

Is there a new version available? If yes would you like to submit an update?
Comment 3 Emanuel Haupt freebsd_committer freebsd_triage 2006-04-12 12:15:39 UTC
State Changed
From-To: feedback->open

Feedback received.
Comment 4 Emanuel Haupt freebsd_committer freebsd_triage 2006-04-12 12:15:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ehaupt

Take.
Comment 5 Emanuel Haupt freebsd_committer freebsd_triage 2006-04-12 14:28:06 UTC
State Changed
From-To: open->closed

Committed, thanks!