openbsd-ports/net/validns/patches/patch-carp_c
fcambus 5b17e567c7 Import net/validns.
Validns is a standalone command line RFC 1034/1035 zone file validation
tool that, in addition to basic syntactic and semantic zone checks,
includes DNSSEC signature verification and NSEC/NSEC3 chain validation,
as well a number of optional policy checks on the zone.

OK sthen@, giovanni@
2017-05-06 15:52:24 +00:00

15 lines
348 B
Plaintext

$OpenBSD: patch-carp_c,v 1.1.1.1 2017/05/06 15:52:24 fcambus Exp $
Index: carp.c
--- carp.c.orig
+++ carp.c
@@ -102,7 +102,7 @@ static char proggy[MAXPATHLEN];
const char *thisprogname(void)
{
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
return getprogname();
#elif defined(__APPLE__)
return getprogname();