freebsd-ports/audio/p5-Audio-Mixer/files/patch-Mix.c
Sunpoet Po-Chuan Hsieh e59c463b04 - Add LICENSE
- Strip shared library
- Regenerate patch file with makepatch:
- Sort PLIST
- Bump PORTREVISION for package change
- Pass maintainership to perl@
2015-06-13 13:56:44 +00:00

11 lines
260 B
C

--- Mix.c.orig 2003-03-27 05:43:11 UTC
+++ Mix.c
@@ -78,7 +78,7 @@ close_mixer() {
#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;