pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/lxtask



Module Name:    pkgsrc
Committed By:   richard
Date:           Wed Aug 17 15:19:42 UTC 2016

Modified Files:
        pkgsrc/sysutils/lxtask: distinfo
Added Files:
        pkgsrc/sysutils/lxtask/patches: patch-src_xfce-taskmanager-linux.h

Log Message:
fix function prototype to match body in order to avoid:

>xfce-taskmanager-linux.c:33:6: error: conflicting types for 'get_task_details'
> void get_task_details(pid_t pid,struct task *task)
>      ^
>In file included from xfce-taskmanager-linux.c:30:0:
>xfce-taskmanager-linux.h:41:6: note: previous declaration of 'get_task_details' was here
> void get_task_details(gint pid,struct task *task);
>      ^


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/lxtask/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/lxtask/patches/patch-src_xfce-taskmanager-linux.h

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

Modified files:

Index: pkgsrc/sysutils/lxtask/distinfo
diff -u pkgsrc/sysutils/lxtask/distinfo:1.1 pkgsrc/sysutils/lxtask/distinfo:1.2
--- pkgsrc/sysutils/lxtask/distinfo:1.1 Mon May 23 10:50:35 2016
+++ pkgsrc/sysutils/lxtask/distinfo     Wed Aug 17 15:19:42 2016
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2016/05/23 10:50:35 youri Exp $
+$NetBSD: distinfo,v 1.2 2016/08/17 15:19:42 richard Exp $
 
 SHA1 (lxtask-0.1.7.tar.xz) = 05a44a6bdd52674d5a465e50eacf71f217d1e66b
 RMD160 (lxtask-0.1.7.tar.xz) = 020ed18849ca4fb719a2cfa538c5086d74d0c902
 SHA512 (lxtask-0.1.7.tar.xz) = eb5c6af2d0953d09d62b53efda1f88140cc6d5734ef98effd9a72b896e397d0c29ff4263b93c12fd23fcb0ec129b31eb769b0a8c769ae92ed9fc1d2f2689a4ef
 Size (lxtask-0.1.7.tar.xz) = 137152 bytes
+SHA1 (patch-src_xfce-taskmanager-linux.h) = 2f8c07e09af1a0d066d7306f6ac6ec67de94a7d6

Added files:

Index: pkgsrc/sysutils/lxtask/patches/patch-src_xfce-taskmanager-linux.h
diff -u /dev/null pkgsrc/sysutils/lxtask/patches/patch-src_xfce-taskmanager-linux.h:1.1
--- /dev/null   Wed Aug 17 15:19:42 2016
+++ pkgsrc/sysutils/lxtask/patches/patch-src_xfce-taskmanager-linux.h   Wed Aug 17 15:19:42 2016
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_xfce-taskmanager-linux.h,v 1.1 2016/08/17 15:19:42 richard Exp $
+fix declaration to be the same as the implementation.
+
+--- src/xfce-taskmanager-linux.h.orig  2014-09-16 12:27:52.000000000 +0000
++++ src/xfce-taskmanager-linux.h
+@@ -38,7 +38,7 @@
+ #define SIGNAL_CONT SIGCONT
+ #define SIGNAL_STOP SIGSTOP
+ 
+-void get_task_details(gint pid,struct task *task);
++void get_task_details(pid_t pid,struct task *task);
+ GArray *get_task_list(void);
+ gboolean get_system_status(system_status *sys_stat);
+ gboolean get_cpu_usage_from_proc(system_status *sys_stat);



Home | Main Index | Thread Index | Old Index