aboutsummaryrefslogtreecommitdiff
path: root/audio/p5-Audio-Mixer
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2011-06-21 19:08:45 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2011-06-21 19:08:45 +0000
commit6f6e258b970972c2bb4effcdbc468a494b6df39c (patch)
treeaacb146fb34fe791c87e3480d7276f88f37151f0 /audio/p5-Audio-Mixer
parent0f7765c494a2fda81b87437699c7dfaeb7eef8e2 (diff)
downloadports-6f6e258b970972c2bb4effcdbc468a494b6df39c.tar.gz
ports-6f6e258b970972c2bb4effcdbc468a494b6df39c.zip
Notes
Diffstat (limited to 'audio/p5-Audio-Mixer')
-rw-r--r--audio/p5-Audio-Mixer/files/patch-Mix.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/p5-Audio-Mixer/files/patch-Mix.c b/audio/p5-Audio-Mixer/files/patch-Mix.c
new file mode 100644
index 000000000000..27a478aaa751
--- /dev/null
+++ b/audio/p5-Audio-Mixer/files/patch-Mix.c
@@ -0,0 +1,11 @@
+--- ./Mix.c.orig 2011-06-21 21:06:03.000000000 +0200
++++ ./Mix.c 2011-06-21 21:06:53.000000000 +0200
+@@ -78,7 +78,7 @@
+ #ifdef DEBUG
+ fprintf(stderr, "close_mixer()\n");
+ #endif
+- if (mixer_fd < 0) return;
++ if (mixer_fd < 0) return 0;
+ close(mixer_fd);
+ init_flag = 0;
+ mixer_fd = -1;