1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Readd patch-ksimcpu.cpp, which was accidently removed with the 3.1.1 update.

This fixes the build on alpha.

Reported & tested by:	kris
Submitted by:		Frerich Raabe <raabe@KDE.org>
This commit is contained in:
Tilman Keskinoz 2003-05-08 10:21:57 +00:00
parent 333fb2d733
commit 34143ad470
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80435
11 changed files with 121 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;

View File

@ -0,0 +1,11 @@
--- ksim/monitors/cpu/ksimcpu.cpp.orig Fri Mar 7 23:10:34 2003
+++ ksim/monitors/cpu/ksimcpu.cpp Sat Apr 26 02:41:45 2003
@@ -226,7 +226,7 @@
static int oidCpuTime[CTL_MAXNAME + 2];
static size_t oidCpuTimeLen = sizeof(oidCpuTime);
long cpuTime[CPUSTATES];
- unsigned int cpuTimeLen = sizeof(cpuTime);
+ size_t cpuTimeLen = sizeof(cpuTime);
static char *name = "kern.cp_time";
static int initialized = 0;