Bug 70305 - Unbreak build of dns/adns on CURRENT
Summary: Unbreak build of dns/adns on 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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-11 16:30 UTC by Giorgos Keramidas
Modified: 2004-08-13 19:17 UTC (History)
0 users

See Also:


Attachments
file.diff (372 bytes, patch)
2004-08-11 16:30 UTC, Giorgos Keramidas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Giorgos Keramidas freebsd_committer freebsd_triage 2004-08-11 16:30:31 UTC
The ethereal port depends on dns/adns which fails to build on today's
CURRENT.  The cause of the failure is an obvious bug in the prototype of
a C function in the adns sources.

Fix: Putting the following patch in ports/dns/adns/files/patch-zz-local fixes
the build for me, by making the definition of adns__parse_domain()
similar to its prototype in the internal.h header.

%%
How-To-Repeat: 
# cd /usr/ports/dns/adns
# make
[...]
cc -O -pipe  -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith      -c -o parse.o parse.c
parse.c:115: error: conflicting types for 'adns__parse_domain'
internal.h:571: error: previous declaration of 'adns__parse_domain' was here
parse.c:115: error: conflicting types for 'adns__parse_domain'
internal.h:571: error: previous declaration of 'adns__parse_domain' was here
gmake[1]: *** [parse.o] Error 1
gmake[1]: Leaving directory `/home/ports/dns/adns/work/adns-1.0/src'
gmake: *** [all] Error 2
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2004-08-11 19:17:39 UTC
Dear maintainer, attend the PR please.

-- 
Sem.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-08-13 19:17:10 UTC
State Changed
From-To: open->closed

Committed, thanks!