From owner-freebsd-ports Mon Oct 18 12:59:52 1999 Delivered-To: freebsd-ports@freebsd.org Received: from misha.cisco.com (misha.cisco.com [171.69.206.50]) by hub.freebsd.org (Postfix) with ESMTP id 69D16150E9; Mon, 18 Oct 1999 12:59:41 -0700 (PDT) (envelope-from mi@misha.cisco.com) Received: (from root@localhost) by misha.cisco.com (8.9.3/8.9.1) id PAA07208; Mon, 18 Oct 1999 15:59:40 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <199910181959.PAA07208@misha.cisco.com> Subject: libgtop-1.1.0 does not build on -stable To: nakai@freebsd.org Date: Mon, 18 Oct 1999 15:59:40 -0400 (EDT) Cc: ports@freebsd.org Reply-To: mi@aldan.algebra.com X-Mailer: ELM [version 2.4ME+ PL60 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM940276780-7202-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --ELM940276780-7202-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit And for a good reason. Please, diff the attached patches/patch-ag with what's in the tree... -mi --ELM940276780-7202-0_ Content-Type: text/plain; charset=KOI8-R Content-Disposition: attachment; filename=patch-ag Content-Description: fixed version of the procsignal.c-patch Content-Transfer-Encoding: 7bit --- sysdeps/freebsd/procsignal.c.orig Sat Oct 16 10:57:29 1999 +++ sysdeps/freebsd/procsignal.c Sat Oct 16 11:23:43 1999 @@ -26,6 +26,7 @@ #include #include +#include static const unsigned long _glibtop_sysdeps_proc_signal = (1L << GLIBTOP_PROC_SIGNAL_SIGNAL) + @@ -66,7 +67,7 @@ /* signal: mask of pending signals. * pinfo [0].kp_proc.p_siglist */ -#if defined(__NetBSD__) && (NSIG > 32) +#if (defined(__NetBSD__) && (NSIG > 32)) || (__FreeBSD_version >= 400011) buf->signal [0] = pinfo [0].kp_proc.p_siglist.__bits[0]; #else buf->signal [0] = pinfo [0].kp_proc.p_siglist; @@ -75,7 +76,7 @@ /* blocked: mask of blocked signals. * pinfo [0].kp_proc.p_sigmask */ -#if defined(__NetBSD__) && (NSIG > 32) +#if (defined(__NetBSD__) && (NSIG > 32)) || (__FreeBSD_version >= 400011) buf->blocked [0] = pinfo [0].kp_proc.p_sigmask.__bits[0]; #else buf->blocked [0] = pinfo [0].kp_proc.p_sigmask; @@ -84,16 +85,16 @@ /* sigignore: mask of ignored signals. * pinfo [0].kp_proc.p_sigignore */ -#if defined(__NetBSD__) && (NSIG > 32) +#if (defined(__NetBSD__) && (NSIG > 32)) || (__FreeBSD_version >= 400011) buf->sigignore [0] = pinfo [0].kp_proc.p_sigignore.__bits[0]; #else buf->sigignore [0] = pinfo [0].kp_proc.p_sigignore; #endif /* sigcatch: mask of caught signals. * pinfo [0].kp_proc.p_sigcatch */ -#if defined(__NetBSD__) && (NSIG > 32) +#if (defined(__NetBSD__) && (NSIG > 32)) || (__FreeBSD_version >= 400011) buf->sigcatch [0] = pinfo [0].kp_proc.p_sigcatch.__bits[0]; #else buf->sigcatch [0] = pinfo [0].kp_proc.p_sigcatch; --ELM940276780-7202-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message