Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / sysutils / libgtop / patches / patch-dc
blobefc6977290acb6a62d9ba440ffb77839b66d04ec
1 $NetBSD$
3 --- sysdeps/freebsd/cpu.c.orig  2011-07-24 19:13:56.000000000 +0000
4 +++ sysdeps/freebsd/cpu.c
5 @@ -53,6 +53,7 @@ _glibtop_init_cpu_s (glibtop *server)
6  void
7  glibtop_get_cpu_s (glibtop *server, glibtop_cpu *buf)
8  {
9 +#ifndef __DragonFly__
10         long cpts [CPUSTATES];
11         long *cp_times = NULL;
12         struct clockinfo ci;
13 @@ -132,4 +133,5 @@ glibtop_get_cpu_s (glibtop *server, glib
14         if (ncpu > 1) {
15                 buf->flags |= _glibtop_sysdeps_cpu_smp;
16         }
17 +#endif
18  }