From 4998cd646e29c89c04fe0c5319fd7f514069f8d3 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Mon, 3 Mar 2003 10:32:19 +0000 Subject: Fix Build on CURRENT. Submitted by: Andy Fawcett Reported by: many Tested by: Jiawei Ye (CURRENT), Andy Fawcett (4.7, 5.0R) --- x11/kdebase4-runtime/files/patch-ksysguard-CPU.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 x11/kdebase4-runtime/files/patch-ksysguard-CPU.c (limited to 'x11/kdebase4-runtime/files') diff --git a/x11/kdebase4-runtime/files/patch-ksysguard-CPU.c b/x11/kdebase4-runtime/files/patch-ksysguard-CPU.c new file mode 100644 index 000000000000..584110b5e9d1 --- /dev/null +++ b/x11/kdebase4-runtime/files/patch-ksysguard-CPU.c @@ -0,0 +1,24 @@ +Index: ksysguard/ksysguardd/FreeBSD/CPU.c +=================================================================== +RCS file: /home/kde/kdebase/ksysguard/ksysguardd/FreeBSD/CPU.c,v +retrieving revision 1.9 +diff -u -5 -p -d -r1.9 CPU.c +--- ksysguard/ksysguardd/FreeBSD/CPU.c 17 Oct 2002 10:04:02 -0000 1.9 ++++ ksysguard/ksysguardd/FreeBSD/CPU.c 3 Mar 2003 07:11:28 -0000 +@@ -19,11 +19,16 @@ + + $Id: CPU.c,v 1.9 2002/10/17 10:04:02 garbanzo Exp $ + */ + + #include ++#include ++#if __FreeBSD_version < 500101 + #include ++#else ++#include ++#endif + #include + + #include + #include + #include -- cgit v1.2.3