From owner-freebsd-ports-bugs Sun Feb 16 8:20: 6 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6743437B401 for ; Sun, 16 Feb 2003 08:20:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13BDF43F75 for ; Sun, 16 Feb 2003 08:20:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1GGK4NS056331 for ; Sun, 16 Feb 2003 08:20:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1GGK49w056330; Sun, 16 Feb 2003 08:20:04 -0800 (PST) Date: Sun, 16 Feb 2003 08:20:04 -0800 (PST) Message-Id: <200302161620.h1GGK49w056330@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Stefan Farfeleder Subject: Re: ports/48331: Update port: foobillard -> 2.4 Reply-To: Stefan Farfeleder Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/48331; it has been noted by GNATS. From: Stefan Farfeleder To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/48331: Update port: foobillard -> 2.4 Date: Sun, 16 Feb 2003 17:12:06 +0100 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I missed the reference to __BIG_ENDIAN in billard3d.c, this caused the sound data to not be byte swapped. Here is a revised patch for the file. --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-billard3d.c" --- src/billard3d.c.orig Sat Jan 11 02:04:01 2003 +++ src/billard3d.c Sun Feb 16 16:39:59 2003 @@ -24,7 +24,7 @@ #include #include #include -#include +#include #ifndef USE_SDL #include @@ -4094,7 +4094,7 @@ fread( &ball_ball_snd.data[SOUND_NULLOFFS*2], 1, ball_ball_snd.len-SOUND_NULLOFFS*2*2 , f ); fclose(f); -#if __BYTE_ORDER == __BIG_ENDIAN +#if _BYTE_ORDER == _BIG_ENDIAN { char *snd=ball_ball_snd.data; for(i=0;i