diff options
7 files changed, 105 insertions, 0 deletions
diff --git a/x11/kde4-baseapps/files/patch-ksysguard-ProcessList.c b/x11/kde4-baseapps/files/patch-ksysguard-ProcessList.c new file mode 100644 index 000000000000..55e0c2a12753 --- /dev/null +++ b/x11/kde4-baseapps/files/patch-ksysguard-ProcessList.c @@ -0,0 +1,15 @@ +--- ksysguard/ksysguardd/FreeBSD/ProcessList.c.orig Sun Feb 9 18:54:36 2003 ++++ ksysguard/ksysguardd/FreeBSD/ProcessList.c Sun Feb 9 18:54:51 2003 +@@ -224,10 +224,8 @@ + + #if __FreeBSD_version >= 500015 + ps->userLoad = p.ki_pctcpu / 100; +- ps->vmSize = (p.ki_vmspace->vm_tsize + +- p.ki_vmspace->vm_dsize + +- p.ki_vmspace->vm_ssize) * getpagesize(); +- ps->vmRss = p.ki_vmspace->vm_rssize * getpagesize(); ++ ps->vmSize = p.ki_size; ++ ps->vmRss = p.ki_rssize; + strncpy(ps->name,p.ki_comm? p.ki_comm:"????",sizeof(ps->name)); + strcpy(ps->status,(p.ki_stat>=1)&&(p.ki_stat<=5)? statuses[p.ki_stat-1]:"????"); + #else diff --git a/x11/kde4-runtime/files/patch-ksysguard-ProcessList.c b/x11/kde4-runtime/files/patch-ksysguard-ProcessList.c new file mode 100644 index 000000000000..55e0c2a12753 --- /dev/null +++ b/x11/kde4-runtime/files/patch-ksysguard-ProcessList.c @@ -0,0 +1,15 @@ +--- ksysguard/ksysguardd/FreeBSD/ProcessList.c.orig Sun Feb 9 18:54:36 2003 ++++ ksysguard/ksysguardd/FreeBSD/ProcessList.c Sun Feb 9 18:54:51 2003 +@@ -224,10 +224,8 @@ + + #if __FreeBSD_version >= 500015 + ps->userLoad = p.ki_pctcpu / 100; +- ps->vmSize = (p.ki_vmspace->vm_tsize + +- p.ki_vmspace->vm_dsize + +- p.ki_vmspace->vm_ssize) * getpagesize(); +- ps->vmRss = p.ki_vmspace->vm_rssize * getpagesize(); ++ ps->vmSize = p.ki_size; ++ ps->vmRss = p.ki_rssize; + strncpy(ps->name,p.ki_comm? p.ki_comm:"????",sizeof(ps->name)); + strcpy(ps->status,(p.ki_stat>=1)&&(p.ki_stat<=5)? statuses[p.ki_stat-1]:"????"); + #else diff --git a/x11/kde4-workspace/files/patch-ksysguard-ProcessList.c b/x11/kde4-workspace/files/patch-ksysguard-ProcessList.c new file mode 100644 index 000000000000..55e0c2a12753 --- /dev/null +++ b/x11/kde4-workspace/files/patch-ksysguard-ProcessList.c @@ -0,0 +1,15 @@ +--- ksysguard/ksysguardd/FreeBSD/ProcessList.c.orig Sun Feb 9 18:54:36 2003 ++++ ksysguard/ksysguardd/FreeBSD/ProcessList.c Sun Feb 9 18:54:51 2003 +@@ -224,10 +224,8 @@ + + #if __FreeBSD_version >= 500015 + ps->userLoad = p.ki_pctcpu / 100; +- ps->vmSize = (p.ki_vmspace->vm_tsize + +- p.ki_vmspace->vm_dsize + +- p.ki_vmspace->vm_ssize) * getpagesize(); +- ps->vmRss = p.ki_vmspace->vm_rssize * getpagesize(); ++ ps->vmSize = p.ki_size; ++ ps->vmRss = p.ki_rssize; + strncpy(ps->name,p.ki_comm? p.ki_comm:"????",sizeof(ps->name)); + strcpy(ps->status,(p.ki_stat>=1)&&(p.ki_stat<=5)? statuses[p.ki_stat-1]:"????"); + #else diff --git a/x11/kdebase3/files/patch-ksysguard-ProcessList.c b/x11/kdebase3/files/patch-ksysguard-ProcessList.c new file mode 100644 index 000000000000..55e0c2a12753 --- /dev/null +++ b/x11/kdebase3/files/patch-ksysguard-ProcessList.c @@ -0,0 +1,15 @@ +--- ksysguard/ksysguardd/FreeBSD/ProcessList.c.orig Sun Feb 9 18:54:36 2003 ++++ ksysguard/ksysguardd/FreeBSD/ProcessList.c Sun Feb 9 18:54:51 2003 +@@ -224,10 +224,8 @@ + + #if __FreeBSD_version >= 500015 + ps->userLoad = p.ki_pctcpu / 100; +- ps->vmSize = (p.ki_vmspace->vm_tsize + +- p.ki_vmspace->vm_dsize + +- p.ki_vmspace->vm_ssize) * getpagesize(); +- ps->vmRss = p.ki_vmspace->vm_rssize * getpagesize(); ++ ps->vmSize = p.ki_size; ++ ps->vmRss = p.ki_rssize; + strncpy(ps->name,p.ki_comm? p.ki_comm:"????",sizeof(ps->name)); + strcpy(ps->status,(p.ki_stat>=1)&&(p.ki_stat<=5)? statuses[p.ki_stat-1]:"????"); + #else diff --git a/x11/kdebase4-runtime/files/patch-ksysguard-ProcessList.c b/x11/kdebase4-runtime/files/patch-ksysguard-ProcessList.c new file mode 100644 index 000000000000..55e0c2a12753 --- /dev/null +++ b/x11/kdebase4-runtime/files/patch-ksysguard-ProcessList.c @@ -0,0 +1,15 @@ +--- ksysguard/ksysguardd/FreeBSD/ProcessList.c.orig Sun Feb 9 18:54:36 2003 ++++ ksysguard/ksysguardd/FreeBSD/ProcessList.c Sun Feb 9 18:54:51 2003 +@@ -224,10 +224,8 @@ + + #if __FreeBSD_version >= 500015 + ps->userLoad = p.ki_pctcpu / 100; +- ps->vmSize = (p.ki_vmspace->vm_tsize + +- p.ki_vmspace->vm_dsize + +- p.ki_vmspace->vm_ssize) * getpagesize(); +- ps->vmRss = p.ki_vmspace->vm_rssize * getpagesize(); ++ ps->vmSize = p.ki_size; ++ ps->vmRss = p.ki_rssize; + strncpy(ps->name,p.ki_comm? p.ki_comm:"????",sizeof(ps->name)); + strcpy(ps->status,(p.ki_stat>=1)&&(p.ki_stat<=5)? statuses[p.ki_stat-1]:"????"); + #else diff --git a/x11/kdebase4-workspace/files/patch-ksysguard-ProcessList.c b/x11/kdebase4-workspace/files/patch-ksysguard-ProcessList.c new file mode 100644 index 000000000000..55e0c2a12753 --- /dev/null +++ b/x11/kdebase4-workspace/files/patch-ksysguard-ProcessList.c @@ -0,0 +1,15 @@ +--- ksysguard/ksysguardd/FreeBSD/ProcessList.c.orig Sun Feb 9 18:54:36 2003 ++++ ksysguard/ksysguardd/FreeBSD/ProcessList.c Sun Feb 9 18:54:51 2003 +@@ -224,10 +224,8 @@ + + #if __FreeBSD_version >= 500015 + ps->userLoad = p.ki_pctcpu / 100; +- ps->vmSize = (p.ki_vmspace->vm_tsize + +- p.ki_vmspace->vm_dsize + +- p.ki_vmspace->vm_ssize) * getpagesize(); +- ps->vmRss = p.ki_vmspace->vm_rssize * getpagesize(); ++ ps->vmSize = p.ki_size; ++ ps->vmRss = p.ki_rssize; + strncpy(ps->name,p.ki_comm? p.ki_comm:"????",sizeof(ps->name)); + strcpy(ps->status,(p.ki_stat>=1)&&(p.ki_stat<=5)? statuses[p.ki_stat-1]:"????"); + #else diff --git a/x11/kdebase4/files/patch-ksysguard-ProcessList.c b/x11/kdebase4/files/patch-ksysguard-ProcessList.c new file mode 100644 index 000000000000..55e0c2a12753 --- /dev/null +++ b/x11/kdebase4/files/patch-ksysguard-ProcessList.c @@ -0,0 +1,15 @@ +--- ksysguard/ksysguardd/FreeBSD/ProcessList.c.orig Sun Feb 9 18:54:36 2003 ++++ ksysguard/ksysguardd/FreeBSD/ProcessList.c Sun Feb 9 18:54:51 2003 +@@ -224,10 +224,8 @@ + + #if __FreeBSD_version >= 500015 + ps->userLoad = p.ki_pctcpu / 100; +- ps->vmSize = (p.ki_vmspace->vm_tsize + +- p.ki_vmspace->vm_dsize + +- p.ki_vmspace->vm_ssize) * getpagesize(); +- ps->vmRss = p.ki_vmspace->vm_rssize * getpagesize(); ++ ps->vmSize = p.ki_size; ++ ps->vmRss = p.ki_rssize; + strncpy(ps->name,p.ki_comm? p.ki_comm:"????",sizeof(ps->name)); + strcpy(ps->status,(p.ki_stat>=1)&&(p.ki_stat<=5)? statuses[p.ki_stat-1]:"????"); + #else |