pkgsrc/security/policykit/patches/patch-ab
hasso 50bd093c85 * Make it compile in DragonFly
* Fix permissions of suid/sgid binaries
* Bump PKGREVISION
2008-11-23 21:21:43 +00:00

13 lines
432 B
Text

$NetBSD: patch-ab,v 1.2 2008/11/23 21:21:43 hasso 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__)
#include <sys/wait.h>
#endif
#include <pwd.h>