$NetBSD: patch-am,v 1.1 2006/02/28 23:48:12 joerg Exp $ --- sysdeps/freebsd/procsignal.c.orig 2005-07-08 19:25:18.000000000 +0000 +++ sysdeps/freebsd/procsignal.c @@ -91,7 +91,8 @@ glibtop_get_proc_signal_p (glibtop *serv #if defined(__NetBSD__) && (__NetBSD_Version__ >= 105150000) buf->signal [0] = pinfo [0].kp_proc.p_sigctx.ps_siglist.__bits[0]; #elif (defined(__NetBSD__) && (NSIG > 32)) || \ - (defined(__FreeBSD__) && (__FreeBSD_version >= 400011)) + (defined(__FreeBSD__) && (__FreeBSD_version >= 400011)) || \ + defined(__DragonFly__) buf->signal [0] = pinfo [0].PROC_SIGLIST.__bits[0]; #else buf->signal [0] = pinfo [0].kp_proc.p_siglist; @@ -103,7 +104,8 @@ glibtop_get_proc_signal_p (glibtop *serv #if defined(__NetBSD__) && (__NetBSD_Version__ >= 105150000) buf->blocked [0] = pinfo [0].kp_proc.p_sigctx.ps_sigmask.__bits[0]; #elif (defined(__NetBSD__) && (NSIG > 32)) || \ - (defined(__FreeBSD__) && (__FreeBSD_version >= 400011)) + (defined(__FreeBSD__) && (__FreeBSD_version >= 400011)) || \ + defined(__DragonFly__) buf->blocked [0] = pinfo [0].PROC_SIGMASK.__bits[0]; #else buf->blocked [0] = pinfo [0].kp_proc.p_sigmask; @@ -115,7 +117,8 @@ glibtop_get_proc_signal_p (glibtop *serv #if defined(__NetBSD__) && (__NetBSD_Version__ >= 105150000) buf->sigignore [0] = pinfo [0].kp_proc.p_sigctx.ps_sigignore.__bits[0]; #elif (defined(__NetBSD__) && (NSIG > 32)) || \ - (defined(__FreeBSD__) && (__FreeBSD_version >= 400011)) + (defined(__FreeBSD__) && (__FreeBSD_version >= 400011)) || \ + defined(__DragonFly__) buf->sigignore [0] = pinfo [0].PROC_SIGIGNORE.__bits[0]; #else buf->sigignore [0] = pinfo [0].kp_proc.p_sigignore; @@ -127,7 +130,8 @@ glibtop_get_proc_signal_p (glibtop *serv #if defined(__NetBSD__) && (__NetBSD_Version__ >= 105150000) buf->sigcatch [0] = pinfo [0].kp_proc.p_sigctx.ps_sigcatch.__bits[0]; #elif (defined(__NetBSD__) && (NSIG > 32)) || \ - (defined(__FreeBSD__) && (__FreeBSD_version >= 400011)) + (defined(__FreeBSD__) && (__FreeBSD_version >= 400011)) || \ + defined(__DragonFly__) buf->sigcatch [0] = pinfo [0].PROC_SIGCATCH.__bits[0]; #else buf->sigcatch [0] = pinfo [0].kp_proc.p_sigcatch;