From owner-freebsd-ports Tue Jul 2 20:22:28 2002 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 48DB837B400 for ; Tue, 2 Jul 2002 20:22:26 -0700 (PDT) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09CEF43E4B for ; Tue, 2 Jul 2002 20:22:25 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 4FEC02B6AE; Wed, 3 Jul 2002 05:21:42 +0200 (CEST) Received: by k7.mavetju (Postfix, from userid 1001) id 06AD46A711E; Wed, 3 Jul 2002 13:21:33 +1000 (EST) Date: Wed, 3 Jul 2002 13:21:33 +1000 From: Edwin Groothuis To: Cameron Worrell Cc: Lars.Koeller@Uni-Bielefeld.de, ports@FreeBSD.org Subject: Re: FreeBSD Port: apcupsd-3.8.5_1 Message-ID: <20020703132132.E558@k7.mavetju> References: <000001c2223c$71ea0720$fdc8a8c0@homepc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <000001c2223c$71ea0720$fdc8a8c0@homepc>; from cworrell@telocity.com on Tue, Jul 02, 2002 at 10:50:51PM -0400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jul 02, 2002 at 10:50:51PM -0400, Cameron Worrell wrote: > Apologies in advance for the Spam. I read through a thread on the > dev-group and was wondering if there was a patch to correct the issues > with any version greater than 3.9.4. I have a CS 350 /USB that requires > it. The only version I have successfully compiled is 3.8.5. > > 3.9.4 and 3.9.8 fail with the following... > > (internal libintl disabled) > gcc -DHAVE_CONFIG_H -c -I. -I./include -g -O2 apcupsd.c > gcc -DHAVE_CONFIG_H -c -I. -I./include -g -O2 apcnet.c > apcnet.c: In function `send_to_slave': > apcnet.c:274: `ETIME' undeclared (first use in this function) > apcnet.c:274: (Each undeclared identifier is reported only once > apcnet.c:274: for each function it appears in.) ETIME is a linux-ism(*). Seen how it is further used in the code (quick grep on it), I think you can safely replace it with ETIMEDOUT. (*) defined in /usr/include/asm/errno.h but not in the errno man-page. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: bash$ :(){ :|:&};: | http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message