summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-10-09 07:45:54 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-10-09 07:45:54 +0000
commit45c5547a8b309aa9196a17575a935c9fcdb6912f (patch)
treeabb6d4a599718373416df660a6e86fedc555138a
parentUpdate this port for FreeBSD 5.3. The new libraries are taken from (diff)
Fix build with gcc-3.4
PR: ports/72302 Submitted by: maintainer Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=118591
-rw-r--r--dns/fastresolve/Makefile4
-rw-r--r--dns/fastresolve/files/patch-dns-terror::dns-terror.cc12
2 files changed, 12 insertions, 4 deletions
diff --git a/dns/fastresolve/Makefile b/dns/fastresolve/Makefile
index 34027b02b9f3..41fe08be6dff 100644
--- a/dns/fastresolve/Makefile
+++ b/dns/fastresolve/Makefile
@@ -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}
diff --git a/dns/fastresolve/files/patch-dns-terror::dns-terror.cc b/dns/fastresolve/files/patch-dns-terror::dns-terror.cc
new file mode 100644
index 000000000000..d7c881f32122
--- /dev/null
+++ b/dns/fastresolve/files/patch-dns-terror::dns-terror.cc
@@ -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)