commit: 64c2c2eef8277357e7ccd6a1069fca8fa2580e7d Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Oct 5 07:30:10 2022 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Oct 5 07:30:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c2c2ee
app-emacs/mpg123-el: Include stdlib.h for exit(3) Closes: https://bugs.gentoo.org/874954 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> 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(-) 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 <stdio.h> ++#include <stdlib.h> + #include <string.h> + + #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() {