openbsd-ports/net/udns/patches/patch-configure

13 lines
273 B
Plaintext

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