diff options
author | edwin <edwin@FreeBSD.org> | 2004-01-25 08:24:33 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-01-25 08:24:33 +0800 |
commit | 67c83173a7750a4c470288505afb39b0e78afebf (patch) | |
tree | e6913eaca82b3e57c9789d2aaba15adfdc42d334 /dns/dnstracer | |
parent | 94a6b890de37d025be99aaba9e1594bb26d52aed (diff) | |
download | freebsd-ports-gnome-67c83173a7750a4c470288505afb39b0e78afebf.tar.gz freebsd-ports-gnome-67c83173a7750a4c470288505afb39b0e78afebf.tar.zst freebsd-ports-gnome-67c83173a7750a4c470288505afb39b0e78afebf.zip |
Fix build on -current due to removal of EAI_NODATA
Diffstat (limited to 'dns/dnstracer')
-rw-r--r-- | dns/dnstracer/files/patch-dnstracer.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dns/dnstracer/files/patch-dnstracer.c b/dns/dnstracer/files/patch-dnstracer.c new file mode 100644 index 000000000000..7262031e6546 --- /dev/null +++ b/dns/dnstracer/files/patch-dnstracer.c @@ -0,0 +1,11 @@ +--- dnstracer.c.orig Sun Jan 25 11:23:52 2004 ++++ dnstracer.c Sun Jan 25 11:24:01 2004 +@@ -729,7 +729,7 @@ + hints.ai_family = PF_INET; + hints.ai_socktype = SOCK_DGRAM; + error = getaddrinfo(global_source_address, 0, &hints, &src_res); +- if (error == EAI_NODATA) { ++ if (error == EAI_NONAME) { + hints.ai_flags = 0; + error = getaddrinfo(global_source_address, 0, &hints, &src_res); + } |