From owner-freebsd-ports@FreeBSD.ORG Wed Jul 23 06:25:06 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01B0C37B401; Wed, 23 Jul 2003 06:25:05 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5130743FB1; Wed, 23 Jul 2003 06:25:05 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 0F28D388BA; Wed, 23 Jul 2003 15:25:04 +0200 (CEST) Date: Wed, 23 Jul 2003 15:25:04 +0200 From: Simon Barner To: Kris Kennaway Message-ID: <20030723132504.GM566@zi025.glhnet.mhn.de> References: <20030718025200.GA36893@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H7DA0n3a+SnB4bJ2" Content-Disposition: inline In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: ports@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Fixing gcc 3.3 compile failures -- fix for x11-toolkits/wmapp X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 13:25:06 -0000 --H7DA0n3a+SnB4bJ2 Content-Type: multipart/mixed; boundary="sBvc846/5FzkyDmz" Content-Disposition: inline --sBvc846/5FzkyDmz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --sBvc846/5FzkyDmz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-wmapp.cc" Content-Transfer-Encoding: quoted-printable --- wmapp.cc.orig Wed Jul 23 03:26:58 2003 +++ wmapp.cc Wed Jul 23 03:28:59 2003 @@ -4,11 +4,9 @@ =20 using std::string; =20 -namespace Unix { - extern "C" { -# include // for usleep() - } -}; +extern "C" { +# include // for usleep() +} =20 // All the xpms we need: namespace Xpms { @@ -254,7 +252,7 @@ =20 while (true) { // sleep for the specified time in milliseconds - Unix::usleep(1000 * current()->updatefreq()); + usleep(1000 * current()->updatefreq()); // execute any timed functions which need it current()->run_timed_functions(); =20 --sBvc846/5FzkyDmz-- --H7DA0n3a+SnB4bJ2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/HoyvCkn+/eutqCoRAkhJAKDvX3D04TWp1aUM74GQtMgrnRztgACgw5Cc jeyuSr2mj+FegMvYduxwf2w= =FBzT -----END PGP SIGNATURE----- --H7DA0n3a+SnB4bJ2--