From owner-freebsd-sparc64@FreeBSD.ORG Thu Mar 24 20:07:23 2005 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B65D16A4CE for ; Thu, 24 Mar 2005 20:07:23 +0000 (GMT) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id D649643D4C for ; Thu, 24 Mar 2005 20:07:22 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.3/8.13.3) with ESMTP id j2OK7L7d096841; Thu, 24 Mar 2005 12:07:21 -0800 (PST) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.3/8.13.1/Submit) id j2OK7JYh096840; Thu, 24 Mar 2005 12:07:19 -0800 (PST) (envelope-from obrien) Date: Thu, 24 Mar 2005 12:07:19 -0800 From: "David O'Brien" To: Andriy Gapon Message-ID: <20050324200719.GD60666@dragon.NUXI.org> References: <42415375.4080107@icyb.net.ua> <4241A28C.4060309@icyb.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4241A28C.4060309@icyb.net.ua> X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i cc: freebsd-sparc64@freebsd.org Subject: Re: udfclient-0.3.3_1 failed on sparc64: bswap.h X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-sparc64@freebsd.org List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 20:07:23 -0000 On Wed, Mar 23, 2005 at 07:08:28PM +0200, Andriy Gapon wrote: > Volunteers with big endian hardware, could you please test the attached > patch to sysutils/udfclient port? At least that it compiles, it is only > a few .c files. .. > +++ ./work/UDFclient.0.3.3/udf_bswap.h Wed Mar 23 19:00:10 2005 > @@ -52,8 +52,33 @@ > /* rest only relevant for big endian machines */ > #if (BYTE_ORDER == BIG_ENDIAN) > > +#if !defined(__FreeBSD__) > #include > #include > +#else > +#if !defined(bswap16) > +/* this version of FreeBSD does not provide bswap*() functions */ I don't see why this is necessary -- 4.x does not run on our big endian platforms, and 5.x does have bswap*. -- -- David (obrien@FreeBSD.org)