kumquat-buildroot/package/mpd/mpd-0001-decoder-AudiofileDecoderPlugin-fix-build-failure-due-t.patch
Gustavo Zacarias 2a5d7de8df mpd: fix build failures with gcc 4.9.x
As reported by Sagaert Johan in the mailing list mpd 0.18.x fails to
build with gcc 4.9.x
Patch status: sent upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-09 15:19:26 +02:00

27 lines
805 B
Diff

From 58c9d0c314119a571862b21b2f4e4bf7bbe88a57 Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Tue, 8 Jul 2014 10:39:12 -0300
Subject: [PATCH 1/4] decoder/AudiofileDecoderPlugin: fix build failure due to
missing stdio.h include
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
src/decoder/AudiofileDecoderPlugin.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/decoder/AudiofileDecoderPlugin.cxx b/src/decoder/AudiofileDecoderPlugin.cxx
index ab3557e..92223f2 100644
--- a/src/decoder/AudiofileDecoderPlugin.cxx
+++ b/src/decoder/AudiofileDecoderPlugin.cxx
@@ -31,6 +31,7 @@
#include <af_vfs.h>
#include <assert.h>
+#include <stdio.h>
/* pick 1020 since its devisible for 8,16,24, and 32-bit audio */
#define CHUNK_SIZE 1020
--
1.8.5.5