summaryrefslogtreecommitdiff
path: root/security/polkit/patches
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-05-15 09:09:21 +0000
committerjperkin <jperkin@pkgsrc.org>2018-05-15 09:09:21 +0000
commit134c45341268f569a15642c82552595501594492 (patch)
treebc98c6f5a97ca7a393e6645c2c1f6d3f29f63dee /security/polkit/patches
parent7dd7c0e2de2283f1e7c9253209b23220015deb93 (diff)
downloadpkgsrc-134c45341268f569a15642c82552595501594492.tar.gz
polkit: Fix pid_t usage.
Diffstat (limited to 'security/polkit/patches')
-rw-r--r--security/polkit/patches/patch-src_polkit_polkitunixprocess.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/security/polkit/patches/patch-src_polkit_polkitunixprocess.c b/security/polkit/patches/patch-src_polkit_polkitunixprocess.c
index 3e768c24237..495cd8d7b4b 100644
--- a/security/polkit/patches/patch-src_polkit_polkitunixprocess.c
+++ b/security/polkit/patches/patch-src_polkit_polkitunixprocess.c
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_polkit_polkitunixprocess.c,v 1.4 2018/05/14 09:30:35 jperkin Exp $
+$NetBSD: patch-src_polkit_polkitunixprocess.c,v 1.5 2018/05/15 09:09:22 jperkin Exp $
Fix SunOS includes.
+Fix pid_t type.
--- src/polkit/polkitunixprocess.c.orig 2018-03-23 15:09:30.000000000 +0000
+++ src/polkit/polkitunixprocess.c
@@ -16,3 +17,12 @@ Fix SunOS includes.
#ifdef HAVE_FREEBSD
#include <sys/param.h>
#include <sys/sysctl.h>
+@@ -87,7 +92,7 @@ enum
+
+ static void subject_iface_init (PolkitSubjectIface *subject_iface);
+
+-static guint64 get_start_time_for_pid (gint pid,
++static guint64 get_start_time_for_pid (pid_t pid,
+ GError **error);
+
+ static gint _polkit_unix_process_get_owner (PolkitUnixProcess *process,