summaryrefslogtreecommitdiff
path: root/audio/timidity/files/patch-dumb__c.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /audio/timidity/files/patch-dumb__c.c
parentMooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff)
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'audio/timidity/files/patch-dumb__c.c')
-rw-r--r--audio/timidity/files/patch-dumb__c.c16
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)