1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Fix build with gcc-3.4

PR:		ports/72302
Submitted by:	maintainer
Approved by:	portmgr (implicit)
This commit is contained in:
Kirill Ponomarev 2004-10-09 07:45:54 +00:00
parent 75d8e99b75
commit 45c5547a8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118591
2 changed files with 12 additions and 4 deletions

View File

@ -51,10 +51,6 @@ MAN1= dns-terror.1 btree-dump.1 convert-dom-db.1 convert-ip-db.1 \
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}

View File

@ -0,0 +1,12 @@
--- dns-terror/dns-terror.cc.orig Mon Oct 4 13:28:02 2004
+++ dns-terror/dns-terror.cc Mon Oct 4 13:28:53 2004
@@ -331,8 +331,7 @@
}
r = adns_submit(ads, rev, adns_r_ptr_raw,
- (enum adns_queryflags)
- (adns_qf_quoteok_cname|adns_qf_quoteok_anshost), lp, &qu);
+ adns_queryflags (adns_qf_quoteok_cname|adns_qf_quoteok_anshost), lp, &qu);
if (r)
fatal_errno("adns_submit", r);
if (verbose)