pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/consolekit



Module Name:    pkgsrc
Committed By:   youri
Date:           Mon Jun  4 01:01:23 UTC 2018

Modified Files:
        pkgsrc/sysutils/consolekit: distinfo
        pkgsrc/sysutils/consolekit/patches: patch-src_ck-sysdeps-netbsd.c

Log Message:
Fix NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/consolekit/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/sysutils/consolekit/patches/patch-src_ck-sysdeps-netbsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/consolekit/distinfo
diff -u pkgsrc/sysutils/consolekit/distinfo:1.16 pkgsrc/sysutils/consolekit/distinfo:1.17
--- pkgsrc/sysutils/consolekit/distinfo:1.16    Wed May 16 11:30:36 2018
+++ pkgsrc/sysutils/consolekit/distinfo Mon Jun  4 01:01:23 2018
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.16 2018/05/16 11:30:36 youri Exp $
+$NetBSD: distinfo,v 1.17 2018/06/04 01:01:23 youri Exp $
 
 SHA1 (ConsoleKit2-1.2.1.tar.bz2) = 28869807eed0cc4a7a1d98030be1f2c7e5700d0e
 RMD160 (ConsoleKit2-1.2.1.tar.bz2) = 641171ca6e8290924fae4ab2d1ead6b13de88ad5
 SHA512 (ConsoleKit2-1.2.1.tar.bz2) = 31befe89f7fa604138bfb0722fc6cf12f0934bac004f98fc331004eb5a7f466ed7bd0dc9adc9869da739974208f9a3bc125068ff8a60d4b2badb58ef70a3eb10
 Size (ConsoleKit2-1.2.1.tar.bz2) = 1182946 bytes
-SHA1 (patch-src_ck-sysdeps-netbsd.c) = 4b8cabcd47bef0b8edaf6dd292686aa3297794bc
+SHA1 (patch-src_ck-sysdeps-netbsd.c) = 0f832ec2bb487d5faec0de774449defe4f5721a6

Index: pkgsrc/sysutils/consolekit/patches/patch-src_ck-sysdeps-netbsd.c
diff -u pkgsrc/sysutils/consolekit/patches/patch-src_ck-sysdeps-netbsd.c:1.2 pkgsrc/sysutils/consolekit/patches/patch-src_ck-sysdeps-netbsd.c:1.3
--- pkgsrc/sysutils/consolekit/patches/patch-src_ck-sysdeps-netbsd.c:1.2        Wed May 16 11:30:36 2018
+++ pkgsrc/sysutils/consolekit/patches/patch-src_ck-sysdeps-netbsd.c    Mon Jun  4 01:01:23 2018
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_ck-sysdeps-netbsd.c,v 1.2 2018/05/16 11:30:36 youri Exp $
+$NetBSD: patch-src_ck-sysdeps-netbsd.c,v 1.3 2018/06/04 01:01:23 youri Exp $
 
 Fix NetBSD build.
 
@@ -12,6 +12,24 @@ Fix NetBSD build.
  #include <sys/ioctl.h>
  
  #ifdef HAVE_SYS_MOUNT_H
+@@ -121,7 +120,7 @@ ck_process_stat_get_tty (CkProcessStat *
+ {
+         g_return_val_if_fail (stat != NULL, NULL);
+ 
+-        if (stat->tty == NODEV){
++        if (stat->tty == ENODEV){
+                 return NULL;
+         }
+ 
+@@ -164,7 +163,7 @@ stat2proc (pid_t        pid,
+         }
+ 
+         num = KI_MAXCOMLEN;
+-        if (num >= sizeof(P->cmd)) {
++        if ((unsigned)num >= sizeof(P->cmd)) {
+                 num = sizeof(P->cmd) - 1;
+         }
+ 
 @@ -494,7 +493,11 @@ ck_make_tmpfs (guint uid, guint gid, con
  
          opts = g_strdup_printf ("mode=0700,uid=%d", uid);



Home | Main Index | Thread Index | Old Index