pkgsrc/security/validns/patches/patch-carp.c
pettai 12da381bef 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.
2012-05-04 23:57:46 +00:00

15 lines
384 B
C

$NetBSD: patch-carp.c,v 1.1.1.1 2012/05/04 23:57:46 pettai Exp $
Add __NetBSD__ support
--- carp.c.orig 2012-05-04 22:27:57.000000000 +0000
+++ carp.c
@@ -102,7 +102,7 @@ static char proggy[MAXPATHLEN];
const char *thisprogname(void)
{
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || (__NetBSD__)
return getprogname();
#elif defined(__APPLE__)
return getprogname();