pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/polkit polkit: Fix pid_t usage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/545960f6fb9d
branches:  trunk
changeset: 380383:545960f6fb9d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue May 15 09:09:21 2018 +0000

description:
polkit: Fix pid_t usage.

diffstat:

 security/polkit/distinfo                                     |   4 ++--
 security/polkit/patches/patch-src_polkit_polkitunixprocess.c |  12 +++++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 8973ca235f5e -r 545960f6fb9d security/polkit/distinfo
--- a/security/polkit/distinfo  Tue May 15 09:04:36 2018 +0000
+++ b/security/polkit/distinfo  Tue May 15 09:09:21 2018 +0000
@@ -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 -r 8973ca235f5e -r 545960f6fb9d security/polkit/patches/patch-src_polkit_polkitunixprocess.c
--- a/security/polkit/patches/patch-src_polkit_polkitunixprocess.c      Tue May 15 09:04:36 2018 +0000
+++ b/security/polkit/patches/patch-src_polkit_polkitunixprocess.c      Tue May 15 09:09:21 2018 +0000
@@ -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 @@
  #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,



Home | Main Index | Thread Index | Old Index