diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-01-23 19:34:09 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-01-23 19:34:09 +0000 |
commit | 5f0b87f8ac94024677f795bda697f4c772f32c9f (patch) | |
tree | 233198efccfe92728ab8ae4c56b629e6f0df2b9b /audio/csound-dev | |
parent | df7d479d2f9e59c0940c04c9bb032be53b4bdf21 (diff) | |
download | pkgsrc-5f0b87f8ac94024677f795bda697f4c772f32c9f.tar.gz |
Convert one useage of a C99 feature to plain old C.
Diffstat (limited to 'audio/csound-dev')
-rw-r--r-- | audio/csound-dev/distinfo | 3 | ||||
-rw-r--r-- | audio/csound-dev/patches/patch-av | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/csound-dev/distinfo b/audio/csound-dev/distinfo index cf2f39f8ff7..8bb9c3db0ff 100644 --- a/audio/csound-dev/distinfo +++ b/audio/csound-dev/distinfo @@ -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-ar) = 0e3b4037adb3220624dde69dc68015f6de4fc266 SHA1 (patch-as) = 45a18ea81022a722c489aee4013589172490c60f SHA1 (patch-at) = fd424477994e026526ed14d9d64a951abcfbb6fb SHA1 (patch-au) = 5c002177662b6f9b4eacccba023e88ba8c0699af +SHA1 (patch-av) = 3f0ab825be6b3e1ce8f5f9a5e019b70b93bcc385 diff --git a/audio/csound-dev/patches/patch-av b/audio/csound-dev/patches/patch-av new file mode 100644 index 00000000000..1bacf331502 --- /dev/null +++ b/audio/csound-dev/patches/patch-av @@ -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 */ |