ports/audio/timidity/files/patch-dumb__c.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

16 lines
481 B
C

--- 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)