aboutsummaryrefslogtreecommitdiff
path: root/textproc/cwtext
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2011-06-30 23:11:19 +0000
committerDiane Bruce <db@FreeBSD.org>2011-06-30 23:11:19 +0000
commit16ef5572bf3edf655ec5857dac140eb06f525c62 (patch)
tree3b50292066ab30caf8b4c97e8e80bea026cbb7a2 /textproc/cwtext
parentaba5d160e899514d368550566d485d7e931ecbbf (diff)
downloadports-16ef5572bf3edf655ec5857dac140eb06f525c62.tar.gz
ports-16ef5572bf3edf655ec5857dac140eb06f525c62.zip
Notes
Diffstat (limited to 'textproc/cwtext')
-rw-r--r--textproc/cwtext/files/patch-pcm.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/cwtext/files/patch-pcm.c b/textproc/cwtext/files/patch-pcm.c
new file mode 100644
index 000000000000..310dda1dca40
--- /dev/null
+++ b/textproc/cwtext/files/patch-pcm.c
@@ -0,0 +1,11 @@
+--- pcm.c.orig 2011-06-30 18:51:13.000000000 -0400
++++ pcm.c 2011-06-30 18:51:47.000000000 -0400
+@@ -60,7 +60,7 @@
+ float samples;
+ float fsr;
+
+- if (!valid(hVox)) return;
++ if (!valid(hVox)) return(0);
+
+ timelen = (float) time;
+ fsr = (float) voxref(hVox).samplerate;