diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-05-15 09:09:21 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-05-15 09:09:21 +0000 |
commit | 134c45341268f569a15642c82552595501594492 (patch) | |
tree | bc98c6f5a97ca7a393e6645c2c1f6d3f29f63dee /security | |
parent | 7dd7c0e2de2283f1e7c9253209b23220015deb93 (diff) | |
download | pkgsrc-134c45341268f569a15642c82552595501594492.tar.gz |
polkit: Fix pid_t usage.
Diffstat (limited to 'security')
-rw-r--r-- | security/polkit/distinfo | 4 | ||||
-rw-r--r-- | security/polkit/patches/patch-src_polkit_polkitunixprocess.c | 12 |
2 files changed, 13 insertions, 3 deletions
diff --git a/security/polkit/distinfo b/security/polkit/distinfo index 1571acc4c28..e9575912622 100644 --- a/security/polkit/distinfo +++ b/security/polkit/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.6 2018/05/14 09:30:35 jperkin Exp $ +$NetBSD: distinfo,v 1.7 2018/05/15 09:09:21 jperkin Exp $ SHA1 (polkit-0.114.tar.gz) = f29deef0076e76588f209a028a3e33ef70c2d9cd RMD160 (polkit-0.114.tar.gz) = 000749a5f902b9be347f462d486bed20f8bbe8d5 SHA512 (polkit-0.114.tar.gz) = 49cdf9dd3663714b1c6569ad8740cb413d9c5bd5c11e4bdbba3ce82b744f36638b652547edff9203caab9287834bc68a1d6a4895ec7a188fa1524dc1e9c9b4ea Size (polkit-0.114.tar.gz) = 1557340 bytes -SHA1 (patch-src_polkit_polkitunixprocess.c) = 8a709f90dca2143765e4a3388dc736bc72292add +SHA1 (patch-src_polkit_polkitunixprocess.c) = eae7cbfe3c9b179e29375f690283f2b80adce306 SHA1 (patch-src_polkitbackend_polkitbackendinteractiveauthority.c) = dd91b4e74e6c39f24e0f5a9b3150fdac12899cb5 SHA1 (patch-src_polkitbackend_polkitbackendjsauthority.cpp) = 43e8ec118601e978435d66ba805c35bc3db24b17 SHA1 (patch-src_polkitbackend_polkitd.c) = b8e11b40e2b171d4f030eb4c4cbc6fdc7a96b2c2 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, |