From owner-cvs-all@FreeBSD.ORG Wed Oct 1 06:39:11 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D20616A4BF for ; Wed, 1 Oct 2003 06:39:11 -0700 (PDT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 3A0D04400D for ; Wed, 1 Oct 2003 06:39:07 -0700 (PDT) (envelope-from roam@straylight.ringlet.net) Received: (qmail 11199 invoked from network); 1 Oct 2003 13:39:04 -0000 Received: from office.sbnd.net (HELO straylight.ringlet.net) (217.75.140.130) by gandalf.online.bg with SMTP; 1 Oct 2003 13:39:03 -0000 Received: (qmail 2691 invoked by uid 1000); 1 Oct 2003 13:39:04 -0000 Date: Wed, 1 Oct 2003 16:39:04 +0300 From: Peter Pentchev To: Edwin Groothuis Message-ID: <20031001133904.GR551@straylight.oblivion.bg> Mail-Followup-To: Edwin Groothuis , "Scott M. Likens" , ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org References: <200309301227.h8UCRg5J081765@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HFD/Dq8JdnjNvyuv" Content-Disposition: inline In-Reply-To: <200309301227.h8UCRg5J081765@repoman.freebsd.org> User-Agent: Mutt/1.5.4i cc: cvs-ports@FreeBSD.org cc: cvs-all@FreeBSD.org cc: "Scott M. Likens" cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/net/lft Makefile ports/net/lft/files patch-lft.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 13:39:11 -0000 --HFD/Dq8JdnjNvyuv Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 30, 2003 at 05:27:42AM -0700, Edwin Groothuis wrote: > edwin 2003/09/30 05:27:42 PDT >=20 > FreeBSD ports repository >=20 > Modified files: > net/lft Makefile=20 > net/lft/files patch-lft.c=20 > Log: > patch for net/lft > =20 > ports/net/lft has a slight problem on 4.x servers > =20 > GCC 2.95 does not support atol on 4.x, where as 5.x has > atol, to solve this slight problem we must use either a > version check, or use depreciated atoll > =20 > Informed maintainer. However, my 4.9-RC doesn't have atoll(3) at all - neither as a manpage, nor even in the src/lib/libc/stdlib/ sources. How about the following patch, which makes it use strtoll(3) instead? G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I had to translate this sentence into English because I could not read the = original Sanskrit. Index: ports/net/lft/files/patch-lft.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/ports/net/lft/files/patch-lft.c,v retrieving revision 1.3 diff -u -r1.3 patch-lft.c --- ports/net/lft/files/patch-lft.c 30 Sep 2003 12:27:42 -0000 1.3 +++ ports/net/lft/files/patch-lft.c 1 Oct 2003 13:34:21 -0000 @@ -54,7 +54,7 @@ break; case 'q': - seq_start =3D atol (optarg); -+ seq_start =3D atoll (optarg); ++ seq_start =3D strtoll (optarg, NULL, 10); break; case 'w': win_len =3D atoi(optarg); --HFD/Dq8JdnjNvyuv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/etj47Ri2jRYZRVMRAvVqAKCB0C/T3mggg5GaAPFMRfL6XubmZACgj2Ex d5SGuNVVEgX9plwCgZHtdqc= =wMZj -----END PGP SIGNATURE----- --HFD/Dq8JdnjNvyuv--