diff options
Diffstat (limited to 'security/policykit/patches/patch-af')
-rw-r--r-- | security/policykit/patches/patch-af | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/policykit/patches/patch-af b/security/policykit/patches/patch-af index 58224e00002..e0de72c766c 100644 --- a/security/policykit/patches/patch-af +++ b/security/policykit/patches/patch-af @@ -1,4 +1,4 @@ -$NetBSD: patch-af,v 1.1.1.1 2008/11/22 03:33:38 jmcneill Exp $ +$NetBSD: patch-af,v 1.2 2008/11/23 21:21:43 hasso Exp $ --- src/polkit/polkit-sysdeps.c.orig 2008-11-21 22:17:08.000000000 -0500 +++ src/polkit/polkit-sysdeps.c @@ -7,7 +7,7 @@ $NetBSD: patch-af,v 1.1.1.1 2008/11/22 03:33:38 jmcneill Exp $ start_time = (unsigned long long) (info.pr_start.tv_sec); #else -#ifdef __FreeBSD__ -+#if defined(__FreeBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) filename = kit_strdup_printf ("/proc/%d/status", pid); #else filename = kit_strdup_printf ("/proc/%d/stat", pid); @@ -16,7 +16,7 @@ $NetBSD: patch-af,v 1.1.1.1 2008/11/22 03:33:38 jmcneill Exp $ } -#ifdef __FreeBSD__ -+#if defined(__FreeBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) tokens = kit_strsplit (contents, ' ', &num_tokens); if (tokens == NULL) goto out; |