pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/csound-dev Convert one useage of a C99 feature t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/757ec271060d
branches:  trunk
changeset: 466836:757ec271060d
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Fri Jan 23 19:34:09 2004 +0000

description:
Convert one useage of a C99 feature to plain old C.

diffstat:

 audio/csound-dev/distinfo         |   3 ++-
 audio/csound-dev/patches/patch-av |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 5b66161faf26 -r 757ec271060d audio/csound-dev/distinfo
--- a/audio/csound-dev/distinfo Fri Jan 23 19:32:24 2004 +0000
+++ b/audio/csound-dev/distinfo Fri Jan 23 19:34:09 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2003/12/13 20:26:03 ben Exp $
+$NetBSD: distinfo,v 1.2 2004/01/23 19:34:09 kristerw Exp $
 
 SHA1 (csound/Csound-4.24.1.tar.bz2) = a14903e23b72c78a870b0d38df7bbdb5e1a56c9e
 Size (csound/Csound-4.24.1.tar.bz2) = 1116589 bytes
@@ -23,3 +23,4 @@
 SHA1 (patch-as) = 45a18ea81022a722c489aee4013589172490c60f
 SHA1 (patch-at) = fd424477994e026526ed14d9d64a951abcfbb6fb
 SHA1 (patch-au) = 5c002177662b6f9b4eacccba023e88ba8c0699af
+SHA1 (patch-av) = 3f0ab825be6b3e1ce8f5f9a5e019b70b93bcc385
diff -r 5b66161faf26 -r 757ec271060d audio/csound-dev/patches/patch-av
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound-dev/patches/patch-av Fri Jan 23 19:34:09 2004 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-av,v 1.1 2004/01/23 19:34:09 kristerw Exp $
+
+--- csound.c.orig      Fri Jan 23 20:13:03 2004
++++ csound.c   Fri Jan 23 20:14:09 2004
+@@ -696,10 +696,12 @@
+       if (!tty_attr_set)
+         inchar_tty_init();          /* initialise terminal if not done yet */
+       /* otherwise poll stdin for input (currently UNIX only) */
++      {
+       unsigned char ch;
+       /* IV - Jan 30 2003 */
+       if ((int) read(0, &ch, 1) > 0 && (int) ch != '\0')
+         c = (char) ch;
++      }
+ #endif
+     }
+     /* return whatever was read */



Home | Main Index | Thread Index | Old Index