buildrootschalter/package/mpd/mpd-0002-decoder-OpusDecoderPlugin-fix-build-failure-due-to-mis.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
737 B
Diff

From 66f19e78a5b8e7b7aefd807218edafcf55ccee55 Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Tue, 8 Jul 2014 10:39:38 -0300
Subject: [PATCH 2/4] decoder/OpusDecoderPlugin: fix build failure due to
missing stdio.h include
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
src/decoder/OpusDecoderPlugin.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/decoder/OpusDecoderPlugin.cxx b/src/decoder/OpusDecoderPlugin.cxx
index f3d7b34..01ea368 100644
--- a/src/decoder/OpusDecoderPlugin.cxx
+++ b/src/decoder/OpusDecoderPlugin.cxx
@@ -40,6 +40,7 @@
#include <glib.h>
#include <string.h>
+#include <stdio.h>
static constexpr opus_int32 opus_sample_rate = 48000;
--
1.8.5.5