pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/cwtext Fix missing return value. Add a missing inc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b16893c683a9
branches:  trunk
changeset: 610642:b16893c683a9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 01 19:43:42 2012 +0000

description:
Fix missing return value. Add a missing include.

diffstat:

 ham/cwtext/distinfo              |   4 +++-
 ham/cwtext/patches/patch-morse.c |  12 ++++++++++++
 ham/cwtext/patches/patch-pcm.c   |  13 +++++++++++++
 3 files changed, 28 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r fc7812c86eae -r b16893c683a9 ham/cwtext/distinfo
--- a/ham/cwtext/distinfo       Thu Nov 01 19:42:01 2012 +0000
+++ b/ham/cwtext/distinfo       Thu Nov 01 19:43:42 2012 +0000
@@ -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 -r fc7812c86eae -r b16893c683a9 ham/cwtext/patches/patch-morse.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/cwtext/patches/patch-morse.c  Thu Nov 01 19:43:42 2012 +0000
@@ -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 -r fc7812c86eae -r b16893c683a9 ham/cwtext/patches/patch-pcm.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/cwtext/patches/patch-pcm.c    Thu Nov 01 19:43:42 2012 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index