diff options
Diffstat (limited to 'audio/timidity/files/patch-dumb__c.c')
-rw-r--r-- | audio/timidity/files/patch-dumb__c.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/timidity/files/patch-dumb__c.c b/audio/timidity/files/patch-dumb__c.c new file mode 100644 index 000000000000..46a39316d53c --- /dev/null +++ b/audio/timidity/files/patch-dumb__c.c @@ -0,0 +1,16 @@ +--- dumb_c.c.orig 1996-05-20 14:01:17 UTC ++++ dumb_c.c +@@ -66,10 +66,12 @@ ControlMode ctl= + ctl_expression, ctl_panning, ctl_sustain, ctl_pitch_bend + }; + +-static FILE *infp=stdin, *outfp=stdout; /* infp isn't actually used yet */ ++static FILE *infp, *outfp; /* infp isn't actually used yet */ + + static int ctl_open(int using_stdin, int using_stdout) + { ++ infp = stdin; ++ outfp = stdout; + if (using_stdin && using_stdout) + infp=outfp=stderr; + else if (using_stdout) |