building mDNSResponder results in the following warnings, which probably will cause run-time problems given that the printf code will want to read a long when it is really given just an integer. [root@yertle]# make ===> Vulnerability check disabled, database not found ===> Extracting for mDNSResponder-98 => Checksum OK for mDNSResponder-98.tar.gz. /usr/ports/distfiles//mDNSResponder-98.tar.gz: 80.4% ===> Patching for mDNSResponder-98 ===> Applying FreeBSD patches for mDNSResponder-98 ===> mDNSResponder-98 depends on executable: gmake - found ===> Configuring for mDNSResponder-98 ===> Building for mDNSResponder-98 Responder daemon done Client library done Client.c: In function `main': Client.c:275: warning: long int format, different type arg (arg 4) Embedded Standalone Client done Responder.c: In function `main': Responder.c:835: warning: long int format, different type arg (arg 4) Embedded Standalone Responder done ProxyResponder.c: In function `main': ProxyResponder.c:325: warning: long int format, different type arg (arg 3) Embedded Standalone ProxyResponder done Identify.c: In function `main': Identify.c:403: warning: long int format, different type arg (arg 3) Identify done NetMonitor.c: In function `main': NetMonitor.c:1129: warning: long int format, different type arg (arg 4) NetMonitor done dnsextd done Fix: cast the arg to (long) in the above files. How-To-Repeat: "make" in net/mDNSResponder on an amd64 (or any 64-bit architecture).
Here's a patch file to drop into the files subdir of the port.
Responsible Changed From-To: freebsd-ports-bugs->alfred Over to maintainer.
Responsible Changed From-To: alfred->freebsd-ports-bugs Sorry, dropping maintainer.
State Changed From-To: open->closed Committed, thanks! Note: I've rewritten the patch, modifying printf format makes more sense since exit status are ints, not longs.