diff options
Diffstat (limited to 'audio/csound4/patches/patch-ag')
-rw-r--r-- | audio/csound4/patches/patch-ag | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/csound4/patches/patch-ag b/audio/csound4/patches/patch-ag new file mode 100644 index 00000000000..e2cfccd32d4 --- /dev/null +++ b/audio/csound4/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1 2005/11/09 06:35:25 ben Exp $ + +--- csound/diskin.c.orig 2005-03-16 09:08:15.000000000 -0800 ++++ csound/diskin.c +@@ -267,7 +267,7 @@ void newsndinset(SOUNDINEW *p) /* + /* should go in SOUNDINEW struct eventually */ + long snewbufsize = SNDINEWBUFSIZ; + +- if (*p->skipinit != FL(0.0)) return; ++ if (p->skipinit != NULL && *p->skipinit != FL(0.0)) return; + if (skiptime < 0) { + warning(Str(X_1460,"negative skip time, substituting zero.")); + skiptime = FL(0.0); |