diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-05-13 00:23:59 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-05-13 00:23:59 +0100 |
commit | b6488c62a9152b802681ebed1e7af92c12bf43f9 (patch) | |
tree | 1a84488b9bea0c73b2922a7dc41fdee1b04713f1 /media-sound | |
parent | sys-block/sas3ircu: bump, includes new SRC_URI. (diff) | |
download | gentoo-b6488c62a9152b802681ebed1e7af92c12bf43f9.tar.gz gentoo-b6488c62a9152b802681ebed1e7af92c12bf43f9.tar.bz2 gentoo-b6488c62a9152b802681ebed1e7af92c12bf43f9.zip |
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
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-gcc-7.patch | 8 | ||||
-rw-r--r-- | media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild | 3 |
2 files changed, 10 insertions, 1 deletions
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 000000000000..383bb0596eb9 --- /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 524e5a21f248..3d8aaeaa2f9b 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() { |