commit: b6488c62a9152b802681ebed1e7af92c12bf43f9
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri May 12 23:23:59 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri May 12 23:23:59 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6488c62
media-sound/xmms2-scrobbler: fix gcc-7 build failure
Add missing '<stdio.h>' include for fprintf().
Package-Manager: Portage-2.3.5, Repoman-2.3.2
.../xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-gcc-7.patch | 8 ++++++++
media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git
a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-gcc-7.patch
b/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-gcc-7.patch
new file mode 100644
index 00000000000..383bb0596eb
--- /dev/null
+++ b/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-gcc-7.patch
@@ -0,0 +1,8 @@
+diff --git a/src/submission.c b/src/submission.c
+index 422db0a..326b003 100644
+--- a/src/submission.c
++++ b/src/submission.c
+@@ -24,2 +24,3 @@
+ #include <stdlib.h>
++#include <stdio.h>
+ #include "submission.h"
diff --git a/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild
b/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild
index 524e5a21f24..3d8aaeaa2f9 100644
--- a/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild
+++ b/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
@@ -22,6 +22,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-ldflags.patch
epatch "${FILESDIR}"/${P}-libs.patch
epatch "${FILESDIR}"/${P}-ld-order.patch
+ epatch "${FILESDIR}"/${P}-gcc-7.patch
}
src_compile() {