Skip to content

Commit

Permalink
media-sound/xmms2-scrobbler: fix gcc-7 build failure
Browse files Browse the repository at this point in the history
Add missing '<stdio.h>' include for fprintf().

Package-Manager: Portage-2.3.5, Repoman-2.3.2
  • Loading branch information
Sergei Trofimovich committed May 12, 2017
1 parent 51756b0 commit b6488c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 2 additions & 1 deletion media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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() {
Expand Down

0 comments on commit b6488c6

Please sign in to comment.