pkgsrc/security/policykit/patches/patch-ab
bsiegert f4e5cfe47e Add #ifdef __OpenBSD__ to some of the patches, to fix compilation on
OpenBSD and MirBSD.

Freeze exception granted by wiz.
2012-12-27 21:04:11 +00:00

13 lines
459 B
Text

$NetBSD: patch-ab,v 1.3 2012/12/27 21:04:11 bsiegert Exp $
--- tools/polkit-auth.c.orig 2008-05-30 17:24:44.000000000 -0400
+++ tools/polkit-auth.c
@@ -37,7 +37,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
-#if defined(HAVE_SOLARIS) || defined(HAVE_FREEBSD)
+#if defined(HAVE_SOLARIS) || defined(HAVE_FREEBSD) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
#include <sys/wait.h>
#endif
#include <pwd.h>