Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2003 19:05:19 -0800 (PST)
From:      Mike Harding <mvh@ix.netcom.com>
To:        marcus@marcuscom.com
Cc:        gnome@freebsd.org
Subject:   Re: /usr/local/devel/libgtop does not build on -STABLE
Message-ID:  <20030115030519.9B2E113103@netcom1.netcom.com>
In-Reply-To: <1042594020.98949.2.camel@shumai.marcuscom.com> (message from Joe Marcus Clarke on 14 Jan 2003 20:27:01 -0500)
References:  <20030115010924.0018413103@netcom1.netcom.com> <1042594020.98949.2.camel@shumai.marcuscom.com>

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

Err, you probably also want to keep the _bsdi_ check and then nest in
the other check for VM_METER, rather than replacing the _bsdi_ check
with a check for VM_METER.  Other OSs may have VM_METER defined...

- Mike H.

   X-Original-To: mvh@netcom1.netcom.com
   From: Joe Marcus Clarke <marcus@marcuscom.com>
   Cc: FreeBSD GNOME Users <gnome@freebsd.org>
   Organization: MarcusCom, Inc.
   Date: 14 Jan 2003 20:27:01 -0500
   X-Spam-Status: No, hits=-2.8 required=5.0
	   tests=AWL,IN_REP_TO,NOSPAM_INC,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,
		 REFERENCES,SPAM_PHRASE_00_01,TO_BE_REMOVED_REPLY
	   version=2.43
   Sender: owner-freebsd-gnome@FreeBSD.ORG
   X-Loop: FreeBSD.ORG
   X-Virus-Scanned: by AMaViS snapshot-20020531


   --=-RvFjlXjk8M8Xc7b+QrOh
   Content-Type: text/plain
   Content-Transfer-Encoding: quoted-printable

   On Tue, 2003-01-14 at 20:09, Mike Harding wrote:
   > because of the patchfile
   >=20
   > patch-sysdeps_freebsd_mem.c
   >=20
   > I think you got the VM_TOTAL/VM_METER reversed in the patch...

   Doh!  Sorry.  I'll fix it.

   Joe

   >=20
   > --- sysdeps/freebsd/mem.c.orig	Tue Jan 14 17:22:18 2003
   > +++ sysdeps/freebsd/mem.c	Tue Jan 14 17:22:28 2003
   > @@ -75,7 +75,7 @@
   > =20
   >  /* MIB array for sysctl */
   >  static int mib_length=3D2;
   > -#ifdef __bsdi__
   > +#ifdef VM_METER
   >  static int mib [] =3D { CTL_VM, VM_TOTAL };
   >  #else
   >  static int mib [] =3D { CTL_VM, VM_METER };
   >=20
   > To Unsubscribe: send mail to majordomo@FreeBSD.org
   > with "unsubscribe freebsd-gnome" in the body of the message
   --=20
   PGP Key : http://www.marcuscom.com/pgp.asc

   --=-RvFjlXjk8M8Xc7b+QrOh
   Content-Type: application/pgp-signature; name=signature.asc
   Content-Description: This is a digitally signed message part

   -----BEGIN PGP SIGNATURE-----
   Version: GnuPG v1.2.1 (FreeBSD)

   iD8DBQA+JLjkb2iPiv4Uz4cRArwZAKCLQi3XwuimNmoB3iVQku0E9HczTQCdGbh0
   fBjc1Mum1XAe8Ml5fQ1GSko=
   =TJSp
   -----END PGP SIGNATURE-----

   --=-RvFjlXjk8M8Xc7b+QrOh--


   To Unsubscribe: send mail to majordomo@FreeBSD.org
   with "unsubscribe freebsd-gnome" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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