Date: Sun, 21 Dec 2003 23:00:06 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60460: Update port: audio/zinf Message-ID: <20031221230006.19d9252c.tkato@prontomail.com> Resent-Message-ID: <200312211410.hBLEACjk064487@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60460 >Category: ports >Synopsis: Update port: audio/zinf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 21 06:10:12 PST 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: >Description: - Fix build on big-endian architecture (hopefully) >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/zinf/files/patch-io-wavout-src-wav.cpp audio/zinf/files/patch-io-wavout-src-wav.cpp --- /usr/ports/audio/zinf/files/patch-io-wavout-src-wav.cpp Sat Sep 27 12:59:35 2003 +++ audio/zinf/files/patch-io-wavout-src-wav.cpp Sun Nov 9 12:54:17 2003 @@ -1,5 +1,5 @@ --- io/wavout/src/wav.cpp.orig Tue Mar 18 03:53:30 2003 -+++ io/wavout/src/wav.cpp Thu Aug 21 19:47:59 2003 ++++ io/wavout/src/wav.cpp Sun Nov 9 12:54:05 2003 @@ -101,7 +101,7 @@ if (m_FP == NULL) return; @@ -9,10 +9,11 @@ #else m_WH.Length = m_WH.DataLength + sizeof(WaveHeader) - 4; #endif -@@ -118,7 +118,7 @@ +@@ -117,8 +117,7 @@ + DWORD WaveWriter::Write(const char *data, DWORD data_size) { #if !SMALL_ENDIAN - DataWritten+=data_size; +- DataWritten+=data_size; - m_WH.DataLength=SWAB32(DataWritten); + m_WH.DataLength=SWAB32(SWAB32(m_WH.DataLength) + data_size); #else >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031221230006.19d9252c.tkato>