aboutsummaryrefslogtreecommitdiffstats
path: root/audio/p5-Audio-Mixer
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2011-06-22 03:08:45 +0800
committerdhn <dhn@FreeBSD.org>2011-06-22 03:08:45 +0800
commit7ab2e811f2093bd53eeb6647a2c93a24edb2df43 (patch)
tree104838b4834fab2a63652cbd4c49565cb37a7b92 /audio/p5-Audio-Mixer
parent802a5eac501f415c8277d0d874765f5a91880740 (diff)
downloadfreebsd-ports-gnome-7ab2e811f2093bd53eeb6647a2c93a24edb2df43.tar.gz
freebsd-ports-gnome-7ab2e811f2093bd53eeb6647a2c93a24edb2df43.tar.zst
freebsd-ports-gnome-7ab2e811f2093bd53eeb6647a2c93a24edb2df43.zip
- Fix build with clang
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;