Source: kwave
Version: 0.9.2-1-2
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hi,

kwave currently FTBFS on GNU/Hurd due to PIPE_BUF not being defined. The
attached patch fixes this issue by defining PIPE_BUF as _POSIX_PIPE_BUF instead.

Thanks!
Index: kwave-0.9.2-1/plugins/codec_mp3/MP3Encoder.h
===================================================================
--- kwave-0.9.2-1.orig/plugins/codec_mp3/MP3Encoder.h
+++ kwave-0.9.2-1/plugins/codec_mp3/MP3Encoder.h
@@ -113,6 +113,10 @@ namespace Kwave
 	 * consumption and a large delay when the progress bar has
 	 * reached 99%.
 	 */
+
+#ifndef PIPE_BUF
+#define PIPE_BUF _POSIX_PIPE_BUF
+#endif
 	quint8 m_write_buffer[PIPE_BUF];
 
 	/** buffer for reading from the encoder (size is not critical) */
_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to