From 64c2c2eef8277357e7ccd6a1069fca8fa2580e7d Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 5 Oct 2022 09:30:10 +0200 Subject: app-emacs/mpg123-el: Include stdlib.h for exit(3) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/874954 Signed-off-by: Ulrich Müller --- app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch | 10 ++++++++++ app-emacs/mpg123-el/mpg123-el-1.61.ebuild | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch (limited to 'app-emacs') diff --git a/app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch b/app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch new file mode 100644 index 000000000000..467cd58f564f --- /dev/null +++ b/app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch @@ -0,0 +1,10 @@ +https://bugs.gentoo.org/874954 + +--- mpg123-el-1.61/id3put.c ++++ mpg123-el-1.61/id3put.c +@@ -1,4 +1,5 @@ + #include ++#include + #include + + #define INLEN 30 diff --git a/app-emacs/mpg123-el/mpg123-el-1.61.ebuild b/app-emacs/mpg123-el/mpg123-el-1.61.ebuild index 5be713b4ad46..77c5fde54e96 100644 --- a/app-emacs/mpg123-el/mpg123-el-1.61.ebuild +++ b/app-emacs/mpg123-el/mpg123-el-1.61.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,6 +16,7 @@ KEYWORDS="amd64 ppc x86" RDEPEND="media-sound/mpg123 media-sound/alsa-utils" +PATCHES=( "${FILESDIR}/${P}-stdlib.patch" ) SITEFILE="50${PN}-gentoo.el" src_compile() { -- cgit v1.2.3-65-gdbad