From owner-svn-ports-head@FreeBSD.ORG Wed Feb 19 09:00:18 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 888062A4; Wed, 19 Feb 2014 09:00:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5AC841BA7; Wed, 19 Feb 2014 09:00:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1J90IZk036682; Wed, 19 Feb 2014 09:00:18 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1J90HPE036679; Wed, 19 Feb 2014 09:00:17 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201402190900.s1J90HPE036679@svn.freebsd.org> From: Dmitry Marakasov Date: Wed, 19 Feb 2014 09:00:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r345030 - in head/audio/spiralsynth: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 09:00:18 -0000 Author: amdmi3 Date: Wed Feb 19 09:00:17 2014 New Revision: 345030 URL: http://svnweb.freebsd.org/changeset/ports/345030 QAT: https://qat.redports.org/buildarchive/r345030/ Log: - Fix build on 10.x Added: head/audio/spiralsynth/files/patch-SpiralSound-RiffWav.C (contents, props changed) Modified: head/audio/spiralsynth/Makefile head/audio/spiralsynth/files/patch-SpiralInfo.C Modified: head/audio/spiralsynth/Makefile ============================================================================== --- head/audio/spiralsynth/Makefile Wed Feb 19 09:00:13 2014 (r345029) +++ head/audio/spiralsynth/Makefile Wed Feb 19 09:00:17 2014 (r345030) @@ -34,6 +34,7 @@ post-patch: SpiralInfo.C \ SpiralSound/Midi.h \ SpiralSound/Output.h \ + SpiralSound/RiffWav.C \ SpiralSound/SpiralInfo.h \ SpiralSound/Synth.C \ SpiralSound/Synth.h \ @@ -49,6 +50,7 @@ post-patch: s|-lm|${PTHREAD_LIBS} -lm|g ; \ s|/usr/X11R6|${LOCALBASE}|g ; \ s|iostream.h|iostream|g ;\ + s|fstream.h|fstream|g ;\ s|||g ;\ s|machine/soundcard|sys/soundcard|g' \ < ${WRKSRC}/${ii}.orig \ Modified: head/audio/spiralsynth/files/patch-SpiralInfo.C ============================================================================== --- head/audio/spiralsynth/files/patch-SpiralInfo.C Wed Feb 19 09:00:13 2014 (r345029) +++ head/audio/spiralsynth/files/patch-SpiralInfo.C Wed Feb 19 09:00:17 2014 (r345030) @@ -1,14 +1,12 @@ --- SpiralInfo.C.orig Mon Feb 9 13:26:01 2004 +++ SpiralInfo.C Mon Feb 9 13:26:59 2004 -@@ -22,8 +22,10 @@ +@@ -22,8 +22,8 @@ #include "SpiralSound/SpiralInfo.h" -float RandFloat(float s=0.0f, float e=1.0f) +float RandFloat(float s, float e) { -+ s=0.0f; -+ e=1.0f; return s+((rand()%10000/10000.0)*(e-s)); } Added: head/audio/spiralsynth/files/patch-SpiralSound-RiffWav.C ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/spiralsynth/files/patch-SpiralSound-RiffWav.C Wed Feb 19 09:00:17 2014 (r345030) @@ -0,0 +1,10 @@ +--- SpiralSound/RiffWav.C.orig 2000-11-26 18:52:41.000000000 +0300 ++++ SpiralSound/RiffWav.C 2014-02-13 05:40:18.946204286 +0400 +@@ -143,6 +143,7 @@ + m_TotalLength/=2; + + // leave the filepointer on the first sample ++ return 1; + } + else + {