mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Fix build on 10.x
This commit is contained in:
parent
161d9129a4
commit
270f67a50f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345030
@ -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|<strstream>|<sstream>|g ;\
|
||||
s|machine/soundcard|sys/soundcard|g' \
|
||||
< ${WRKSRC}/${ii}.orig \
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
10
audio/spiralsynth/files/patch-SpiralSound-RiffWav.C
Normal file
10
audio/spiralsynth/files/patch-SpiralSound-RiffWav.C
Normal file
@ -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
|
||||
{
|
Loading…
Reference in New Issue
Block a user