Bug 86091 - dns/totd: unbreak on !i386 systems
Summary: dns/totd: unbreak on !i386 systems
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 20:20 UTC by Johan van Selst
Modified: 2005-09-15 00:34 UTC (History)
0 users

See Also:


Attachments
file.diff (3.93 KB, patch)
2005-09-13 20:20 UTC, Johan van Selst
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johan van Selst 2005-09-13 20:20:07 UTC
	Remove careless 's/%zd/%d/g' hack.

	Use %zd for size_t, %td for ptrdiff_t and %d for decimals.
	Unfortunately this breaks compilation on i386 4.x systems
	(where sprintf doesn't know these modifiers)
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-09-15 00:34:35 UTC
State Changed
From-To: open->closed

Committed with modification: I kept it going on 4.X by applying your patches 
conditionally on OSVERSION