Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 1999 15:59:40 -0400 (EDT)
From:      Mikhail Teterin <mi@misha.cisco.com>
To:        nakai@freebsd.org
Cc:        ports@freebsd.org
Subject:   libgtop-1.1.0 does not build on -stable
Message-ID:  <199910181959.PAA07208@misha.cisco.com>

next in thread | raw e-mail | index | archive | help

--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 <glibtop/procsignal.h>
 
 #include <glibtop_suid.h>
+#include <osreldate.h>
 
 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910181959.PAA07208>