aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kdf
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-05-08 18:21:57 +0800
committerarved <arved@FreeBSD.org>2003-05-08 18:21:57 +0800
commit4441d7a5e7e1aded80460d4080470f59dfaa6747 (patch)
treecf2efce18258e36e933fbe76c1c4f58f49a3af79 /sysutils/kdf
parent95930ad24b826e2f99b42bad442377c8227e6dd3 (diff)
downloadfreebsd-ports-gnome-4441d7a5e7e1aded80460d4080470f59dfaa6747.tar.gz
freebsd-ports-gnome-4441d7a5e7e1aded80460d4080470f59dfaa6747.tar.zst
freebsd-ports-gnome-4441d7a5e7e1aded80460d4080470f59dfaa6747.zip
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>
Diffstat (limited to 'sysutils/kdf')
-rw-r--r--sysutils/kdf/files/patch-ksimcpu.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/kdf/files/patch-ksimcpu.cpp b/sysutils/kdf/files/patch-ksimcpu.cpp
new file mode 100644
index 000000000000..ca5e6343df41
--- /dev/null
+++ b/sysutils/kdf/files/patch-ksimcpu.cpp
@@ -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;
+