ports/60460: Update port: audio/zinf

KATO Tsuguru tkato at prontomail.com
Sun Dec 21 14:10:41 UTC 2003


>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:



More information about the freebsd-ports-bugs mailing list