aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-03-03 18:32:19 +0800
committerarved <arved@FreeBSD.org>2003-03-03 18:32:19 +0800
commit777e44317390bd9b8d4447a33be08dec27bf5adf (patch)
tree2953925e1edb9608b1f9323f4594a38e4faada69
parentfbbdf35871e4d0d2c4bedb637c273cc94bf2737f (diff)
downloadfreebsd-ports-gnome-777e44317390bd9b8d4447a33be08dec27bf5adf.tar.gz
freebsd-ports-gnome-777e44317390bd9b8d4447a33be08dec27bf5adf.tar.zst
freebsd-ports-gnome-777e44317390bd9b8d4447a33be08dec27bf5adf.zip
Fix Build on CURRENT.
Submitted by: Andy Fawcett <tap@hex.athame.co.uk> Reported by: many Tested by: Jiawei Ye <leafy@leafy.idv.tw> (CURRENT), Andy Fawcett <tap@hex.athame.co.uk> (4.7, 5.0R)
-rw-r--r--x11/kde4-baseapps/files/patch-ksysguard-CPU.c24
-rw-r--r--x11/kde4-runtime/files/patch-ksysguard-CPU.c24
-rw-r--r--x11/kde4-workspace/files/patch-ksysguard-CPU.c24
-rw-r--r--x11/kdebase3/files/patch-ksysguard-CPU.c24
-rw-r--r--x11/kdebase4-runtime/files/patch-ksysguard-CPU.c24
-rw-r--r--x11/kdebase4-workspace/files/patch-ksysguard-CPU.c24
-rw-r--r--x11/kdebase4/files/patch-ksysguard-CPU.c24
7 files changed, 168 insertions, 0 deletions
diff --git a/x11/kde4-baseapps/files/patch-ksysguard-CPU.c b/x11/kde4-baseapps/files/patch-ksysguard-CPU.c
new file mode 100644
index 000000000000..584110b5e9d1
--- /dev/null
+++ b/x11/kde4-baseapps/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 <sys/types.h>
++#include <sys/param.h>
++#if __FreeBSD_version < 500101
+ #include <sys/dkstat.h>
++#else
++#include <sys/resource.h>
++#endif
+ #include <sys/sysctl.h>
+
+ #include <devstat.h>
+ #include <fcntl.h>
+ #include <nlist.h>
diff --git a/x11/kde4-runtime/files/patch-ksysguard-CPU.c b/x11/kde4-runtime/files/patch-ksysguard-CPU.c
new file mode 100644
index 000000000000..584110b5e9d1
--- /dev/null
+++ b/x11/kde4-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 <sys/types.h>
++#include <sys/param.h>
++#if __FreeBSD_version < 500101
+ #include <sys/dkstat.h>
++#else
++#include <sys/resource.h>
++#endif
+ #include <sys/sysctl.h>
+
+ #include <devstat.h>
+ #include <fcntl.h>
+ #include <nlist.h>
diff --git a/x11/kde4-workspace/files/patch-ksysguard-CPU.c b/x11/kde4-workspace/files/patch-ksysguard-CPU.c
new file mode 100644
index 000000000000..584110b5e9d1
--- /dev/null
+++ b/x11/kde4-workspace/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 <sys/types.h>
++#include <sys/param.h>
++#if __FreeBSD_version < 500101
+ #include <sys/dkstat.h>
++#else
++#include <sys/resource.h>
++#endif
+ #include <sys/sysctl.h>
+
+ #include <devstat.h>
+ #include <fcntl.h>
+ #include <nlist.h>
diff --git a/x11/kdebase3/files/patch-ksysguard-CPU.c b/x11/kdebase3/files/patch-ksysguard-CPU.c
new file mode 100644
index 000000000000..584110b5e9d1
--- /dev/null
+++ b/x11/kdebase3/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 <sys/types.h>
++#include <sys/param.h>
++#if __FreeBSD_version < 500101
+ #include <sys/dkstat.h>
++#else
++#include <sys/resource.h>
++#endif
+ #include <sys/sysctl.h>
+
+ #include <devstat.h>
+ #include <fcntl.h>
+ #include <nlist.h>
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 <sys/types.h>
++#include <sys/param.h>
++#if __FreeBSD_version < 500101
+ #include <sys/dkstat.h>
++#else
++#include <sys/resource.h>
++#endif
+ #include <sys/sysctl.h>
+
+ #include <devstat.h>
+ #include <fcntl.h>
+ #include <nlist.h>
diff --git a/x11/kdebase4-workspace/files/patch-ksysguard-CPU.c b/x11/kdebase4-workspace/files/patch-ksysguard-CPU.c
new file mode 100644
index 000000000000..584110b5e9d1
--- /dev/null
+++ b/x11/kdebase4-workspace/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 <sys/types.h>
++#include <sys/param.h>
++#if __FreeBSD_version < 500101
+ #include <sys/dkstat.h>
++#else
++#include <sys/resource.h>
++#endif
+ #include <sys/sysctl.h>
+
+ #include <devstat.h>
+ #include <fcntl.h>
+ #include <nlist.h>
diff --git a/x11/kdebase4/files/patch-ksysguard-CPU.c b/x11/kdebase4/files/patch-ksysguard-CPU.c
new file mode 100644
index 000000000000..584110b5e9d1
--- /dev/null
+++ b/x11/kdebase4/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 <sys/types.h>
++#include <sys/param.h>
++#if __FreeBSD_version < 500101
+ #include <sys/dkstat.h>
++#else
++#include <sys/resource.h>
++#endif
+ #include <sys/sysctl.h>
+
+ #include <devstat.h>
+ #include <fcntl.h>
+ #include <nlist.h>