diff options
author | joerg <joerg@pkgsrc.org> | 2012-11-01 19:43:42 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-11-01 19:43:42 +0000 |
commit | 498af038c4afefc575944370c83ba033d68f36b7 (patch) | |
tree | 906dfaa8f5074115ae8fef3380aecf07e01a54c4 | |
parent | 593cedec04e38e47f30b4fe39a306b59f64b64f2 (diff) | |
download | pkgsrc-498af038c4afefc575944370c83ba033d68f36b7.tar.gz |
Fix missing return value. Add a missing include.
-rw-r--r-- | ham/cwtext/distinfo | 4 | ||||
-rw-r--r-- | ham/cwtext/patches/patch-morse.c | 12 | ||||
-rw-r--r-- | ham/cwtext/patches/patch-pcm.c | 13 |
3 files changed, 28 insertions, 1 deletions
diff --git a/ham/cwtext/distinfo b/ham/cwtext/distinfo index e15be3f3da1..e17e73ce5ae 100644 --- a/ham/cwtext/distinfo +++ b/ham/cwtext/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.5 2010/12/07 13:14:57 mef Exp $ +$NetBSD: distinfo,v 1.6 2012/11/01 19:43:42 joerg Exp $ SHA1 (cwtext-0.96.tar.gz) = 5e6d7d57b5329de80fce84eb65d47c0b776f2d4f RMD160 (cwtext-0.96.tar.gz) = 1d47de9a6441846484e993708b9c0fdd9042e8ba Size (cwtext-0.96.tar.gz) = 16596 bytes +SHA1 (patch-morse.c) = 19f95a2d66d54708cd13d19468964cfac282b47a +SHA1 (patch-pcm.c) = 305d818ee9557a626673b2023b758bd19150ce44 diff --git a/ham/cwtext/patches/patch-morse.c b/ham/cwtext/patches/patch-morse.c new file mode 100644 index 00000000000..1a68ce4192a --- /dev/null +++ b/ham/cwtext/patches/patch-morse.c @@ -0,0 +1,12 @@ +$NetBSD: patch-morse.c,v 1.1 2012/11/01 19:43:42 joerg Exp $ + +--- morse.c.orig 2012-10-30 22:47:24.000000000 +0000 ++++ morse.c +@@ -17,6 +17,7 @@ Foundation, Inc., 59 Temple Place - Suit + + */ + ++#include <ctype.h> + #include <stdio.h> + + #include "cw.h" diff --git a/ham/cwtext/patches/patch-pcm.c b/ham/cwtext/patches/patch-pcm.c new file mode 100644 index 00000000000..73e6447a228 --- /dev/null +++ b/ham/cwtext/patches/patch-pcm.c @@ -0,0 +1,13 @@ +$NetBSD: patch-pcm.c,v 1.1 2012/11/01 19:43:42 joerg Exp $ + +--- pcm.c.orig 2012-10-30 22:47:38.000000000 +0000 ++++ pcm.c +@@ -60,7 +60,7 @@ int mStoSamples(int hVox, int time) { + float samples; + float fsr; + +- if (!valid(hVox)) return; ++ if (!valid(hVox)) return -1; + + timelen = (float) time; + fsr = (float) voxref(hVox).samplerate; |