Index: head/audio/xanalyser/Makefile =================================================================== --- head/audio/xanalyser/Makefile (revision 513503) +++ head/audio/xanalyser/Makefile (revision 513504) @@ -1,28 +1,29 @@ # Created by: Diane Bruce Index: head/audio/xanalyser/files/patch-src_pcm-oss.cc =================================================================== --- head/audio/xanalyser/files/patch-src_pcm-oss.cc (revision 513503) +++ head/audio/xanalyser/files/patch-src_pcm-oss.cc (revision 513504) @@ -1,12 +1,12 @@ ---- src/pcm-oss.cc 2014-09-06 09:44:07.000000000 +0200 -+++ src/pcm-oss.cc 2014-09-06 09:45:02.000000000 +0200 -@@ -100,7 +100,8 @@ +--- src/pcm-oss.cc.orig 2006-07-03 20:05:03 UTC ++++ src/pcm-oss.cc +@@ -100,7 +100,8 @@ PCMOSS::PCMOSS (const char* name, pcm_type_t type, pcm } int tmp_buffer_size = want_buffer_size; - if (ioctl (fd, SNDCTL_DSP_GETBLKSIZE, &tmp_buffer_size) == -1) { + if (ioctl (fd, SNDCTL_DSP_SETBLKSIZE, &tmp_buffer_size) == -1 || + ioctl (fd, SNDCTL_DSP_GETBLKSIZE, &tmp_buffer_size) == -1) { cerr << "error " << strerror (errno) << '\n'; return; } Property changes on: head/audio/xanalyser/files/patch-src_pcm-oss.cc ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -yes \ No newline at end of property +1 \ No newline at end of property