summaryrefslogtreecommitdiff
path: root/devel/libgtop/patches
diff options
context:
space:
mode:
authortron <tron>2000-06-08 11:43:17 +0000
committertron <tron>2000-06-08 11:43:17 +0000
commit0df207030f5ebec7502a68ba0c02acc729effd6f (patch)
treec34bf50bac872beb6b647578b1ae41bb92568660 /devel/libgtop/patches
parent80c9576d366b9ee24212b4d5769870029509c589 (diff)
downloadpkgsrc-0df207030f5ebec7502a68ba0c02acc729effd6f.tar.gz
Make this package build on the "arm32" port.
Diffstat (limited to 'devel/libgtop/patches')
-rw-r--r--devel/libgtop/patches/patch-ae15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/libgtop/patches/patch-ae b/devel/libgtop/patches/patch-ae
new file mode 100644
index 00000000000..55972ae632a
--- /dev/null
+++ b/devel/libgtop/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.6 2000/06/08 11:43:18 tron Exp $
+
+--- sysdeps/freebsd/cpu.c.orig Sun Feb 13 16:47:58 2000
++++ sysdeps/freebsd/cpu.c Thu Jun 8 13:30:08 2000
+@@ -27,6 +27,10 @@
+
+ #include <glibtop_suid.h>
+
++#ifdef __NetBSD__
++#include <sys/sched.h>
++#endif
++
+ static const unsigned long _glibtop_sysdeps_cpu =
+ (1L << GLIBTOP_CPU_TOTAL) + (1L << GLIBTOP_CPU_USER) +
+ (1L << GLIBTOP_CPU_NICE) + (1L << GLIBTOP_CPU_SYS) +