diff --git a/net/udns/patches/patch-configure b/net/udns/patches/patch-configure new file mode 100644 index 00000000000..09bbf3d7e07 --- /dev/null +++ b/net/udns/patches/patch-configure @@ -0,0 +1,12 @@ +Index: configure +--- configure.orig ++++ configure +@@ -93,7 +93,7 @@ int main() { + char buf[64]; + long x = 0; + inet_pton(AF_INET, &x, buf); +- return inet_ntop(AF_INET, &x, buf, sizeof(buf)); ++ return inet_ntop(AF_INET, &x, buf, sizeof(buf)) != (void *)0; + } + EOF +